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

Populate Matrix Blank Fields with Values

Hello,

 

Is there a way to populate blank fields in a matrix with a value such as 0 if there is no data?  In the matrix I am working on below, there are carriers that have no data for either 2022 or 2023 as you can see below and the fields are blank.  If possible I would like those blank fields to be populated with a 0 if blank but I can't seem to figure it out and it seems to because there is no data for those years.  Any help would be appreciated.

 

Thanks,

Tim

 

TSTUTZMAN_0-1702616681356.png

 

1 ACCEPTED SOLUTION

Hi @Anonymous 
You can also try :
if (isblank(measure), 0, measure))

or
refer to the linked video:
https://www.youtube.com/watch?v=_cT9PB72fu8

or share a link to dummy pbix without sensitive data to work with.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

Does this measure work?

Measure = coalesce([your measure],0)


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @Ritaf1983 .  I tried that already and it didn't work.  I still get blank fields.  Any other thoughts?

Hi @Anonymous 
You can also try :
if (isblank(measure), 0, measure))

or
refer to the linked video:
https://www.youtube.com/watch?v=_cT9PB72fu8

or share a link to dummy pbix without sensitive data to work with.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Ritaf1983
Super User
Super User

Hi @Anonymous 
You can add 0 to your measure ( measure = abc+0)

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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