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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Nithinbob24
Frequent Visitor

not able to fill the blank spaces in my matrix visual

Nithinbob24_0-1731902519246.png

 

my table columns are capamt, monthname, paymentmonth ,

i created a matrix visual of the uploaded image i.e in Rows field - monthname ,columns field - paymentmonth and for values i gave an dax expression
capamtmes = IF(ISBLANK(SUM(Query3[capamt])),0.0,SUM(Query3[capamt])) as the value but the blank spaces are not replced with 0.0 ,
i tried COALESCE(SUM(Query3[capamt]),0.0) but this is also fill the blank spaces ,any suggestions please let me know

2 ACCEPTED SOLUTIONS

Hi @Nithinbob24 
you can use a measure like :

test = sum('Main table'[capamt])+0
Ritaf1983_0-1731905443098.png

The pbix is attached

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

Did you download the PBIX?
And used the same model with 2 months's tables?

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

7 REPLIES 7
Kedar_Pande
Super User
Super User

@Nithinbob24 

Adjusted measure:

capamtmes = 
IF(
HASONEVALUE(Query3[monthname]) && HASONEVALUE(Query3[paymentmonth]),
COALESCE(SUM(Query3[capamt]), 0.0),
0.0
)

💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

Ritaf1983
Super User
Super User

Hi @Nithinbob24 

Please provide workable sample data . It is hard to figure out what you want to achieve from the description alone.  

https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

 

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

no i cant provide

 

Hi @Nithinbob24 
you can use a measure like :

test = sum('Main table'[capamt])+0
Ritaf1983_0-1731905443098.png

The pbix is attached

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

i tried this , but it did not work , thank you though for the reply

 

Did you download the PBIX?
And used the same model with 2 months's tables?

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

earlier i only used the measure, i did not see the model , it is working
Thank you so much for the help

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