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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
subhendude
Microsoft Employee
Microsoft Employee

Line chart in the report page tooltip

I have a dataset where I'm storing the response and latency of the APIs like

subhendude_0-1678729221440.png

Now I've used a matrux table to pivot the data and able to do so

subhendude_1-1678729265190.png

After that I would like to display a line chart with the latency trend for last few days in a tooltip. So I used a report page tooltip. I was able to show the report in the tooltip but it always show a single data value in the line chart and not the trend with few past dates.

Can anyone please help how to show a line chart and formulate the dataset for the line chart report with the filtered data while hovering over the cell in the matrix table?

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @subhendude ,

 

Here I suggest you to create an unrelated date table to help you create a line chart.

Measure = 
IF(MAX('DimDate'[Date]) <= MAX('Table'[Date]),CALCULATE(AVERAGE('Table'[Latency])+0,FILTER('Table','Table'[Date] = MAX(DimDate[Date]))))

Result is as below.

RicoZhou_0-1678868075606.png

 

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.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @subhendude ,

 

Here I suggest you to create an unrelated date table to help you create a line chart.

Measure = 
IF(MAX('DimDate'[Date]) <= MAX('Table'[Date]),CALCULATE(AVERAGE('Table'[Latency])+0,FILTER('Table','Table'[Date] = MAX(DimDate[Date]))))

Result is as below.

RicoZhou_0-1678868075606.png

 

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.

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.