Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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 no | Start | End | Monthly Amount |
1 | 1/4/2021 | 31/3/2022 | $100 |
2 | 1/5/2021 | 30/4/2022 | $200 |
3 | 1/5/2021 | 30/4/2022 | $300 |
4 | 1/6/2022 | 30/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?
Solved! Go to Solution.
@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)
Thanks for the solution!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
55 | |
55 | |
37 | |
30 |
User | Count |
---|---|
78 | |
64 | |
45 | |
40 | |
40 |