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 All,
I have a fiscal caledar where the Months starts from 1st sunday of everymonth and below is the sample calendar table:
Here, In 2023 fiscal month Jun starts from 4th Jun and ends by 1st Jul.
and, In 2024 fiscal month Jun starts from 2nd Jun and ends by 29th Jun.
I wanted to create a measure for Sales Last Year, where it can compare CY fiscal month vs LY fiscal month.
I have created a dax to calculate
Solved! Go to Solution.
Yes, I was able to resolve it.
1. I created a calc column from FMNTH_ID like below,
try sameperiodlastyear() instead.
https://learn.microsoft.com/en-us/dax/sameperiodlastyear-function-dax
Proud to be a Super User!
I tried, but it does not give the rusult I wanted.
Hi, @renjithpbi
May I ask if you have gotten this issue resolved? If it is solved, please share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.
If it is not resolved, I hope you will provide the full .pbix file via OneDrive or SharePoint. Please be careful to remove all sensitive information and we will do our best to provide ideas for your issue.
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes, I was able to resolve it.
1. I created a calc column from FMNTH_ID like below,
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
144 | |
72 | |
62 | |
52 | |
48 |
User | Count |
---|---|
206 | |
90 | |
61 | |
59 | |
57 |