Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
netanel
Post Prodigy
Post Prodigy

Sum up all the days

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?








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki
1 ACCEPTED 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








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@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








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

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








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

I found my solution that consists of the following two formulas

Distinct = DISTINCTCOUNT ('Date' [Date])

Daily AVG = [Sum Net USD] / [Distinct]

Simple and correct








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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