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 have created a DAX measure that shows me a rolling total over time:
I would like to add a new column that shows the percentage of change between years over time and I have not been able to figure this out.
Any help is greatly appreciated.
Thank you
Don Price
Solved! Go to Solution.
Hi @Don_P ,
You can refer the following links to get it:
Calculating Percentage Change in Power BI - A Guide - Monocroft [0492-9f27-475-7563]
YTD Sales = TOTALYTD(SUM(Sales[Amount]), 'Calendar'[Date])
YTD % Change =
DIVIDE (
[YTD Sales]
- CALCULATE ( [YTD Sales], DATEADD ( 'Calendar'[Date], -12, MONTH ) ),
CALCULATE ( [YTD Sales], DATEADD ( 'Calendar'[Date], -12, MONTH ) )
)
Power BI Year-Over-Year Growth % Calculations [DAX] - YouTube
If the above one can't help you, please provide some raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Thank you, everyone,
I believe I have found a different way to achieve this.
I first created a measure to show me this year's number in this manner: Service Hours = CALCULATE(SUM(D365[Hours]),FILTER('Date','Date'[Date]))
I then created a measure to show me the previous year's number: Previous Year Service Hours = CALCULATE(SUM(D365[Hours]),SAMEPERIODLASTYEAR('Date'[Date]))
I then created a measure like this to calculate the percentage of change: Service Hours % of Change = IF(([Service Hours]/[Previus Year Service Hours]-1) = -1,BLANK(),IFERROR(([Service Hours]/[Previus Year Service Hours]-1), BLANK()))
Hi @Don_P ,
You can refer the following links to get it:
Calculating Percentage Change in Power BI - A Guide - Monocroft [0492-9f27-475-7563]
YTD Sales = TOTALYTD(SUM(Sales[Amount]), 'Calendar'[Date])
YTD % Change =
DIVIDE (
[YTD Sales]
- CALCULATE ( [YTD Sales], DATEADD ( 'Calendar'[Date], -12, MONTH ) ),
CALCULATE ( [YTD Sales], DATEADD ( 'Calendar'[Date], -12, MONTH ) )
)
Power BI Year-Over-Year Growth % Calculations [DAX] - YouTube
If the above one can't help you, please provide some raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
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 |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
11 |