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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors