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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Sugumaran31
Helper I
Helper I

How to Remove blank data in matrix table

How to Remove blank data in matrix table. I need only show the value please refer to the image below

 

Sugumaran31_0-1718610243122.png

 

1 ACCEPTED SOLUTION

@Sugumaran31  for sure.

so i think  in the return of the growth % measure , you could write something like this . 

 

 

growth % = 

 

var numerator = [growth] 

var denominator = [sales PYD]

return

switch ( 

true() ,

isblank( numerator) ,  blank() ,  divide ( numerator , denominator ) ) 

 

let me know if this helps. 

View solution in original post

4 REPLIES 4
rajendraongole1
Super User
Super User

Hi @Sugumaran31 - you can create a measure for Sales CYTD,Sales PYTD and growth as follows

SalesCYTD_NonBlank =
IF(
ISBLANK([Sales CYTD]),
BLANK(),
[Sales CYTD]
)

 

similarly

SalesPYTD_NonBlank =
IF(
ISBLANK([Sales PYTD]),
BLANK(),
[Sales PYTD]
)

 

and for growth too.once created the above measures for three fields, created a condition or flag with blank() or 1 for non blank metric

 

add the below measure in filter pane:

 

NonBlankMetrics =
IF(
ISBLANK([Sales CYTD]) && ISBLANK([Sales PYTD]) && ISBLANK([Growth]),
BLANK(),
1
)

 

In the Filters pane, drag the NonBlankMetrics measure to the Filters on this visual area.Set the filter condition to is not blank.

 

try the above approach and let know.

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Daniel29195
Super User
Super User

@Sugumaran31 

you have multiple approach 

you can filter from the filter pane on the visual level,  where the measure  growth is not blank () . 

 

another approach would be . 

using a switch( ) in the code of the growth %, 

and returning blank() if growth is blank() .

 

 

let me know if this helps. 

@Daniel29195 But the filter pane on the visual is not working how do I use the switch function can you give me an example

@Sugumaran31  for sure.

so i think  in the return of the growth % measure , you could write something like this . 

 

 

growth % = 

 

var numerator = [growth] 

var denominator = [sales PYD]

return

switch ( 

true() ,

isblank( numerator) ,  blank() ,  divide ( numerator , denominator ) ) 

 

let me know if this helps. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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