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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Line graph with correct value with slicer

Hi I have a table like this:

NameDateTypeMilesHoursMiles Per Hour
AAA11/1/2021Actual895        17.80
AAA11/2/2021Actual1104        27.50
AAA11/3/2021Actual854        21.25
BBB11/1/2021Actual1224        30.50
BBB11/2/2021Actual814        20.25
BBB11/3/2021Actual977        13.86
CCC11/1/2021Actual1135        22.60
CCC11/2/2021Actual987        14.00
CCC11/3/2021Actual1267        18.00

 

Miles Per Hour is Calculated by Miles/ Hour

I'm creating a trend line, with Date on the X axis and Miles Per Hour on the Y axis with Name on the slicer

2.PNG

Capture.PNG

You see that the problem comes when I unclick all the slicer, I want the "Miles Per Hour" to be the total "Miles" across all "Names" divided by the total "Hours" across all "Names" within each "Date"

But here, it is adding up all the "Miles Per Hour" for each "Name" in that "Date".

 

Does anyone know how to solve this?

 

6 REPLIES 6
Anonymous
Not applicable

Hi I'm sorry, du you know how to share the file?

Cause I cna't find where

Hi, @Anonymous 

You can upload you sample file to cloud storage and then share the link.

 

Best Regards,
Community Support Team _ Eason

Anonymous
Not applicable

let me know wether this works

Hi, @Anonymous 

I don't have permission to access the file.

Can you check the type of  the Shareable link?

 

Best Regards,
Community Support Team _ Eason

 

v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

How did you create the trend line, add auxiliary lines in the ‘Analyze panel’ or create an additional measure?

Please share your sample file on the cloud for further research.

 

Best Regards,
Community Support Team _ Eason

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.