This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I have the following table:
The high season category, comes from the Calendar table, that works like this:
Solved! Go to Solution.
Since you didnot provide the sample data. I am not sure if the soluion works for you.
For me, I will create two columns , Season type, High or Low and year column
2021-2022 to be 2021; 2022-2023 to be 2022
=maxx(filter(all(table), seasontype=max(seasontype) and year =max(year)-1),apprate)
Then you can get the rate for last row.
Proud to be a Super User!
Thanks @ryan_mayu! That actually did help, and here is what I did. The calendar table has all the dates from transactions, and it has the following categorization for season:
pls provide some sample data and expected output. I didn't see low season in your screenshot. Do you want to compare all high seasons or low seasons, or between high season and low season?
Proud to be a Super User!
Yes, my apologies for the lack of info.
I have the visualization filtered only for high seasons. The idea here is to take for example HH 2021-2022, then compare it to HH 2022-2023. The first one has an app rate of 78.79%, and the second one has an app rate of 75.97%. In this case, the change vs the previous season would be (75.97%-78.79%) / 78.79%, for a total change of -3.57%. The same would apply for the 2nd one vs the 3rd one, and so on. Naturally the first one would show a blank, since there is no previous season. Does that make it a bit clearer?
Since you didnot provide the sample data. I am not sure if the soluion works for you.
For me, I will create two columns , Season type, High or Low and year column
2021-2022 to be 2021; 2022-2023 to be 2022
=maxx(filter(all(table), seasontype=max(seasontype) and year =max(year)-1),apprate)
Then you can get the rate for last row.
Proud to be a Super User!
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 23 | |
| 22 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 27 | |
| 22 | |
| 20 |