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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors