Forum Discussion
DAX Measure to Average Terminations by Month
- Anonymous2 years ago
Hi, Decal
Thank you very much for your reply, as well as the sample data provided. Here's the sample data I used:
Here's your DAX expression:
Based on this, I built another DAX expression as shown in the following image:
Terminations = IF ( ISINSCOPE ( dimDate[Date].[Year] ), [Terminations (Dynamic)], SUMX ( ALLSELECTED ( 'dimDate'[Date].[Year] ), [Terminations (Dynamic)] ) )When I select the corresponding year in the slicer, total updates correctly:
I've provided the PBIX file used this time below.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This visual might help you assess what's going on. You can see the right assignment to the month name, but the total jumps way up at the bottom.