cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

## Calculate % change based on slicer (not date format)

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

4 REPLIES 4
Super User

Please check if these results are correct.

Frequent Visitor

Hello! Yes! Similar. I am trying to show something like this and would like to add the formula for the percentage change.

Super User

can you explain in detail how you got it -8%
what was taken away and what was divided.
show in numbers how it turned out -8%

Frequent Visitor

-8% is (6400/7000)-1, the difference between just AH2021 and AH 2019, where 2021 is the newer value based on the year

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - August 2024

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

#### Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

#### Fabric Community Update - August 2024

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

Top Solution Authors
Top Kudoed Authors