Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi! I'm trying to create a measure to calculate the % change of value based on my slicer selections (which is not in date format).
Here's the sample of my data. My slicer will be "Semester" and I would like to calculate the difference between value based on the selected semesters (up to all of them). For example, if i select semester AH2019 and AH2021, it will show -8% decrease. if i select AH2019, AH2020, AH2021, it will show the % change between all 3 semesters (18.57%, -22%).
Semester | Value | % difference |
AH 2019 | 7000 | |
AH 2020 | 8300 | |
AH 2021 | 6400 | |
SS 2019 | 10200 | |
SS 2020 | 18202 | |
SS 2021 | 8100 |
Please kindly assist. Your help is much much appreciated.
it will be (8100/8300)-1. the latest year will be the newest value
hi @bopeh_99
for "if i select AH2019, AH2020, AH2021, it will show the % change between all 3 semesters (18.57%, -22%)",
how are you going to showcase this part?
id like to show them in a visual like this:
please ignore the values here. they're different from the table i included but its the same concept
User | Count |
---|---|
9 | |
8 | |
5 | |
4 | |
3 |