The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
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
Solved! Go to Solution.
Views = sum('metrics_bq'[Views])
Views_AVG = AVERAGEX(videos,[Views])
Total Average = CALCULATE(AVERAGEX(videos,[Views]),REMOVEFILTERS(videos[Episodes]))
Difference = [Views_AVG]-[Total Average]
Note: I cleaned up your data model a bit.
Amazing, it works perfect, thank you so much!!!
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
11 | |
7 |