Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
PBI-Curious
Resolver I
Resolver I

Water Fall Chart - changing Current Year and Prior Year Sort Order - Includes video and demo .pbix

Hello PBI Community Good Day

 

What I'm trying to accomplish:

 

Video and Demo .PBIX see below.

 

https://vimeo.com/639297130/805a3674cb

 

https://drive.google.com/file/d/1CPXYQW-9yjAn0uQCKV3js0JhlwZiVJJm/view?usp=sharing

 

 

Regards,

1 REPLY 1
Anonymous
Not applicable

@PBI-Curious 


Due to security reason, it is not recommended to share you entire working pbix. You may create a sample pbix tables without sensitive data and include only the required tables and dax. This helps community users to understand your situation, throw an whole pbix model is unlike to get responses.

 

However, I had a quick look to the pbix, if you add the product column in the table to check measure value. You can see that both tables return the same result. This is because you used the CalcID and CompID as the conditions in the SWITCH functions but they cannot be included in the visual, you probably need to make a connection between Table and Table 3 with Calendar and Product table, but I can not find an appropriate relationship can be made with existing table columns. 

 

compare.PNG

 

 

Paul Zheng
If this post helps, please Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.