on 06-29-2015 9:43 AM
Hi Experts,
I have below table and from there i need to calculate count against two dimensions. I need to calculate count of Meas group by Ver.
Ver | Meas | Count |
---|---|---|
V1 | V1.1 | 2 |
V1.2 | 2 | |
V2 | V2.1 | 3 |
V2.2 | 3 | |
V2.3 | 3 | |
V3 | V3.1 | 1 |
I tried count(DISTINCT @Select(Mol Objective Kpi Data2\Meas)) but its give below result.
Ver | Meas | Count |
---|---|---|
V1 | V1.1 | 1 |
V1.2 | 1 | |
V2 | V2.1 | 1 |
V2.2 | 1 | |
V2.3 | 1 | |
V3 | V3.1 | 1 |
Please let me know which My SQL expression should i get for correct result.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On universe create measure object like
count_meas = count(meas)
Now In report level create separate query & drag object
Ver & count_meas (Query1)
I am assuming that in one of the query on webi you are fetching data for
ver , means (Query2)
Now on report level merge Ver object from both the queries & drag
merged Ver object , means (from query2) and count_meas (From query1)
I hope this will help you.
Thanks,
Swapnil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am not very sure how can you do in designer but in webi its easy.
=Count([Meas]) In ([Ver])
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.