Forum Discussion
Delete explicit filter and apply new filter (date)
Hello everyone,
I have a model made up of a table of dates starting in 2020. It's associated with a fact table from which I've created measures (e.g. sales sums).
The visualization I'm using contains slicers (explicit filters) that filter the year and month of my date dimension table (e.g. June 2023).
I'd like to modify the context to apply a date filter starting in 2021, i.e. display the sum of sales since 01/01/2021.
The ALL function retrieves all dates since 2020, but I can't create the second step, which is to apply the 2nd filter to sum sales from 2021 to today. SalesSince2021 = calculate(sales, all(dates), .....?)
Thanks for your help!
3 Replies
- ThejeswarSuper User
gregomex ,
You can switch of the interaction between the Slicer and the Particular visual where you are using this meason and want to see data starting 2021.
This can be done using the Edit Interaction option.
Please go through the below link that gives info about Edit Interaction option and how you can use it
Change how visuals interact in a report - Power BI | Microsoft Learn
Regards,