Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Schedule a short Teams meeting to discuss your question
Thanks for the suggestion: I actually managed to solve it by making a sligh modification to your formula:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |