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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ninast_
Advocate I
Advocate I

Remove blank values in Rows

Hey, 

I have the following table:

ninast__0-1710858053566.png

Where "Single seat", "2-4 seats", "5-9 seats" and "10+ seats" is a Segment column added in Rows, the month-year added as a Column and all the others are Measures values, which are switched to be visualized in rows instead of columns. 

ninast__1-1710858237686.pngninast__2-1710858269844.png

 

My question is the following - how can I remove the rows with no values? For example: 
Measure Upselled Y (per Segment) to 5-9 seats we need to keep under Single Seat Segment and 2-4 Seats Segment, but remove from 5-9 Seats Segment and 10+ Seats Segments sections. 

Thanks! 


1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ninast_ 

After testing, it cannot remove the blank value, because when you close the 'swotch value to rows', you will find that The [Upselled Y (per Segment) to 5-9 seats] measure has no value in the '5-9' and '10+' groups, but it has a value in other groups, and they are in the same column, so they can't be removed.

vxinruzhumsft_0-1710913884190.png

If you want to remove the blank value, you need to consider to create a new table called MeasureType then put them to the row under the segment in the matrix

e.g 

vxinruzhumsft_1-1710915908496.png

vxinruzhumsft_2-1710916000324.png

2.Create a measure

 

 

Measure_type =
SWITCH (
    SELECTEDVALUE ( 'MeasureType'[MeasureID] ),
    1, [Beginning Logos Y],
    2, [Churn Logos Y],
    3, [Upsell Logos Y]
)

 

 

3.Crete a new measure

 

 

Final_measure =
SUMX ( VALUES ( 'MeasureType'[MeasureNames] ), [Measure_type] )

 

 

Then put the final_measure to the value field of the matrix visual.

 

 

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @ninast_ 

After testing, it cannot remove the blank value, because when you close the 'swotch value to rows', you will find that The [Upselled Y (per Segment) to 5-9 seats] measure has no value in the '5-9' and '10+' groups, but it has a value in other groups, and they are in the same column, so they can't be removed.

vxinruzhumsft_0-1710913884190.png

If you want to remove the blank value, you need to consider to create a new table called MeasureType then put them to the row under the segment in the matrix

e.g 

vxinruzhumsft_1-1710915908496.png

vxinruzhumsft_2-1710916000324.png

2.Create a measure

 

 

Measure_type =
SWITCH (
    SELECTEDVALUE ( 'MeasureType'[MeasureID] ),
    1, [Beginning Logos Y],
    2, [Churn Logos Y],
    3, [Upsell Logos Y]
)

 

 

3.Crete a new measure

 

 

Final_measure =
SUMX ( VALUES ( 'MeasureType'[MeasureNames] ), [Measure_type] )

 

 

Then put the final_measure to the value field of the matrix visual.

 

 

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks! It worked even without the final measure 🙂 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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