cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
X19203659
Frequent Visitor

How to show card info when hover on card - Power BI Desktop

Hi team,

Is it possible to get select info when hovering on a card - ie. with below 2 cards, hover on red card show 1 employee name, hover on orange card show 4 employee names?

X19203659_0-1657301202717.png

I tried both 'blank button' using a measure and 'tooltips' and they didn't work.
With 'blank button' I can't find the correct formula returning list of employees in the measure.

With 'tooltips' I get full list of employees instead of just 1 or 4.

Grateful for any help with this?  Thanks in advance!

1 ACCEPTED SOLUTION

Hi @X19203659 ,

 

You have two Card visuals with different count formulas. So you will need two tooltip pages.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

3 REPLIES 3
X19203659
Frequent Visitor

Hi Jay,

 

Many thanks for you quick answer!

I succeeded by creating two tooltips (one for each card) - see below

X19203659_0-1657535072589.png

X19203659_1-1657536268233.png

 

 

I am a new Power BI user and have follow on query re above - if you could assist (sorry!)?

What I am trying to achieve is to show the employees per their year of retirement. 

In my table I have only 2 fields (employee name, retirement date).

Instead of creating 2 tooltips, is it possible to perform the same by creating only one tooltip and, if yes, do you mind to sharing a practical example?

Many thanks in advance for your support!

Guillaume 

Hi @X19203659 ,

 

You have two Card visuals with different count formulas. So you will need two tooltip pages.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
v-jayw-msft
Community Support
Community Support

Hi @X19203659 ,

 

You could create a table visual in tooltip page then create a measure to mark the corresponding records.

For example: 

count_measure = calculate(count(column1),column2=selectedvalue(column3))

mark_measure = if(selectedvalue(column2) = selectedvalue(column3),1,0)

Add the mark_measure to the table visual filter on tooltip page and set value =1.

Then use this tooltip page as the tooltip of the card visual.

Once select the slicer, the card visual will display the count of value based on count_measure. And the tooltip will show the filtered table visual on tooltip page based on the mark_measure.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors