Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Return value for blanks in Power BI Matrix

Dear Community,

 

I have created the below Power BI Matrix with filters to select the below financial years and using the Area of Law as rows and revenue as values.  I was hoping that if I created a measure such as: 

if(ISBLANK(maindata[Dax Revenue in AOL]), "--", maindata[Dax Revenue in AOL]) that the cells with blanks where there is no revenue would display -- rather than be empty but it didn't work as intended and I can't figure out why. Could you please let me know if there is a way to accomplish having the matrix return -- as a value for the cells that are blank where there is no revenue in that area of law for any given financial year?
 
Please let me know, thank you so much.

 

AndrewPanchal_0-1651109008889.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

3 REPLIES 3
Anonymous
Not applicable

Hi AndrewPanchal ,Column use date table:

jak11_0-1651111479236.png

jsaunders_zero9
Responsive Resident
Responsive Resident

Not quite what you asked for but if you add +0 to the end of the [Dax Revenue in AOL] it will return 0 instead of blank.

Tested your formula at my end and it works as you intended.

jsaunders_zero9_0-1651110295284.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors