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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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