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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Madi
Frequent Visitor

YOY Detailed Analysis

Hi All,

 

@YOY analysis

 

I need your suggestion for how to approach to create this report..... Scenario: I want to build something like a quick YOY comparison to identify the Sales gap of a client (Slicer) between last year vs Current year by Month by product Example: Last yr a Client bought 10 products Worth $1,20,000 in July Current situation is CY($70,000) - LY($1,20,000) = $-50,000 (which is easy to calculate)

Now I want to build a dashboard which can dig deeper and can identify the reasons of the GAP. There can be 5 reasons for GAP
1) Few products didn't get sold this year (Cancel)
2) Few products got sold before July (Early Renewal)
3) Few products got Postponed (Late Renewal)
4) Products booked with less value (Discount)
5) New product Sold this year (New)
I have been doing this evaluation manually But is there a way if I can click a client of a slicer, it can show me the above 5 reasons...

4 REPLIES 4
AllisonKennedy
Super User
Super User

Excellent question @Madi
Yes, it can be done, but you will need to create the setup in much the same way as you are doing it manually. Think about what you do manually to get each answer, and build that into the data model for the report. So you might want to build a YTD measure and compare that to previous year, to see if it's an Early Renewal. Build a measure for "New Products" to see how much of the sales are accounted for by something that wasn't purchased in the previous year. Build a measure for "Cancellations" (which will only show on previous year) to show which products haven't been purchased in over 12 months, etc.
Fun project, but without knowing your data we won't be able to give you specific answers, just very broad ideas on how to tackle it.

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Hi @AllisonKennedy

 

Thanks a lot for writing to me. I quickly made a small sample dataset for your reference. Please take a look into this and let me know if you need more info. The below file has two tabs
1) Data
2) Analysis needs to be done... Feel free to modify it to make a better presentation.

Sample Data set 

 

Are you using the Data Model at all for this report? Are you doing the reporting in Power BI or Excel?

I have made a start at building data mode with some sample calculations which you can find here: https://1drv.ms/x/s!AoYxR5uKH_bLa979TaxCq49YS_g?e=tnIs07

You will need to do a lot of setup though to get to this point where you can analyze the data. I got stuck on renewals as I don't know your renewal pattern - is it 6months or annual? Does it differ for different products?

I think you would have time well spent doing a bit of study on Excel Data Model using sample datasets to get an understanding of how it should look in an ideal world and what you can do with it, then start to apply to your scenario.

Let me know what questions you have about the file I've uploaded and I'll try to answer as best I can via here, but sometimes it's just easier to communicate in person/video or do a class.

Hope it helps!

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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