cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jstern1 Frequent Visitor
Frequent Visitor

Want Title Card to Not Display Anything If no Data is Selected

Hi everyone,

 

I have a title card set up that displays the selected client name from my dataset. However, if no client is selected, the title card will still show the first client name at the top of my data. I'd like it so the title card doesn't show anything if nothing has been selected; or at least display a more general tag rather than the first client name. 

 

Any tips on how to get that done? Thanks!

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Want Title Card to Not Display Anything If no Data is Selected

Hi @jstern1 

 

We can create a measure like below to get the the result as you excepted.

 

card = IF(ISFILTERED([Sales Person]) ,FIRSTNONBLANK([Sales Person], [Sales Person]),BLANK())
 
Below are the screenshots of how i did it. 
Without using Measure.JPG

I haven't selected anything in the slicer so the card visual showing blank value.

 

Once i select the any value in slicer it got changed.

measure.JPG

I hope this works for you. 

 

View solution in original post

Re: Want Title Card to Not Display Anything If no Data is Selected

Replace Blank with Client Information.

 

card = IF(ISFILTERED([Sales Person]) ,FIRSTNONBLANK([Sales Person], [Sales Person]),"Client Information")

View solution in original post

7 REPLIES 7
hthota Member
Member

Re: Want Title Card to Not Display Anything If no Data is Selected

Create the Measure as given below and place it in Card.

Card = IF(HASONEFILTER(TableName[ColumnName]),VALUES(TableName[ColumnName]),"")

Re: Want Title Card to Not Display Anything If no Data is Selected

Hi @jstern1 

 

We can create a measure like below to get the the result as you excepted.

 

card = IF(ISFILTERED([Sales Person]) ,FIRSTNONBLANK([Sales Person], [Sales Person]),BLANK())
 
Below are the screenshots of how i did it. 
Without using Measure.JPG

I haven't selected anything in the slicer so the card visual showing blank value.

 

Once i select the any value in slicer it got changed.

measure.JPG

I hope this works for you. 

 

View solution in original post

jstern1 Frequent Visitor
Frequent Visitor

Re: Want Title Card to Not Display Anything If no Data is Selected

Yep, exactly what I was looking for, thanks!

jstern1 Frequent Visitor
Frequent Visitor

Re: Want Title Card to Not Display Anything If no Data is Selected

I have one more question if you may know the solution. Is there a way to replace the actual word "Blank" to display a general title tag such as "Client Information".

Thanks Again for your help! 🙂 

 

Capture.PNG

hthota Member
Member

Re: Want Title Card to Not Display Anything If no Data is Selected

I hope this measure would help you for this.

 

Card = IF(HASONEFILTER(TableName[ColumnName]),VALUES(TableName[ColumnName]),"")

Re: Want Title Card to Not Display Anything If no Data is Selected

Replace Blank with Client Information.

 

card = IF(ISFILTERED([Sales Person]) ,FIRSTNONBLANK([Sales Person], [Sales Person]),"Client Information")

View solution in original post

jstern1 Frequent Visitor
Frequent Visitor

Re: Want Title Card to Not Display Anything If no Data is Selected

Yep, that works. Thanks Paruchuri! And thank you for your help as well hthota. 

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 6 members 1,042 guests
Please welcome our newest community members: