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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.