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
M0n5ta09
Helper I
Helper I

Report Matrix - Tooltip for each value

Hi All,

 

I have a matrix visual in a report similar to this...

 Person01Person02Person03
01/01/2022DayOffNight
02/01/2022DayOffNight
03/01/2022NightDayOff
04/01/2022NightDayOff
05/01/2022OffNightOff
06/01/2022OffNightOff
07/01/2022OffOffDay
08/01/2022OffOffDay
09/01/2022DayOffNight
10/01/2022DayOffNight

 

...and data for a comments table like this, with a relationship between dates 

DateNameComment
01/01/2022Person01Do Something
01/01/2022Person02Do Another Thing
01/01/2022Person03Do Something Else
02/01/2022Person01Do Something
02/01/2022Person02Do Something Else
02/01/2022Person03Do Something
03/01/2022Person01Do Something
03/01/2022Person02Do Another Thing
03/01/2022Person03Do Another Thing

 

I have created a tooltip with a table and when I hover over a value, for example Person03 on 02/01/2022, I get everything for 02/01/2022, like this... 

02/01/2022Person01Do Something
02/01/2022Person02Do Something Else
02/01/2022Person03Do Something

 

Is it possible, so that it only shows the details for Person03?

 

Thank you in advance.

1 ACCEPTED SOLUTION

Thanks @amitchandak,

 

After numerous trials and errors, I've got it to work. Whether it's the best way, I don't know.

 

  • I added a merged column in both tables, merging the 'Date' and 'Name' columns.
  • Then created a relationship between both merged columns.
  • For asthetics, I removed the table in the Tooltip and used cards for the 'Date', 'Name' and 'Comment' columns.

Now when I hover over each value, it only shows me the comments for that Person on that Date. Which is what I needed.

 

Thanks again for your time!

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@M0n5ta09 , I doubt this can done based on column. But using transparent color can be an option like

 

example

BG color

IF(ISFILTERED(Table[ID]) && hasonevalue(Table[Person]) && max(Table[Person]) ="Person 3","White" ,"#FFFFFF00")

 

Font color

IF(ISFILTERED(Table[ID]) && hasonevalue(Table[Person]) && max(Table[Person]) ="Person 3","Black" ,"#FFFFFF00")

 

Use that in Page color, Table color (Background) using fx field value

and font using fx field value option

Thanks @amitchandak,

 

After numerous trials and errors, I've got it to work. Whether it's the best way, I don't know.

 

  • I added a merged column in both tables, merging the 'Date' and 'Name' columns.
  • Then created a relationship between both merged columns.
  • For asthetics, I removed the table in the Tooltip and used cards for the 'Date', 'Name' and 'Comment' columns.

Now when I hover over each value, it only shows me the comments for that Person on that Date. Which is what I needed.

 

Thanks again for your time!

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.