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
Anonymous
Not applicable

Card shows (Blank) with no selection, but need custom text

I am using the following code to show the drill down path of a visual, (i.e. Make, Model, Year)
The customer wants the card to show "No Filter Selected" when nothing is selected. I am using a card and it displays (Blank)

DRILL_PATH =
SELECTEDVALUE ( Table1[Make] )
& IF (
NOT ( ISBLANK ( SELECTEDVALUE ( Table2[Model] ) ) ),
" --> " & SELECTEDVALUE ( Table2[Model] )
)
& IF (
NOT ( ISBLANK ( SELECTEDVALUE ( Table3[Year] ) ) ),
" --> " & SELECTEDVALUE ( Table3[Year] )
)

 

How do I get the card to display the custome text, then follow the steps in the code?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , isfiltered can help

refer my video for more details https://www.youtube.com/watch?v=hXg3kRFSGjA

 

A new measure like

if(no(isfiltered ( Table1[Make])),"No Filter Selected" ,[Drill path])

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thank you, that worked perfectly!

amitchandak
Super User
Super User

@Anonymous , isfiltered can help

refer my video for more details https://www.youtube.com/watch?v=hXg3kRFSGjA

 

A new measure like

if(no(isfiltered ( Table1[Make])),"No Filter Selected" ,[Drill path])

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.

Top Solution Authors