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
Anonymous
Not applicable

matrix

doubt.jpg
I Dont want to show data that dosent have any values.. when selected any of the above element from any matrix.
Eg. i have selected ws non feeder from channel and i only want data that is of ws non feeder and not the blank data.
"the mapping is correctly done".
@Ahmedx 

2 ACCEPTED SOLUTIONS
zenisekd
Super User
Super User

@Anonymous 
Hi, two options: 1) you will correct the measure %Total Sales, which gives a value to every line, which is the reason all lines are displayed or 2) you use a filter on every visual (in the left panel) and set that for a certain column, e.g. sales the value must not be blank, or greater than zero. 

View solution in original post

Ahmedx
Super User
Super User

If I understood you correctly, then you need to rewrite all the measures for example
if you have such a measure :m1 = SUM('table'[Value])
then you should rewrite it like this
m1 =
VAR _t1= SUM('table'[Value])
RETURN
IF(_t1,_t1)

 

this applies to all measures that are in the matrix

View solution in original post

2 REPLIES 2
Ahmedx
Super User
Super User

If I understood you correctly, then you need to rewrite all the measures for example
if you have such a measure :m1 = SUM('table'[Value])
then you should rewrite it like this
m1 =
VAR _t1= SUM('table'[Value])
RETURN
IF(_t1,_t1)

 

this applies to all measures that are in the matrix

zenisekd
Super User
Super User

@Anonymous 
Hi, two options: 1) you will correct the measure %Total Sales, which gives a value to every line, which is the reason all lines are displayed or 2) you use a filter on every visual (in the left panel) and set that for a certain column, e.g. sales the value must not be blank, or greater than zero. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.