cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
cworkman2015 Frequent Visitor
Frequent Visitor

Calculating Total Average ignoring visuals dimensions

Hello,


I'm trying to calculate the total average of sales units across a dimension in a matrix. Here is my current formula: 

 
Sales Avg Sum = averagex(ALL('Reports DM_STORE'[Store Number]),[Sales Units])
The formula is returning the correct value in the Total line, but I'd like that Total value to be across every record in the the visual.
example Store 25, 24, 16, etc. all have a Sales Avg Sum of 29,094.64
 
Any help would be appreciated!
 

sales units matrix.JPG
1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Calculating Total Average ignoring visuals dimensions

Hi @cworkman2015 

 

Try the below

Sales Avg Sum = 
AVERAGEX( 
    ALL( 'Reports DM_STORE'[Store Number], 'Reports DM_STORE'[Store] ), -- OR ALL( 'Reports DM_STORE' ) 
    [Sales Units] 
)
Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski



Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski

 

View solution in original post

2 REPLIES 2
kentyler Established Member
Established Member

Re: Calculating Total Average ignoring visuals dimensions

Have you tried just 

Sales Avg Sum = average('Reports DM_STORE'[Sales Units])

That should average all the numbers of Sales Units. 

Super User
Super User

Re: Calculating Total Average ignoring visuals dimensions

Hi @cworkman2015 

 

Try the below

Sales Avg Sum = 
AVERAGEX( 
    ALL( 'Reports DM_STORE'[Store Number], 'Reports DM_STORE'[Store] ), -- OR ALL( 'Reports DM_STORE' ) 
    [Sales Units] 
)
Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski



Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski

 

View solution in original post

Helpful resources

Announcements
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 321 members 2,980 guests
Please welcome our newest community members: