Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
GrayGunn5
Frequent Visitor

Matrix visual tooltip to show values

I have a table of elements such as:

crossmatrix elements.jpg

Each person can have multiple categories. From this table I have managed to create a matrix like this:

crossmatrix.jpg

In order to achieve this (with help from this forum) I used the following Measure to aggregate the numbers:

 

Measure = if(VALUES(Classification[Classification])=VALUES(Classification_dup[Classification]),0,CALCULATE([People],CALCULATETABLE(SUMMARIZE(VALUES(Data[IdPerson]),Data[IdPerson]),ALL(Classification),USERELATIONSHIP(Data[Classification],Classification_dup[Classification]))))
 

I am now struggling with trying to create a tooltip that shows the Name (or ID) of the people in each cell, i.e. I want to create something that liiks like this:

 

crossmatrix tooltip.jpg

 

The mock up file is attached below:

 

https://www.dropbox.com/s/i2wrw6zowwjzxs0/Cross%20matrix%20example%20post.pbix?dl=0 

 

I would be very grateful for any help.

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

Try a CONCATENATEX iterator over your CALCULATETABLE (instead of using it as a filter) for the measure to use in the tooltip.

CONCATENATEX ( _SharedIds, "ID: " & Data[IdPerson] & UNICHAR ( 10 ) )

 

AlexisOlson_0-1666465975792.png

See attached.

View solution in original post

1 REPLY 1
AlexisOlson
Super User
Super User

Try a CONCATENATEX iterator over your CALCULATETABLE (instead of using it as a filter) for the measure to use in the tooltip.

CONCATENATEX ( _SharedIds, "ID: " & Data[IdPerson] & UNICHAR ( 10 ) )

 

AlexisOlson_0-1666465975792.png

See attached.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.