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
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

Highlighted
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 Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (3,626)