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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Srinivas3350
Helper II
Helper II

Please need an urgent in DAX on growth with Current fiscal months and previous year fiscal months

Hello, I am stuck with 1 issue for a long time. I have attached screen shot below

Srinivas3350_0-1702458485163.png

 so the issue is i am showing  revenue by month wise if i select another year it will show revenue of that year and in last year column it will show last year revenue of whatever year we select  and in the margin column it is just margin-last year. so now if you see in the below screenshot the previous year revenue is for 2022-january is 3715 and so on.... in another table  but if you see in the above screenshot the last year is showing  4109 the issue is it is calculating the current periods with last year periods example this year fiscal month jan started on 2nd and ended on 27th but in 2022 it started on 3rd and ended on 28th so it should with this periods but it calclating with all previous year with current periods.. can anyone help me please.

Srinivas3350_1-1702458677351.png

this is the DAX i am using calculate last year revenue

Last year = CALCULATE([Margin sum], DATEADD('Dim Time'[Full_Date],-1, YEAR))



1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.