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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Jason_Jones_au
Regular Visitor

Report Tooltip displaying extra info connected to pivoted data.

hi there,

Complete PowerBI newbie, with a dataset (from SQL) with rows that contain date, an identifier (tagname) , tag value for that tagname for that date... and the more human readable tag description for those tagnames. For the report I pivoted so that we have column one is the date column followed by each of the tag descriptions (now displayed as columns) . This way operators have a row for each date for the important information.  To pivot, I had to remove the tagname column. Now from time to time the underlying tagname may change (in the SQL query that feeds the dataset). To make troubleshooting easier and because most operators know what the tagname means I thought, hey,  you hover over the particular value for a particular tag description column and Date row .. and the cool Report tooltip will show you the raw tagname that was used. The problem is the dataset no longer has the tagname column and I can't make a relation in the data model between my pivoted dataset and another table (that contains Tagname and Tag description) because I dont know how to relate based on the name of a column (each column is a tag, not a single column that contains a list of tags).  I see people unpivoting to then relate , guys in cubes  melting my brain with all the cool things that can be done.. but as yet no obvious way to achieve this .... help 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Jason_Jones_au,

You can refer to the following steps to achieve your requirements.
1. Write a measure formula to show the tag name based on current filter effects.

TagName = 
CALCULATE (
    CONCATENATEX ( VALUES ( 'Table'[Tag Name] ), [Tag Name], "," ),
    ALLSELECTED ( 'Table' ),
    VALUES ( 'Table'[Date] ),
    VALUES ( 'Table'[Tag description] )
)

2. Create a custom report tooltip page with card visual and above measure expressions.

Create report tooltip pages in Power BI - Power BI | Microsoft Learn

2.png3. Turn on the matrix tooltip option on the 'format' -> 'General' tab, choose the custom report tooltip page as tooltip.

1.png

Regards,

Xiaoxin Sheng

View solution in original post

5 REPLIES 5
lbendlin
Super User
Super User

None of this will help you if you use a visual that doesn't support tooltips.

 

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Anonymous
Not applicable

Hi @Jason_Jones_au,

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Data from a SQL query (dummy data)

 

Tag NameTag descriptionDateValue
T1temperature - celcius1970/01/0130.0
T2pressure - Kpa1970/01/01100.0
T3Reservoir % full1970/01/0190.0
T1temperature - celcius1970/01/0229.0
T2pressure - Kpa1970/01/02101.0
T3Reservoir % full1970/01/0291.0
T1temperature - celcius1970/01/0328.1
T2pressure - Kpa1970/01/0399.0
T3Reservoir % full1970/01/0392.0
T1temperature - celcius1970/01/0428.7
T2pressure - Kpa1970/01/04101.0
T3Reservoir % full1970/01/0493.0

 

pivoted to display 

 temperature - celciuspressure - KpaReservoir % full
1970/01/0130.0100.090.0
1970/01/0229.0101.091.0
1970/01/0328.199.092.0
1970/01/0428.7101.093.0

 

And the requirement is to display the actual Tag Name when hovering over the value cell. This way they can see that the temperature data uses T1 , which they can then query in a different system.  

Hope this helps explain the scenario

Anonymous
Not applicable

Hi @Jason_Jones_au,

You can refer to the following steps to achieve your requirements.
1. Write a measure formula to show the tag name based on current filter effects.

TagName = 
CALCULATE (
    CONCATENATEX ( VALUES ( 'Table'[Tag Name] ), [Tag Name], "," ),
    ALLSELECTED ( 'Table' ),
    VALUES ( 'Table'[Date] ),
    VALUES ( 'Table'[Tag description] )
)

2. Create a custom report tooltip page with card visual and above measure expressions.

Create report tooltip pages in Power BI - Power BI | Microsoft Learn

2.png3. Turn on the matrix tooltip option on the 'format' -> 'General' tab, choose the custom report tooltip page as tooltip.

1.png

Regards,

Xiaoxin Sheng

@Anonymous thank you for this, I was always wondering why I couldn't use tooltips in matrix visuals. Turns out I wasn't looking in the right spot.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors