Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello,
I want to have 0 in matrix insteand of empty place. I have tried several functions, however, it failed. Please see the matrix table:
I tries several functions:
Thank you:)
Solved! Go to Solution.
Hey @Erburi92 ,
the problem you are facing is based on the auto-exist behavior, read a detailed explanation here: Understanding DAX Auto-Exist - SQLBI
To overcome this problem you have to create a star schema creating dimension tables for the site and the month, then create relationships between the dimension tables and your FraudSite table (the fact table). Here you will find an introduction to data modeling with Power BI: Design a data model in Power BI - Learn | Microsoft Docs
You have to be aware that you also need to fill the blank values for the site in the FraudSite, e.g., not applicable. The value also has to be present in the dimension table.
Hopefully, this helps to tackle your challenge.
Regards,
Tom
Hey @Erburi92 ,
this measure:
SalesAmount Zero instead of blank =
var valueSalesAmount = CALCULATE( SUM( 'FactOnlineSales'[SalesAmount] ) )
return
IF( ISBLANK( valueSalesAmount )
, 0
, valueSalesAmount
)
return a 0 instead of blank value as you can see in the below picture:
Hopefully, this provides what you are looking for.
Regards,
Tom
Thank you, however, it does not work 😞 no zeros added
Hey @Erburi92 ,
create a pbix file that contains sample data, upload the pbix to onedrive, google drive, or dropbox and share the link.
Regards,
Tom
Hey @Erburi92 ,
it seems I have to install additional software to get the pbix file.
I will not do this.
Regards,
Tom
Please see link below:
https://www.dropbox.com/s/fon8izivqw8n062/example.pbix?dl=0
I hope this works
Please see link below:
https://www.dropbox.com/s/fon8izivqw8n062/example.pbix?dl=0
I hope this works
Hey @Erburi92 ,
the problem you are facing is based on the auto-exist behavior, read a detailed explanation here: Understanding DAX Auto-Exist - SQLBI
To overcome this problem you have to create a star schema creating dimension tables for the site and the month, then create relationships between the dimension tables and your FraudSite table (the fact table). Here you will find an introduction to data modeling with Power BI: Design a data model in Power BI - Learn | Microsoft Docs
You have to be aware that you also need to fill the blank values for the site in the FraudSite, e.g., not applicable. The value also has to be present in the dimension table.
Hopefully, this helps to tackle your challenge.
Regards,
Tom
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 80 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |