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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
Solution Sage
Solution Sage

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
Solution Sage
Solution Sage

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.