The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to create a waterfall chart that looks like this, which compares the results of last year and this year
The datatable in question is a vertical table that with a label, a value, and date column.
It is connected to a date table, and I have a drop down slicer with the dates. When a user choose a date, I want to get the results of the date chose, as well as the same date last year, sort of like this
I have created a DAX formula,
Solved! Go to Solution.
Thanks for the suggestion: I actually managed to solve it by making a sligh modification to your formula:
Hi, @wl2020
If it is OK with you, please share your sample pbix file, then I can try to come up with desirable measures for your report.
By only seeing the screenshot of your report, in my opinion, no need to write VAR MonNum=1.
Instead,
VAR currentmonth = Max (currentmonthnumbercolumn in your date table), then fix some of the measures in other area.
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.
Thanks for the suggestion: I actually managed to solve it by making a sligh modification to your formula:
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
10 | |
7 |