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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

sum of average with slider

Hello everyone, i haven't been able to come up with the right DAX for a measure that helps me with following: i have a set of data that looks like:

 

DateLocationQuantity
01-Mar-22C110
02-Mar-22C112
01-Mar-22C214
02-Mar-22C220

 

and i would like to have a dashboard with 2 sliders (date, location) and a card that shows the sum of the average quantity like this:

 

eleon3_0-1649951288430.png

this is that when the slider selects multiple dates (Q1 in the example) and one location then it shows the average quantity in that location, when the slider selects multiple dates (Q1 in the example) and multiple locations  (C1 and C2) then the card shows the sum of the average quantity by location. 

 

any help is highly appreciated!

 

Thanks,

Edison 

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 

you may try

Sum of Average =
SUMX ( SUMMARIZE ( Table, Table[Locatin], Table[Date] ), [Average] )

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Anonymous 

you may try

Sum of Average =
SUMX ( SUMMARIZE ( Table, Table[Locatin], Table[Date] ), [Average] )

amitchandak
Super User
Super User

@Anonymous , Nor very clear, But interactions can help

 

How Interactions Work- Split Page using interactions to compare: https://youtu.be/GIfRKzhMaR4

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors