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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
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.