cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
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
New Ranks and Rank Icons in 2020

New Ranks and Rank Icons in 2020

Read the announcement for more information!

New Kudos Given Badges Coming

New Kudos Given Badges Coming

We're rolling out new Kudos Given badges. Find out how many Kudos you've given.

November 2019 Community Highlights

November 2019 Community Highlights

Get an overview of the events and great community content from November.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)