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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors