How can I create a customized tooltip that includes measures that change dynamically based on the hovered data point

0 votes

How can I create a customized tooltip that includes measures that change dynamically based on the hovered data point?
I need to build a custom tooltip in Power BI that dynamically updates its content based on the data point being hovered over. The tooltip should display different measures or details depending on the selected category, value, or time period. What is the best approach using report page tooltips and DAX to ensure flexibility and responsiveness?

5 days ago in Power BI by Evanjalin
• 21,930 points
36 views

1 answer to this question.

0 votes

To make a customized tooltip that dynamically updates according to the hovered data point in Power BI, proceed as follows:

1. Create a Report Page for the Tooltip

In Power BI, create a new report page, and in the "Format Pane" under "Canvas Settings," set its Page Size as Tooltip. Turn on "Allow use as tooltip" in the page settings.

2. Add Dynamic Measures

Create DAX measures that change with the dataset that is hovered upon. For example, when a person needs category-wise, sales-wise, and timeframe-wise details:

SelectedCategory = SELECTEDVALUE('Sales'[Category], "No Category")  
SalesForCategory = CALCULATE(SUM('Sales'[SalesAmount]), ALLSELECTED('Sales'))  

Use SELECTEDVALUE if you want to represent fine details dynamically. Use ALLSELECTED with the calculation to maintain inheritance for report filters.

3. Develop the Tooltip Page

Add all visuals, such as cards, tables, or bar charts, with dynamic data made by the measures applied at the end of the page.

Keep the layout compact and readable.

4. Apply Tooltip to Your Visuals

Select the main report visual on which you want to show the tooltip. In the "Format" pane, expand "Tooltip" and set the "Type" to Report Page. Select the custom tooltip page you created.

answered 5 days ago by anonymous
• 21,930 points

Related Questions In Power BI

0 votes
1 answer

How can I create a multi-row card that dynamically adjusts based on the number of selected values?

To create a multi-row card in Power ...READ MORE

answered 6 days ago in Power BI by anonymous
• 21,930 points
52 views
0 votes
2 answers

How do I create custom tooltips that display different information based on the visual or data point in Power BI?

Custom tooltips: Create a report page dedicated to detailed information and link that to visuals. For ...READ MORE

answered Jan 23 in Power BI by anonymous
• 21,590 points
177 views
0 votes
1 answer

How can I create a function in Power Query that processes data differently based on a user-selected parameter?

The following steps outline the creation of ...READ MORE

answered Mar 17 in Power BI by anonymous
• 21,930 points
79 views
0 votes
1 answer

I need a scatter plot where the x-axis and y-axis dynamically change based on slicer selections—how can I achieve this?

Create a scatter plot that is going ...READ MORE

answered 6 days ago in Power BI by anonymous
• 21,930 points
44 views
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,556 views
+1 vote
1 answer

Unable to install connector for Power Bi and PostgreSQL

I think the problem is not at ...READ MORE

answered Aug 22, 2018 in Power BI by nirvana
• 3,130 points
2,890 views
+2 votes
2 answers

Migrate power bi collection to power bi embedded

I agree with Kalgi, this method is ...READ MORE

answered Oct 11, 2018 in Power BI by Hannah
• 18,520 points
1,672 views
+1 vote
1 answer

Connect power bi desktop to dataset and create custom reports

Open power bi report nd sign in ...READ MORE

answered Oct 10, 2023 in Power BI by Monika kale

edited Mar 5 1,832 views
0 votes
1 answer
0 votes
1 answer

How can I create a rolling calendar table that updates automatically based on the latest data in my fact table?

You can use either Power Query or ...READ MORE

answered Mar 13 in Power BI by anonymous
• 21,930 points
61 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP