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 August 31st. Request your voucher.

Reply
lucie_raboch
Helper II
Helper II

% Difference from Total Average

Hi experts,

I need your help.

I would like to create a table below, metric = views, average views, total average views and difference from average.

lucie_raboch_0-1745504017057.png

This is my pbi file:

https://drive.google.com/file/d/15sJq2aL0X-t3745OiMW5ZfG1vzz_GGoT/view?usp=drive_link

 

I have tried so many measures, but It wasnt dynamic, in my original dashboard I have lots of slicers, I need to work together.

Thank you for your help

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Views = sum('metrics_bq'[Views])

Views_AVG = AVERAGEX(videos,[Views])

Total Average = CALCULATE(AVERAGEX(videos,[Views]),REMOVEFILTERS(videos[Episodes]))

Difference = [Views_AVG]-[Total Average]

 

lbendlin_0-1745506271190.png

 

Note: I cleaned up your data model a bit.

 

 

 

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Views = sum('metrics_bq'[Views])

Views_AVG = AVERAGEX(videos,[Views])

Total Average = CALCULATE(AVERAGEX(videos,[Views]),REMOVEFILTERS(videos[Episodes]))

Difference = [Views_AVG]-[Total Average]

 

lbendlin_0-1745506271190.png

 

Note: I cleaned up your data model a bit.

 

 

 

Amazing, it works perfect, thank you so much!!!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.