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
PKGARG
Helper I
Helper I

Total Sales for same month last year

I Have Three Table 1st is Date Table,

2nd is 2016_2017 Table datewise start with 01-04-2016 to 31-03-2017. & 

3rd is 2017_2018 Table datewise start with 01-04-2017 to 30-11-2017.

 

Now i want to create a report :-

1. DateWise Comparison Same Date in Both Year

2. Monthwise Comparison Same Month In Both Year

3. Upto November Comparison SamePeriod in Both Year

 

Please Provide measure calculation

2 REPLIES 2
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @PKGARG,

 

Could you please mark the proper answer as solution or share the solution if it's convenient for you? That will be a big help to the others.

 

Best Regards!
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @PKGARG,

 

You can try it in this file.

How to display the period of question 3 in a visual? Years?

SamePeriodLastyear =
CALCULATE (
    SUM ( '2016_2017'[Quantity] ),
    SAMEPERIODLASTYEAR ( 'Calendar'[Date] )
)

Total_Sales_for_same_month_last_year

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors