Power BI Practice Solution ROUND #6 I Analyze your data by COHORT

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 30. 07. 2024
  • Topline numbers are often hiding underlying trends that can be revealed once you analyze your data by cohort. In this Power BI Practice Round we break apart the customers (create cohorts) based on the year of first purchase.
    Requirements:
    - Create an area chart that shows total sales over time by year and quarter
    - Add a measure that calculates the total sales for new customers
    While there does not seem to be a problem with the top level sales, the sales for new customers is going down. To get more insights you have to break down revenue by different customer cohorts.
    - Create a calculated column that returns the first year of purchase.
    - Create an area chart that shows total sales over time by year and quarter
    - Insert a 100% stacked column chart. Show years on the axis, total sales on values, and year of first order on the legend
    - Create an area chart that shows total sales over time by year and quarter
    - Create another cohort based on the Number of Orders per Customer. Do this using a calculated column
    - Insert a stacked column chart with Number of Orders per Customers on the x-axis and the distinct count of customers on values. Place the year of first order on the legend.
    Share your approach, questions, feedback below or on Twitter using the hashtag #PowerBIPractice and tag @HowToPowerBI
    Download file here datatraining.io/powerbi-how-to
    --------------------------------
    📊 TRAININGS 📊
    ---------------------------------
    Power BI Design 4 Weeks Transformation Program my.datatraining.io/pages/powe...
    Power BI Essentials datatraining.io/powerbilearni...
    Business User Training datatraining.io/powerbi-busin...
    For Custom Trainings and Consulting email directly support@datatraining.io
    ---------------------------------
    😍 JOIN 😍
    ----------------------------------
    Join bit.ly/4b453bi
    Subscribe bit.ly/31MnQGO​
    Insta / howtopowerbi
    LinkedIn / basdohmen
    TikTok / how.to.power.bi
    X / howtopowerbi
    fb / howtopowerbi
    Threads www.threads.net/@howtopowerbi
    Newsletter datatraining.io/newsletter
    ---------------------------------
    👇 CHECK THIS OUT! 👇
    ---------------------------------
    đŸ’» My gear amzn.to/47F21Yc
    📚 Power BI books MUST READ! amzn.to/3tUfFcj
    💡 General books I recommend amzn.to/48YNo33
    đŸŽ¶ Music for my videos www.epidemicsound.com/referra...
    🚀 For growing on CZcams: www.tubebuddy.com/bas
    🏄 Stuff I use daily amzn.to/3HqfMQ2
    * Above are affiliate links, which means at no additional cost to you, if you make a purchase using these links we will receive a small commission. It supports us and helps us to continue making more How to Power BI videos!
    Thanks for being a part of this channel and all your support! đŸ’Ș 🙏
    #HowToPowerBI​ #PowerBI​ #DataTraining​
    #powerbidesktop​ #powerbitraining​ #powerbideveloper​ #DAX
  • Věda a technologie

Komentáƙe • 28

  • @waqarshaikh86
    @waqarshaikh86 Pƙed rokem

    Thanks Bas, this is exactly what I was looking for. To the point and easy to understand.

  • @oricchannel2811
    @oricchannel2811 Pƙed 2 lety

    Another great video. Thank you for sharing !!!

  • @nikakalichava8012
    @nikakalichava8012 Pƙed rokem

    Thanks a lot!

  • @pilarbaldominos2505
    @pilarbaldominos2505 Pƙed 3 lety

    Great video... I am just starting my power bi journey and all these "extra" explanations helped me a lot (ie: why I need the calculate to create the column)... Looking forward seeing next video!

    • @HowtoPowerBI
      @HowtoPowerBI  Pƙed 3 lety

      Glad it was helpful! next one coming up soon

  • @irfanabbassi9202
    @irfanabbassi9202 Pƙed 2 lety

    Really outstanding explanation...

  • @MacPaulos
    @MacPaulos Pƙed 3 lety

    Hey Bas, nice video.
    If you needed to avoid calculated columns, how would you approach this?

  • @SSM_33
    @SSM_33 Pƙed 2 lety

    you just saved me bro thanx alot

  • @barttitulaerexcelbart9400

    Well done Bas! When I was making your example I did not have this option categorical/continuous. Later I saw it in the options.

    • @HowtoPowerBI
      @HowtoPowerBI  Pƙed 3 lety

      Thx Bart! If the X-axis is string/Boolean, the Type option will not display. Maybe you initially had a different field on the x axis and therefore it didnt show.

  • @stevedoherty6649
    @stevedoherty6649 Pƙed 3 lety +2

    I had no idea the new customer's pattern was now a quick measure. 👍

  • @abeerattia4523
    @abeerattia4523 Pƙed 2 lety

    Very interesting and useful and insightful analysis, thanks

    • @HowtoPowerBI
      @HowtoPowerBI  Pƙed 2 lety

      Glad to hear this Abeer, thanks for watching

  • @Smeetr
    @Smeetr Pƙed 2 lety +1

    Hi Bas, Great explaination, one quick doubt
    at 05:35 , cant the same column be achieved with this formula
    YearOfFirstOrder = year(FIRSTDATE(Sales[Order Date]))

    • @SunilMathewMusic
      @SunilMathewMusic Pƙed rokem

      I used it and it gives the same result. Then I guess we don't have to use RELATEDTABLE function here.

  • @lijunchen
    @lijunchen Pƙed rokem

    Thanks, Bas. This video is great and very informative. But I have a question about the 2nd chart: total sales by Year, with breakdown legend of Year of First Order. I wonder instead of using Year of 1st Order, can you use Customer Age/Tenure as the breakdown legend? This will be dynamic according to the Year / Timeline, so for the customers with 1st orders in 2015, their tenure will be 0, 1, 2, 3 respectively in 2015 to 2018. I think using customer tenure / age group as the legend has many uses, like checking the views of your new and old subscribers across time. I have tried but failed to create such a legend. I wonder whether you have some ideas?

  • @genevieve3676
    @genevieve3676 Pƙed rokem

    Hi Bas - For the last graph, I don't find the type of graph with value - I only have those with X and Y axis - is it possible to tell us which one we have to pick ? thanks

  • @excelbear6860
    @excelbear6860 Pƙed 3 lety

    enjoying all the practices, Bas.
    for YearOfFirstOrder, why not just this?
    YEAR(CALCULATE(MIN(Sales[Order Date])))
    not sure why RELATED is not required. but it gives the same answers. or is this slower?

    • @HowtoPowerBI
      @HowtoPowerBI  Pƙed 3 lety +1

      😼that does look easier and more efficient! next time I need to run the solution by you first for a double check haha 😀 thanks for pointing out!

    • @excelbear6860
      @excelbear6860 Pƙed 3 lety

      @@HowtoPowerBI haha you flatter me. I just think simple because I only know simple. I have another one for round 7 too.

  • @laiqmehdi8704
    @laiqmehdi8704 Pƙed 2 lety

    i love u ar exercises please we need more

  • @alisheryuldashev9857
    @alisheryuldashev9857 Pƙed rokem

    Hi! It was awesome, but could you please make “classic” cohort analysis using matrix. I still can’t find any normal solution (((

  • @SRaturi89
    @SRaturi89 Pƙed 3 lety +1

    Very Informative, Thanks Bas!

  • @cescodeidda277
    @cescodeidda277 Pƙed 9 měsĂ­ci

    Where is the dataset ?

    • @HowtoPowerBI
      @HowtoPowerBI  Pƙed 9 měsĂ­ci +1

      download link is in the description