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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

YOY% and MOM% on two measures as well as YTD Data

Hi

I have attached a table as sample data if you can help me please. I'd like to have YOY% growth on both Sales amount and QTY. Data is from 2019 to 2022. I have applied the Pivot command on Year column, it only gives me YOY% on one measure (e.g. Sales Amount). How can I have both Sales Amount and QTY YOY% growth in one table (or other visuals later)? I would need to keep the other info in other columns to slice the data later once YOY% is calculated.

My 2nd question following above: I'd need to have it as YTD amount, e.g by the end of November to compare the current year vs. the previous years (2022 vs. 2021 in particular). 

 

My 3rd question following above: Is it very difficult/impossible to add MOM% as well in the same run as YOY% above?

 

Thank you for your help.

 

 Sample Data.PNG

 

 

 

1 ACCEPTED SOLUTION

See attached for YoY%.  Your sample data is not good enough for MoM%  but you can use the same approach.  Instead of DATEADD(xxx,-12, MONTH)  use DATEADD(xxx,-1,MONTH)

View solution in original post

6 REPLIES 6
lbendlin
Super User
Super User

please provide sample data in usable format.

Anonymous
Not applicable

Hi Ibendlin

I got this and visualised YOY% and MOM%. Thank you

See attached for YoY%.  Your sample data is not good enough for MoM%  but you can use the same approach.  Instead of DATEADD(xxx,-12, MONTH)  use DATEADD(xxx,-1,MONTH)

Anonymous
Not applicable

Thank you for your time and help. I'll check my dataset for MOM as well.

Cheers

 

Anonymous
Not applicable

Hi Ibendlin. Thank you for your reply. I am new here and may need some guidance, please. I searched how I can add a sample dataset in Power BI or Excel format here and it seems only superusers can. I am not sure if pasting a smaller sample dataset in a table format as per above would help. Thank you

Anonymous
Not applicable

Item NoItem Desc.Model GroupIGGPMakeLocationDate (Year)Date (Month)Date (Date)VendorAmountQTY
6BE06984HJ6BGPadWhiteBF2DuSydney2019December5/12/20192A012A2A117.2621
6BE06984HJ6BGPadWhiteBF2DuSydney2019December12/12/20192A012A2A-58.59-10
6B306986BHJ6BPadBlueBP5DuSydney2020January28/01/20202A012A2A77.6414
6B306986BHJ6BPadBlueBP5DuSydney2020February26/02/20202A012A2A68.6712
6B306986BHJ6BBPadBlueB21 - G4DuSydney2021August30/08/20212A012A2A180.9231
6B306984HJ6BGPadBlueB21 - G4DuSydney2019March13/03/20192A012A2A35.427
6BP5PadBlueBP5DuSydney2019January30/01/20192A012A2A69.9513
6BP5PadBlueBP5DuSydney2019February26/02/20192A012A2A70.7613
6BP5PadBlueBP5DuSydney2019March6/03/20192A012A2A70.7613
6BP5PadBlueBP5DuSydney2019March18/03/20192A012A2A70.7613
6BP5PadBlueBP5DuSydney2019December10/12/20192A012A2A70.7613
6BP5PadBlueBP5DuSydney2020December2/12/20202A012A2A70.2913
6BP5PadBlueBP5DuSydney2022August10/08/20222A012A2A78.6914
6BJ066BHJ306B43MousePurpleA40 - B2/Du/T2/K7 DuSydney2019January21/01/20192A012A2A123.4821
6BJ066BHJ306B43MousePurpleA40 - B2/Du/T2/K7 DuSydney2019January31/01/20192A012A2A123.4821
6BJ066BHJ306B43MousePurpleA40 - B2/Du/T2/K7 DuSydney2019February4/02/20192A012A2A55.4721
6BJ066BHJ306B43MousePurpleA40 - B2/Du/T2/K7 DuSydney2019March4/03/20192A012A2A56.1022
6BJ066BHJ306B43MousePurpleA40 - B2/Du/T2/K7 DuSydney2019March7/03/20192A012A2A56.1022
6BJ066BHJ306B43MousePurpleA40 - B2/Du/T2/K7 DuSydney2019March25/03/20192A012A2A56.1022

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors