Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
EGRF
Frequent Visitor

Monthly growth percentage according to slicer start date

I'm trying to create a contract dashboard which I want to show the month on month growth % metric card according to slicer month selected. Growth % = (total current month - total previous month) / total previous month

 

Sample data as below.

Contract noStartEndMonthly Amount
11/4/202131/3/2022$100
21/5/202130/4/2022$200
31/5/202130/4/2022$300
41/6/202230/5/2023$400

 

If user select 'Apr 2022' on the slicer the card should calculate as:

( ($200+$300) - ($100+$200+$300) ) / ($100+$200+$300) = -16.67%

 

If user select 'May 2022' on the slicer the card should calculate as:

( $0 - ($200+$300) ) / ($200+$300) = -100%

 

How do I go about this?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@EGRF , Check if the period comparison method in this file can help

we move the max date in current employee(open contract in your case)

 

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
EGRF
Frequent Visitor

Thanks for the solution!

amitchandak
Super User
Super User

@EGRF , Check if the period comparison method in this file can help

we move the max date in current employee(open contract in your case)

 

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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