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've a date column (PeriodFormatted) which I'm using as a filter for a report. Based on the selected month, I want to calculate value of a particular column for that YEAR to which the month belongs to. I'm using the following DAX expression for calculating value for the whole year:
Please refer to the attached screenshots for reference.
Regards,
RB
Solved! Go to Solution.
The answer realy depends on your data, but here are some solutions :
Using a KEEPFILTERS allows you to keep some of them.
Or maybe you can just remove the month filter ?
In that case it will be
Hi,
Not sure about your need, but if you want your measure to always show the total of the year, you can add a REMOVEFILTER functions, or an ALL...
For instance :
Is that of any help ?
Hello AilleryO,
Thanks a lot for the response. I would need to retain the "YEAR" filter though. Any suggestions what the DAX query should be?
Regards,
RB
The answer realy depends on your data, but here are some solutions :
Using a KEEPFILTERS allows you to keep some of them.
Or maybe you can just remove the month filter ?
In that case it will be
Hi AilleryO,
This worked. Thanks a lot :).
Regards,
RB
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 |
---|---|
96 | |
93 | |
83 | |
70 | |
65 |
User | Count |
---|---|
118 | |
106 | |
93 | |
79 | |
72 |