Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
HI All!
I have a Stacked column chart that Sum up all the days when i do drill up to month, and I want it to remain a daily average
I want the daily average in both months and quarters and yearly
But at every stage I go up in the drill he just sums it all up
What to do?
Solved! Go to Solution.
I found my solution that consists of the following two formulas
Distinct = DISTINCTCOUNT ('Date' [Date])
Daily AVG = [Sum Net USD] / [Distinct]
Simple and correct
@netanel ,
Daily Avg = AverageX(Values('Date'[Date]), Calculate(Sum(Table[Value])))
All level above day it will be sum. Date table used.
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
I did not understand you,
I do not want there to be a sum
I want it to remain average both month and quarter and year
Please can anyone help?
How do you calculate a daily average for a quarter and a year as well?
That is, a quarter divided by the number of days
What is happening now is that the quarter has summed up the sums of all the months it contains
I found my solution that consists of the following two formulas
Distinct = DISTINCTCOUNT ('Date' [Date])
Daily AVG = [Sum Net USD] / [Distinct]
Simple and correct
User | Count |
---|---|
93 | |
84 | |
78 | |
75 | |
66 |
User | Count |
---|---|
115 | |
105 | |
93 | |
65 | |
60 |