Hi guys,
Data is stored in below formats but I have to count at summary 2 level if units>0.
Raw data | |||
Code | Units | ||
AP50002862105 | 1 | ||
AP50002862105 | -1 | ||
AP52001160899 | 3 | ||
BI80000160943 | 6 | ||
I have to count at Code level if units>0 | |||
Code | Units | final output | |
AP50002862105 | 0 | 0 | |
AP52001160899 | 3 | 1 | |
BI80000160943 | 6 | 1 | |
2 |
Please suggest. Thanks a lots.
@Tanushree_Kapse @amitchandak @Greg
Solved! Go to Solution.
Hi @shankarshiva70 ,
Use these measures:
First calculate the count:
Hi @shankarshiva70 ,
Please find the Screenshot:
Thanks for reply.
I have to count >0 units not >1 units.
I have applied the logic already as you mentioned but when I check at code level it is counting where units is 0 as well . like in table 2. first code having units 0 idealy count should not happen at that row.
please check
Hi @shankarshiva70 ,
Use these measures:
First calculate the count:
Thanks a lot Tanu,
You are super excellent. Salut you. Thank you so much for such a great support.
Always a pleasure!😊
Now I got what I was looking for.
Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.
User | Count |
---|---|
104 | |
68 | |
42 | |
40 | |
38 |
User | Count |
---|---|
108 | |
56 | |
54 | |
48 | |
40 |