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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.