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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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