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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

Hide Function

Hello All.
Can You give some advise how to hide blank text when there is no data in table, but when in that same time i am using a hide function.

Hide function Summary KPIs =
IF (
   ISFILTERED ('Accountflex Data'[Dealer ID and Name Filter])=TRUE(),"#000000","#FFFFFF00")

without selection
piotrgrendus87_0-1674241562926.png

with selection

piotrgrendus87_1-1674241652590.png

If there is data it works fine, but when there is no data a see something like this:

piotrgrendus87_2-1674241768818.png

Conditional formating for this viusal not allow me to add more then one field value

piotrgrendus87_3-1674241886238.png

 

Can You tell me how to fix this problem ?

Regards Piotr.

1 ACCEPTED SOLUTION
bolfri
Super User
Super User

Try this one:

 

Hide function Summary KPIs =
SWITCH(TRUE(),
ISBLANK([Your measure name]),"#FFFFFF00",
NOT(ISFILTERED ('Accountflex Data'[Dealer ID and Name Filter])),"#FFFFFF00",
"#000000")



 





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

Proud to be a Super User!




View solution in original post

1 REPLY 1
bolfri
Super User
Super User

Try this one:

 

Hide function Summary KPIs =
SWITCH(TRUE(),
ISBLANK([Your measure name]),"#FFFFFF00",
NOT(ISFILTERED ('Accountflex Data'[Dealer ID and Name Filter])),"#FFFFFF00",
"#000000")



 





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

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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