Forum Discussion
Power BI tooltips
Hi,
I have a matrix in Power BI and am trying to get custom tooltips for each row to show a different definition. Is this possible?
e.g. I have the below table. For all rows in Measure 1 I want to show definition 1 as the tooltip.
For all rows in Measure 2 I want to show definition 2 as the tooltip.
| Product 1 | Product 2 | Product 3 | |
| Measure 1 | 3 | 4 | 5 |
| Measure 2 | 2 | 5 | 6 |
| Measure 3 | 9 | 8 | 2 |
Thanks,
- Anonymous2 years ago
Hi Anand24 , Greg_Deckler , thank you for your quick replies, I'll add further .
Hi skl2023 ,
Please follow these steps:
1.Create a new tooltip page and place a card visual object.
2.Use the following DAX expression to create a measure
Measure = VAR _a = SELECTEDVALUE('Table'[Type]) VAR _b = SWITCH(TRUE(), _a = "Measure 1",1, //Replace the definitions you need _a = "Measure 2",2, _a = "Measure 3",3) RETURN _b3.Setting up a tooltip page for the matrix
4.Final output
3 Replies
- AnonymousNot applicable
Hi Anand24 , Greg_Deckler , thank you for your quick replies, I'll add further .
Hi skl2023 ,
Please follow these steps:
1.Create a new tooltip page and place a card visual object.
2.Use the following DAX expression to create a measure
Measure = VAR _a = SELECTEDVALUE('Table'[Type]) VAR _b = SWITCH(TRUE(), _a = "Measure 1",1, //Replace the definitions you need _a = "Measure 2",2, _a = "Measure 3",3) RETURN _b3.Setting up a tooltip page for the matrix
4.Final output
- Greg_DecklerCommunity Champion
skl2023 That should be possible by placing the appropriate measure in the tooltip fields for each tooltip page. That said, not sure I am following exactly what you are trying to do.