Forum Discussion
SWITCH function MTD / YTD applied to multiple measures
- Anonymous5 years ago
Hello amitchandak , thank you for your kind help but this is not exactly what I needed. I wanted to have a sales measure with MTD / YTD switch, that would apply to my visualisations that are including at the same time Sales TY, LY and TY vs LY. I managed to solve it. Thanks a lot!
Hi, Anonymous
Please check the below picture and the sample pbix file's link down below.
All measures are in the sample pbix file.
In this case, I suggest creating a separate table for a slicer, like the below picture.
https://www.dropbox.com/s/gl2m0y0zid9eohw/mb.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
- Anonymous5 years agoNot applicable
Hello Jihwan_Kim , thank you for your kind help but this is not exactly what I needed. I wanted to have a sales measure with MTD / YTD switch, that would apply to my visualisations that are including at the same time Sales TY, LY and TY vs LY. I managed to solve it. Thanks a lot!