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,
Please see below formula,It gives me the correct result but result display is not correct.
When below forumla condition does not meet it should display 0 in a current d rows but it is showing totally empty rows.CURRENT D column data type is decimal with currency format.
CURRENT D = IFERROR(CALCULATE(AVERAGE('MS'[Valid Price]),
FILTER(ALL('MS '[REGION]),'MS '[REGION]="AMERICAS"),
FILTER('MS ','MS '[Unique ]=RELATED('MS Supporting Column'[Pricing Id])),
FILTER('MS ','MS '[Contract Star]="Y"),
FILTER('MS ','MS '[Contract End]="N")),0)
Solved! Go to Solution.
Hey,
I'm not sure, what kind of error you try to catch, AVERAGE(..., ...) returns BLANK() if the application of the filter from the CALCULATE filter out all rows in the current FILTER context.
Maybe you should give ISBLANK() a try like so:
var thevalue = CALCULATE(<your CALCULATE(...)>) return IF(ISBLANK(thevalue), 0, thevalue)
If this does not help, maybe you can provide a pbix file with some sample data, upload the pbix to onedrive or dropbox and share the link.
Regards,
Tom
Hey,
I'm not sure, what kind of error you try to catch, AVERAGE(..., ...) returns BLANK() if the application of the filter from the CALCULATE filter out all rows in the current FILTER context.
Maybe you should give ISBLANK() a try like so:
var thevalue = CALCULATE(<your CALCULATE(...)>) return IF(ISBLANK(thevalue), 0, thevalue)
If this does not help, maybe you can provide a pbix file with some sample data, upload the pbix to onedrive or dropbox and share the link.
Regards,
Tom
Hi Tom,
Thank you so much it is working pefectly fine .
You can see the result below.
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 |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 62 | |
| 35 | |
| 34 | |
| 24 | |
| 24 |