Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am doing a report where I would like to get the average for each day.
The issue I am facing is that there is multiple values on each day which is making the average much lower than expected.
The table contains one row per pause. First of all it needs to be sum of duration per day since it is multiple values each day.
Then I need to get an average per week (existing relatonship with a date table). When I am doing the average right now I am getting a very low average since it is calculating the average per row and not sum per day per membername.
Solved! Go to Solution.
Hi @Anonymous ,
Please refer to my pbix to see if it helps you.
The relationship between the tables.
Then create a measure.
Measure = CALCULATE(AVERAGE('Table'[DURATION_Seconds]),FILTER(ALL('Table'),'Table'[date]=SELECTEDVALUE('Table 2'[Date])))
Could you tell that you want to calculate Average per day or Average per week?
If I have misunderstood your meaning, please provide your desired output and your pbix file without privacy information.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please refer to my pbix to see if it helps you.
The relationship between the tables.
Then create a measure.
Measure = CALCULATE(AVERAGE('Table'[DURATION_Seconds]),FILTER(ALL('Table'),'Table'[date]=SELECTEDVALUE('Table 2'[Date])))
Could you tell that you want to calculate Average per day or Average per week?
If I have misunderstood your meaning, please provide your desired output and your pbix file without privacy information.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , A measure like this can do Sum on day level and Avg post that
averageX(values('Date'[Date]), calculate(Sum(Table[Duration])))
You can use this measure in WOW formula
refer if needed
Power BI — Week on Week and WTD
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-Last-Week/ba-p/1051123
https://www.youtube.com/watch?v=pnAesWxYgJ8
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |