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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Filter out column from matrix if leading value is blank

Hi,

 

How do I remove this column category from the matrix if a certain measure value is blank? In this case it will be Number 02 because the Sales $ CY is blank.

 

Thank you for any help!

 

 

Remove.png

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , If yo do want display value for 2 when Sales CY is blank. then you can use visual level filter Sales CY is not blank

 

or all the measures have to use it

 

Sale PY new = if([sales CY]<> Blank(), [Sales PY], blank())

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@amitchandak 

 

Thank you, that worked! 🙂

amitchandak
Super User
Super User

@Anonymous , If yo do want display value for 2 when Sales CY is blank. then you can use visual level filter Sales CY is not blank

 

or all the measures have to use it

 

Sale PY new = if([sales CY]<> Blank(), [Sales PY], blank())

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.