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,
I have a measure as below:
TotalDenied = CALCULATE(count(Query1[IsWithinBM]), Query1[IsWithinBM] = "N")
Whenever the value of TotalDenied > 0, it displays fine, but when the value is 0, the report shows blank. How can I make it display 0 instead? Please see the attached screenshot. Thank you!
Solved! Go to Solution.
Hi
A simple solution : Add +0 to your formula.
CALCULATE(count(Query1[IsWithinBM]), Query1[IsWithinBM] = "N") + 0
P.S: I got this idea few days back from a old post , dont remember exactly but i think it was Sean who posted this idea.
Thanks
Raj
Hi
A simple solution : Add +0 to your formula.
CALCULATE(count(Query1[IsWithinBM]), Query1[IsWithinBM] = "N") + 0
P.S: I got this idea few days back from a old post , dont remember exactly but i think it was Sean who posted this idea.
Thanks
Raj
Hi @ppgandhi11
I hope this below calculation will help you. And check the attached Pbix here
Create seperate measures
Cases = SUM(Table1[TotalCases])
Aproved = SUM(Table1[TotalApproved])
Total Denied 1 = var denied = SUM(Table1[Total Denied]) var aproved = [Aproved] return IF(ISBLANK([Aproved]),denied ,IF(ISBLANK(denied),0,denied))
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
27 |
User | Count |
---|---|
92 | |
50 | |
44 | |
40 | |
35 |