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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Analitika
Post Prodigy
Post Prodigy

Calculate All not work

I have a date slicer which refer to Date[Date],

relations on 'Table'[Date] - Date[Date]

also i have measure 
CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
'Table',
'Table'[State] IN { "on", "edit" } &&
'Table'[Date] = blank()
),
ALL(Date[Date])
)

But it not working if date slicer is active,

Dont workDont work

if i delete date slicer it works

 

works without slicerworks without slicer

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Analitika 

it looks like its better to use ALL() inside FILTER statement like

CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
ALL(Date[Date]),
'Table'[State] IN { "on", "edit" } &&
'Table'[Date] = blank()
)

)

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

1 REPLY 1
az38
Community Champion
Community Champion

Hi @Analitika 

it looks like its better to use ALL() inside FILTER statement like

CALCULATE (
SUM ( 'Table'[Sum] ),
FILTER (
ALL(Date[Date]),
'Table'[State] IN { "on", "edit" } &&
'Table'[Date] = blank()
)

)

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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