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

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.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.