This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
I have this measures:
Purchase Amount = SUM(Purchases[Amount])
Jobs Cnt3 (excl No purchase) =
CALCULATE(
COUNTROWS(Job),
FILTER(Purchases, CALCULATE([Purchase Amount]) >0)
)
and it returns:
I want the measure to return 0 because the sum of Purchases amount is 0.
I don't know why the it is not working.
appreciate your help.
I want t
Solved! Go to Solution.
Sorry for the late reply.
I figured it out, there was an issue with data, some of there figures were not 0, I had figures like 0.0000000005, so it was not exculding it.
Thanks for your feedback.
@veenashenolikar I understand it is returning the row count. what I want is to retrun the row count only for job numbers that have Purchases amount =0, the measure Purchases amount is from Purchases table that is joined to the Job table on Job Numbe column.
what I meant was to not count any Job Number that have Purchase Amount is 0.
Hi @Anonymous ,
Could you pls provide some sample data for test?
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
hi @Anonymous ,
The Jobs Cnt3 (excl No purchase) measure is returning the count of rows.. not sum of purchase amount.
Can you elaborate what exactly do you want Jobs Cnt3 (excl No purchase) measure to return?
Thanks,
Veena
Sorry for the late reply.
I figured it out, there was an issue with data, some of there figures were not 0, I had figures like 0.0000000005, so it was not exculding it.
Thanks for your feedback.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 45 | |
| 33 | |
| 24 | |
| 23 |