Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 @Anonymous ,
Use these measures:
First calculate the count:
Hi @Anonymous ,
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 @Anonymous ,
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.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |