Forum Discussion
Stacked Column Chart with PY and CY view
Hello Yingyinr
Here is my demo .pbix with an explanation of what Im trying to accomplish.
Please advise of any additional question.
Thank you for your time!
Regards,
https://drive.google.com/file/d/11bpKibDJiZE6w9E5ReSKGKyAfS0aicGL/view?usp=sharing
- Anonymous5 years agoNot applicable
Also, I forgot to mention, I can get it to work with a cluster column chart with the dynamic slicer at the top. I'm trying to enhance the view with a stacked column chart adding the Flag (Yes and No) by year 2020 vs 2021 in a stacked column chart. More details in the attached .pbix.
- Anonymous5 years agoNot applicable
Hi Anonymous ,
I can't download your file due to I have no proper permission... You can refer the method in the following link to share the file with me. Thank you.
Best Regards
- Anonymous5 years agoNot applicable
Hello yingyinr
Please try again.
Thank you
- Anonymous5 years agoNot applicable
Hi Anonymous ,
I updated your sample pbix file(see attachment), please check whether that is what you want.
1. Create a measure as below to get the sum value for prior year
Sum of usage quality for prior year = CALCULATE(SUM('PBIXDD2'[usage quantity]),SAMEPERIODLASTYEAR('Calendar'[Date]))2. Apply the above measure on Visual B to replace the original one
Best Regards