tooltip
7 TopicsData Definition Tooltip
Hey everyone, hope you're all doing well! I'm working on a technical task and I'd really appreciate your help and insights. My goal is to create a dynamic glossary for a data report that will be utilized within the tooltip. I've built a measure that checks if a specific field from 'table a' is currently selected in a visual using ISINSCOPE(). If it is, the measure returns TRUE. Then, I use an IF statement to take that column's name and use LOOKUPVALUE() to get its definition from another table, 'table b'. Here's an example of the DAX code I'm using. I've applied this iteratively for each column: VAR ActiveColumnListRaw = IF( ISINSCOPE('table a'[column 1]), LOOKUPVALUE('table b'[definition], 'table b'[Field], "column 1", "Definition Not Found") & UNICHAR(10) & UNICHAR(10), "" ) VAR FinalFormattedList = IF( LEN(ActiveColumnListRaw) > 0 LEFT(ActiveColumnListRaw, LEN(ActiveColumnListRaw) - 2), //remove the last two unichar(10) BLANK() ) RETURN IF( LEN(TRIM(FinalFormattedList)) = 0, "No Listed Column In Scope", FinalFormattedList Just a quick note: I'm using CHAR(10) to handle cases where multiple fields are selected. Also, I'm working with a live data connection, so I can't add any new calculated fields or tables. The measure works great until I use one of these fields on the y-axis of a visual, like a clustered column chart. When the data is aggregated, the ISINSCOPE() function stops working. This is where I'm stuck. I have two main questions for you all: Would using CONTAINSSTRING() to check for the column name within ISINSCOPE() solve this issue? If that approach doesn't work, what are some other solutions I could try? Thanks a ton in advance for your help!Solved1.1KViews0likes3CommentsCustomizing tool tip for table value
Hello! Upon reading the forum and watching many tutorial videos, I haven't seen any examples for tool tips related to table filtering. I would like to hover over a table value, and have a tool tip to display information tied to that specific value. Currently, I have a tool tip page, tool tips turned on for the page and tool tip table but when I hover over the value on my main page, it shows the entire tool tip page rather than filtering the table based on what value I am hovering over. Given the example below, if I hover over '1', I'd like for the tool tip to only display '1''s from column 1 and the corresponding column 2 values. Main page Column 1 1 2 3 4 Tool tip page Column 1 Column 2 1 89 1 93 1 46 1 57 2 65 2 89 3 93 3 46 4 57 4 65 Desired outcome Tool Tip Page Column 2 1 89 1 93 1 46 1 57Solved3.8KViews0likes6CommentsChange tooltip message based on measure being hovered over in a matrix
Hi, I am trying to get my tooltip value to display a custom value for each unique measure in the "Values" field in my Matrix visual. For example, I have the below fields in my visual. When I hover over a value in my matrix, I want a custom message to pop up based on the measure I have hovered over. Example: When I hover over a value associated with the "Calendar Month Settlement" measure below I want it to show "1" and if I hover over a value associated with the "WTI CMA" measure in the matrix I want it to show "2" etc. So I want my custom message to show up based on the measure I am hovering over. Is there a way I can write this in DAX?496Views0likes1CommentNeed to pass date value to tooltip but not all visual in tooltip
Hi, This is my first post. I'm working on Tableau to Power BI migration. I have a scenario where we have a line graph and when we hover on any month, it will show a tooltip with full sales trend and value of that sales value for that particular month. I createded the tooltip but if i turn on the tooltip "filter all values", the trend shows only one month of data which I'm hovering. But if if I turn off "Filter all values" Im getting proper trend Data but for that selected month is not populating data. If I keep "Filter all" then I get only hoveringm onth trend and sales on card. If I turn off "Filter All", I get the trend, but the month's sales is aggregated to all months, not the one I'm overing on the line. Requirement is to show the hovering month's sale on the card and show full sales trend. Im new to power bi, please help any solution. Thanks in advance, Regards, RintoSolved2.8KViews0likes6CommentsConditional formatting tooltip title & tooltip not properly working
Hi, I have 2 pages, a report page and a tooltip page. In the report, there is a table of KPI items whose tooltips are enabled and display the trend chart performance of the KPI items. I have 2022 and 2023 data with unique codes (each year is different). I have a problem, on the report page there is a year slicer, when I select any year, when in the third item of the KPI, the tooltip displays data for the entire year (2022-2023) when it should be displayed only the third item in the selected year. Is there any idea to solve this problem? For the title tooltip, the dax looks like this: RiskTitle = IF(HASONEVALUE(Risk_Event[Code]), FIRSTNONBLANK(Risk_Event[Risk Event], ""), """Please Check on Risk Event below ..""")1.2KViews0likes3CommentsMatrix visual tooltip to show values
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: 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: 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.Solved742Views0likes1CommentDynamic Date measure for custom tooltip when Drilling up or Expanding
I am creating a custom tooltip for a line chart. Users can Drill up or Expand to the next level in the date hierarchy (Year - Quarter - Month). In the tooltip, I'd like to write a measure to display the Year only when viewing on 'year' level, Year and Quarter only when viewing on 'quarter' level , Year and Quarter and Month name on 'month' level. Or any other alternatives. Currently I'm placing textboxes "Year","Quarter","Month" next to respective card visuals (using SELECTEDVALUE()); but a. it's difficult to align them nicely and b. when you're on the 'year' level, the quarter and month cards are blanks, while the texts "Quarter" & "Month" are still there.861Views0likes1Comment