Forum Discussion
flunte70
8 years agoHelper I
Calculate Measure
Is there a place where I can find a description of the Syntax of the Functions?
I need to know how to have two filters in the same Calculate function?
Sum Total Kapaciteter = CALCULATE([Sum Total]; FILTER(Data;[Kapaciteter/omkostninger] = "Kapaciteter" ))
Sum Total Kapaciteter = CALCULATE([Sum Total]; FILTER(Data;[Gruppe] = "Hardware/Software" ))
Hi flunte70
Just make following statement
Sum Total Kapaciteter = CALCULATE([Sum Total]; Kapaciteter/omkostninger = "Kapaciteter" && Gruppe = "Hardware/Software")
Or
Sum Total Kapaciteter = CALCULATE([Sum Total]; Kapaciteter/omkostninger = "Kapaciteter" , Gruppe = "Hardware/Software")
You don't need the FILTER function inside the CALCULATION, and for the AND statement you use &&
1 Reply
- miltenburgerHelper V
Hi flunte70
Just make following statement
Sum Total Kapaciteter = CALCULATE([Sum Total]; Kapaciteter/omkostninger = "Kapaciteter" && Gruppe = "Hardware/Software")
Or
Sum Total Kapaciteter = CALCULATE([Sum Total]; Kapaciteter/omkostninger = "Kapaciteter" , Gruppe = "Hardware/Software")
You don't need the FILTER function inside the CALCULATION, and for the AND statement you use &&