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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Sam_BI_Analyst
Frequent Visitor

Replacing Blanks with NA in Matrix Visual

Hello Community,

 

I have a matrix visual with blanks in the values. I don't have blanks in my data but they are getting generated because of matrix visual properties. I want to replace the blanks with "NA" based on a condition given below.

 

Matrix Visual - 

Sam_BI_Analyst_0-1721162116718.png

Condition - If the country = US then french column should be NA,

 

My Dataset - 

Sam_BI_Analyst_1-1721162231602.png

 

My rows and columns - 

Sam_BI_Analyst_2-1721162265050.png

Sam_BI_Analyst_3-1721162280578.png

 

Any help would be appreciated.

 

1 ACCEPTED SOLUTION
Sam_BI_Analyst
Frequent Visitor

Never Mind, I got the answer for my question by myself.

 

The solution i have is to divide my fact table to multiple tables and load it into matrix visual.

 

Sam_BI_Analyst_0-1721168327823.png

 

Create a new measure - 

sts =
IF(SELECTEDVALUE(subj[Subject])="French" && SELECTEDVALUE(cnt[Country])="US","NA",SELECTEDVALUE(Sheet1[Status]))
 
load the above measure into values section of matrix visual.
 
If someone have better solution, please feel free to drop it.

 

View solution in original post

1 REPLY 1
Sam_BI_Analyst
Frequent Visitor

Never Mind, I got the answer for my question by myself.

 

The solution i have is to divide my fact table to multiple tables and load it into matrix visual.

 

Sam_BI_Analyst_0-1721168327823.png

 

Create a new measure - 

sts =
IF(SELECTEDVALUE(subj[Subject])="French" && SELECTEDVALUE(cnt[Country])="US","NA",SELECTEDVALUE(Sheet1[Status]))
 
load the above measure into values section of matrix visual.
 
If someone have better solution, please feel free to drop it.

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.