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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jussiwaisto
Helper I
Helper I

Sum total with date slider?

Hi, 

 

what kind of measure do I need, if I want to SUM € values by using Date slider?

 

Screen Shot 2019-10-07 at 13.01.17.png

Screen Shot 2019-10-07 at 11.44.24.png

If I use this kind of measure, bit it SUM's ALL data together and date slider won't work at all.

 

Measure =
CALCULATE(
SUM(Table[€](;
ALL(Table))

 

This gives result 3600 but it should be 600 (because of January).

 

What should I add there?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

The formula you are using is for GT across. Either remove all(table1)

 

Measure =
CALCULATE(
SUM(Table[€])

Or use ALL EXCEPT

 

https://docs.microsoft.com/en-us/dax/allexcept-function-dax

 

Measure =
CALCULATE(
SUM(Table[€](;
allexcept(Table[date]))

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
Thanks.

 

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

The formula you are using is for GT across. Either remove all(table1)

 

Measure =
CALCULATE(
SUM(Table[€])

Or use ALL EXCEPT

 

https://docs.microsoft.com/en-us/dax/allexcept-function-dax

 

Measure =
CALCULATE(
SUM(Table[€](;
allexcept(Table[date]))

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
Thanks.

 

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

Exactly! Thanks you very much!!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors