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.
Average Parts per Day =
AVERAGEX(
KEEPFILTERS(VALUES('UGUExports'[Occured].[Day])),
CALCULATE(COUNTA('UGUExports'[Part]))
)
The above formula is a quick measure I use to calculate the average parts per day submitted to my database. This formula works fine, but when I manually calculate the average parts submitted per day I get a value off by 8 parts per day.
What I think is happening is that the above formula is calculating the average based on the dates listed in the [occured] column. What I need is it to calculate the average based on all days between firstdate[occured] and lastdate[occured].
Basically, I need the formula to account for days in between submission dates too.
Can someone help with creating a formula to accomplish this? I am new to Power Bi and would really appreciate the guidence.
Thanks in advance.
Solved! Go to Solution.
Just incase anyone else has this same question I found a easy work around. I dont know I didnt try this sooner actually.
Just incase anyone else has this same question I found a easy work around. I dont know I didnt try this sooner actually.
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |