Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 8 | |
| 8 |