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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
nataliesmiy1357
Helper IV
Helper IV

Card change on filter

Good morning!  I have a page with a bunch of cards on it.  The cards are bringing in a measure called No Read Perc

 

No Read Perc = 1 - DIVIDE([No Read Count], [Total Number of Pallets],0)

 

When I filter the page, if there is no data for those cards, it's bringing the value in as 100%.... I am looking to see if I can make that default a "No Data".

 

Ex below) I have a filter on RFID 16, so all of the other cards should read "No Data" instead of 100%. 

nataliesmiy1357_0-1733233581481.png

Thanks in advance for your help

1 ACCEPTED SOLUTION
dharmendars007
Memorable Member
Memorable Member

Hello @nataliesmiy1357 , 

 

Adjusted Measure for "No Read Perc" like below

 

No Read Perc =
IF (ISBLANK([No Read Count]) || ISBLANK([Total Number of Pallets]),
BLANK(),
1 - DIVIDE([No Read Count], [Total Number of Pallets], 0))

Alternatively, you can try out the below measure as well to use text "No Data" in card.

No Read Perc =
IF (ISBLANK([No Read Count]) || ISBLANK([Total Number of Pallets]),
"No Data",
1 - DIVIDE([No Read Count], [Total Number of Pallets], 0))

If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

View solution in original post

3 REPLIES 3
dharmendars007
Memorable Member
Memorable Member

Hello @nataliesmiy1357 , 

 

Adjusted Measure for "No Read Perc" like below

 

No Read Perc =
IF (ISBLANK([No Read Count]) || ISBLANK([Total Number of Pallets]),
BLANK(),
1 - DIVIDE([No Read Count], [Total Number of Pallets], 0))

Alternatively, you can try out the below measure as well to use text "No Data" in card.

No Read Perc =
IF (ISBLANK([No Read Count]) || ISBLANK([Total Number of Pallets]),
"No Data",
1 - DIVIDE([No Read Count], [Total Number of Pallets], 0))

If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

Hi @dharmendars007 , i think the return value if condition satisfies should be "No data" instead of blank

 

No Read Perc =
IF (ISBLANK([No Read Count]) || ISBLANK([Total Number of Pallets]),
"No data",
1 - DIVIDE([No Read Count], [Total Number of Pallets], 0))

Yes We can try out the same also to pass text as "No Data"

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.