Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi
I am wanting to create a measure for Last Year, but instead the number I get is all years (2020,2021 and 2022)
Here is my measure
Thanks Jennet
Solved! Go to Solution.
Hi Thanks for the helpful tip. I have solved this particular problem.
Hi @JennetK ,
You can create a measure as below to get it:
Percentage =
DIVIDE (
SUM ( 'ELT Quotes'[Total Quoted value ()] ) - [Total Quoted LY],
[Total Quoted LY]
)
In addition, you can refer the following links to get it.
Solved: Re: Percentage difference between current year sal... - Microsoft Fabric Community
Solved: Re: Calculating Percentage Difference between Curr... - Microsoft Fabric Community
Calculate Difference This Year vs Last Year In Power BI With DAX [2022 Update] - 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 links 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
Hi, Thanks. It didn't work for me. It doesn't matter for now. I think the years are best in separate tables. What you do think?
Hi @JennetK ,
Could you please provide some raw data in your table 'ELT Quotes' (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 links 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
Hi Thanks for the helpful tip. I have solved this particular problem.
Hi @JennetK ,
It's glad to hear that your problem has been resolved. Could you please mark your post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Best Regards
User | Count |
---|---|
116 | |
73 | |
62 | |
50 | |
46 |
User | Count |
---|---|
173 | |
123 | |
60 | |
59 | |
57 |