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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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