Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a table of elements such as:
Each person can have multiple categories. From this table I have managed to create a matrix like this:
In order to achieve this (with help from this forum) I used the following Measure to aggregate the numbers:
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:
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.
Solved! Go to Solution.
Hi @GrayGunn5 ,
I think you can try to create this measure to filter your visual in your tooltip page.
Filter =
VAR _C1 =
SELECTEDVALUE ( Classification[Classification] )
VAR _C2 =
SELECTEDVALUE ( Classification_dup[Classification] )
VAR _VALUES =
CALCULATETABLE (
VALUES ( Data[IdPerson] ),
FILTER ( ALL ( Data ), Data[Classification] = _C2 )
)
RETURN
IF ( _C1 = _C2, 0, IF ( MAX ( Data[IdPerson] ) IN _VALUES, 1, 0 ) )
Here I create a table visual by 'Data'[IdPerson] and keep all filters from 'Classification'[Classification].
Add this measure into visual level filter and set it to show items when value = 1.
Result is as below.
For more details: Create tooltips based on report pages
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @GrayGunn5 ,
I think you can try to create this measure to filter your visual in your tooltip page.
Filter =
VAR _C1 =
SELECTEDVALUE ( Classification[Classification] )
VAR _C2 =
SELECTEDVALUE ( Classification_dup[Classification] )
VAR _VALUES =
CALCULATETABLE (
VALUES ( Data[IdPerson] ),
FILTER ( ALL ( Data ), Data[Classification] = _C2 )
)
RETURN
IF ( _C1 = _C2, 0, IF ( MAX ( Data[IdPerson] ) IN _VALUES, 1, 0 ) )
Here I create a table visual by 'Data'[IdPerson] and keep all filters from 'Classification'[Classification].
Add this measure into visual level filter and set it to show items when value = 1.
Result is as below.
For more details: Create tooltips based on report pages
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Matrix visuals do not support custom tooltips. If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.powerbi.com
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
65 | |
51 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |