Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I have a Date filter in the report where I'm selecting current month. I have a requirement where I will have to calculate a certain measure with a new filter value i.e. remove the current filter and reapply a new filter. I'm restricted to using a single filter in the report which is set to current month. I'm using the following DAX expression currently where my current filter is set to "January" and I'm trying to retrieve data for "December":
TechnicalEmpHeadcountProjection = CALCULATE([Technical Employee Headcount *], FILTER(ALL('Budgeting v_IncomeStatement'[PeriodFormatted].[Month]), 'Budgeting v_IncomeStatement'[PeriodFormatted].[Month]= "December"))
The above DAX expression doesn't seem to work. [PeriodFormatted] is my Date column. I'm also attaching a screenshot.
Kindly assist me with the DAX.
Regards,
RB
Solved! Go to Solution.
Hello,
I was able to use "ALL" and remove existing filter. Then apply new filter to this solved the issue. Took me some time to figure out the DAX. Listing the new DAX for reference.
thanks! just used this - helped hugely!!😀
Have you tried using REMOVEFILTERS() or a disconnected table to feed your slicer?
Hello,
I was able to use "ALL" and remove existing filter. Then apply new filter to this solved the issue. Took me some time to figure out the DAX. Listing the new DAX for reference.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
42 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
39 | |
33 | |
18 | |
17 |