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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
netanel
Post Prodigy
Post Prodigy

Daily AVG Sum

Hello everyone!
I have a formula for calculating a daily average

 

Net USD average per Day =
AVERAGEX(
    KEEPFILTERS(VALUES('Date'[Date].[Day])),
    CALCULATE(SUM('Revenues DB'[Net USD]))
)
 
I try to do the same formula but without SUM because as soon as I rise to the level of the quarter or year the amounts is wrong







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
amitchandak
Super User
Super User

@netanel , Prefer to have date without timestamp and try a measure like

 


Net USD average per Day =
AVERAGEX(
VALUES('Date'[Date]),
CALCULATE(SUM('Revenues DB'[Net USD]))
)

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
VahidDM
Super User
Super User

Hi @netanel 

 

Try this:

Net USD average per Day =
VAR _A =
    SUMMARIZE( 'Date', 'Date'[Date], "NetUSD", SUM( 'Revenues DB'[Net USD] ) )
RETURN
    AVERAGEX( _A, [NetUSD] )

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

 

Appreciate your Kudos!!

 

amitchandak
Super User
Super User

@netanel , Prefer to have date without timestamp and try a measure like

 


Net USD average per Day =
AVERAGEX(
VALUES('Date'[Date]),
CALCULATE(SUM('Revenues DB'[Net USD]))
)

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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