Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
hi guys,
I have a weird scenario that I never encountered and I am seeking some precious help.
I am building a baseline for revenue caluclated under a specific timeframe (10/07/24-13/07/2024) and to do so I have build the following formula.
Solved! Go to Solution.
Hi @zanottiluca - create below measure to dynamically filter the products based on the user's selection.
tot revenue baseline =
CALCULATE(
SUMX(
FILTER(
ALL('Date'[Date]),
'Date'[Date] >= DATE(2023, 07, 10) &&
'Date'[Date] <= DATE(2024, 07, 13)
),
[Revenue]
),
KEEPFILTERS(VALUES('Products'[Product]))
)
Hope it helps.
Proud to be a Super User! | |
Hi,
I do not understand. If you are selecting dates in a slicer, then why are you specifying thoe dates in the filter argumet of the CALCULATE() function.
Hi @zanottiluca - create below measure to dynamically filter the products based on the user's selection.
tot revenue baseline =
CALCULATE(
SUMX(
FILTER(
ALL('Date'[Date]),
'Date'[Date] >= DATE(2023, 07, 10) &&
'Date'[Date] <= DATE(2024, 07, 13)
),
[Revenue]
),
KEEPFILTERS(VALUES('Products'[Product]))
)
Hope it helps.
Proud to be a Super User! | |
thanks @rajendraongole1 that worked indeed, quiet sure I tried KEEPFILTERS but not sure I used VALUES.
Amazing