Power BI End to End Churn Analysis Portfolio Project | Power BI + SQL + Machine Learning | 2024

Поділитися
Вставка
  • Опубліковано 21 січ 2025

КОМЕНТАРІ • 131

  • @NIKHILSINGH-gb7pc
    @NIKHILSINGH-gb7pc 6 місяців тому +5

    Hi Sir, It's a really good video. I have a suggestion: instead of loading data into Excel and then using it in Jupyter Notebook, we can directly connect to the database and use that view for our ML algorithms.

    • @pivotalstats
      @pivotalstats  6 місяців тому +4

      Hi, Thanks for a great suggestion. I did consider this earlier and used the pyodbc library to fetch data from server. However this method sometimes gives errors due to accessibility or drivers. So I didn't want the new learners to get discouraged by this, hence decided to keep it simple. Let me know if you have used any other library which makes the process simpler. Will be really happy to learn & use it in my next project. Thank you so much for watching! :)

    • @NIKHILSINGH-gb7pc
      @NIKHILSINGH-gb7pc 6 місяців тому +4

      @pivotalstats Sir, I have used 'from sqlalchemy import create_engine', but you are right; initially, during connection, it gives a really hard time due to drivers.

  • @critiquessanscomplaisance8353
    @critiquessanscomplaisance8353 2 дні тому

    You've outdone yourself again. Thanks so much for giving this for free. Please do more projects like this using different data sources and different data analysis tools and techniques. Stay blessed!

  • @prasannajeetojha432
    @prasannajeetojha432 Місяць тому +2

    Please upload more project like this
    I want to do more like this(Power BI + SQL + Machine Learning)
    No other people are doing it. You're a GEM man! Love you

  • @sachinsinghsoun8329
    @sachinsinghsoun8329 5 місяців тому +1

    It is a great end to end project, from getting a understanding about how data is converted from a raw data to visually appealing dashboard.
    Thanks alot.👍🏻

  • @premkumar-on8ko
    @premkumar-on8ko 4 місяці тому +1

    One more nice project and concept of implement SQL + power bi as wel machine learning . thank you for nice video

  • @MirjaShahidulIslam
    @MirjaShahidulIslam Місяць тому

    One of the best Power BI tutorials and teachers. Thank you very much from Bangladesh.

  • @James_Tana
    @James_Tana 15 днів тому

    Thank you very much, such a great lesson! Hope to see such a good project from you.

  • @mayoLJS
    @mayoLJS 21 день тому

    This is a beautiful and complete project.
    Kudos!
    Replicating for my portfolio 😍😎

  • @atienograce2520
    @atienograce2520 2 місяці тому

    Just finished this project.I’m in awe of how well you took us through it!I’ve learnt so much and will definitely add it to my resume.I understood everything,you are incredible!!
    Keep up the good work👏🏽

    • @pivotalstats
      @pivotalstats  2 місяці тому +1

      Wonderful! Sure, will do :)

    • @santhukontheti4950
      @santhukontheti4950 2 місяці тому

      I got 77k customers suddenly instead of 6318 ..after completing the steps of churn by services..What can be the reason ?

  • @ghizlanechtouki
    @ghizlanechtouki 8 днів тому

    it is very helpful with amzing explication

  • @anmolmahajan2868
    @anmolmahajan2868 6 місяців тому +1

    Really loved the video. Good way to bring everything under on roof. Looking forward to more such content.

  • @divyanipathak1087
    @divyanipathak1087 4 місяці тому +1

    It is really very good project implementation. End to End.

  • @lavenya1999
    @lavenya1999 3 місяці тому

    Hi sir , thank you i just completed this project and i am adding it to my portfolio. You are a great teacher . Looking forward to more videos from you .

  • @muhammadahmad6570
    @muhammadahmad6570 4 місяці тому +1

    Great. It is really very interesting project. I really learnt a lot from this.. Keep doing good work. Good luck..

  • @donanalytics
    @donanalytics Місяць тому

    This was great and very helpful, thank you!

  • @femiajewole6891
    @femiajewole6891 5 місяців тому +1

    This is a nice project. Well done.

  • @goldylock
    @goldylock 6 місяців тому +4

    Bro ure a legend!

    • @pivotalstats
      @pivotalstats  6 місяців тому

      Thanks for watching buddy 👍

  • @MRMICKY-xy8zm
    @MRMICKY-xy8zm 2 місяці тому +1

    Thank you so much SIR!!!

  • @kragondraken5352
    @kragondraken5352 6 місяців тому +1

    Wow... Just Wow
    Thank you soo much for this wonderful project.....this means a lot

    • @pivotalstats
      @pivotalstats  6 місяців тому

      Thanks for watching, cheers!

  • @bidhanpant8361
    @bidhanpant8361 6 місяців тому +1

    Loved it like a adventure movie ❤

  • @AnupGupta-z9x
    @AnupGupta-z9x 5 місяців тому +1

    your channel is under rated sir you will achieve great success in future😊😊

  • @GARDUITO
    @GARDUITO 6 місяців тому +1

    This is awesome!

  • @monubhaiya9022
    @monubhaiya9022 6 місяців тому +1

    Hello sir, how are you? We don't talk or chat, but we've learned a lot from your videos. We're very grateful for teaching us, sir. Hope you're doing well and staying healthy

    • @pivotalstats
      @pivotalstats  6 місяців тому

      Hello, I'm doing very well. Thanks for asking 🙂. Really glad that my videos are helping. Cheers!

  • @nextgen-nk
    @nextgen-nk 6 місяців тому +1

    New to it great work 👍👍

  • @AmitYadav-ee7sz
    @AmitYadav-ee7sz 2 дні тому

    Hi Sir,
    Please make more such videos (SQL + Power BI + Python). It was really helpful. Thank you.

  • @dontcaredaniel8079
    @dontcaredaniel8079 6 місяців тому +1

    Thank you sir ❤❤❤

  • @charrynsasitube
    @charrynsasitube 2 місяці тому

    Thanks for the project, it's very interresting

  • @xiamojq621
    @xiamojq621 6 місяців тому +2

    Respect to the world of India

  • @MrSingh-bj6dg
    @MrSingh-bj6dg 4 місяці тому

    16:52 i stucked here in sql workbench it shows error (1064) please help me to resolve it

    • @pivotalstats
      @pivotalstats  4 місяці тому +1

      Hi, it seems you might have made a spelling mistake somewhere in query. Can you copy the query from the link that i provided in description and try again.

    • @MrSingh-bj6dg
      @MrSingh-bj6dg 4 місяці тому

      @@pivotalstats issue solved thank you .

  • @ElMatador-w7q
    @ElMatador-w7q 3 місяці тому +1

    Isn't removing duplicates from single column (as we did in mapping) will affect the analysis outcome since their corresponding values in other columns are there in the data?

    • @pivotalstats
      @pivotalstats  3 місяці тому

      Hi, no that will not impact because we are working on a separate table. When the relationship is created between mapping and main table, it will assign relevant age group to each row.

  • @KA-ep9ik
    @KA-ep9ik 6 місяців тому +1

    kia baat ha sir g, you are amazing. thanks for this all. I believe you are the only one on UA-cam who provides detailed lectures with full access to data and lecture notes. You did this very professionally. can't be better than this. Just waiting for more and more.
    Could you also please make a video on how to develop websites and how to upload all the projects onto it, as you did for yourself. thanks for this amazing work.

    • @pivotalstats
      @pivotalstats  6 місяців тому

      Thank you so much :) Reading such nice comments really motivates me to bring more quality content. I don't know if web development related content will be correct for this channel, but I will surely plan a video on creating your portfolio page on github. Cheers!

  • @mohammedyousufuddinyousuf1540
    @mohammedyousufuddinyousuf1540 5 місяців тому +1

    I am not able to open the output of random forest algorithm into my excel file

    • @pivotalstats
      @pivotalstats  5 місяців тому

      Hi, Please check the file path that you have given. Also are you receiving any errors?

    • @mohammedyousufuddinyousuf1540
      @mohammedyousufuddinyousuf1540 5 місяців тому

      I am getting the correct output but when I am going to my prediction data.xlsx file to see my result it is telling me
      Excel cannot open the file predictiondata.xlsx because the file or format is not valid

  • @nkechiizeji
    @nkechiizeji 5 місяців тому +1

    Sir, thank you for the video. However, I don’t understand the creation of that production table at all.
    Similarly, what is the downside of removing null values at the time of importing the table instead of the rigorous activity later?

    • @pivotalstats
      @pivotalstats  5 місяців тому

      Glad you liked the video!
      1. Creating a prod table is considered as a best practice because it gives you the opportunity to revert back to the original data in case you make any errors without running the entire data load process again.
      2. We can always do the data cleaning part in power bi, but the problem with that approach is that in case you are working with a team, and all of them are working on the same data. Then each of you would have to do the same cleaning process on each of your files. Also lets assume that after sometime you add a new cleaning step to your file then that steps will have to be implemented on all files again. Hope this helps!

    • @nkechiizeji
      @nkechiizeji 5 місяців тому

      @pivotalstats Thank you so much for responding promptly. That's awesome. Pardon me if am being slow here, however, regarding the first question, how that production table was created was fast so I didn't get it even though I understand the reasons for the creation considering the fact that am more used to PowerBi than SQL.
      Regarding the 2nd part, I meant the initial time you were importing the file into SQL you didn't ignore the null values but you later tried to remove them during the query. Is there any special reason to it?

  • @Sanj20101
    @Sanj20101 6 місяців тому +2

    Thanks Bro. one question, why did we create new reference table for Age group instead of creating new column in existing table?

    • @pivotalstats
      @pivotalstats  6 місяців тому +3

      Hi, The main reason is to improve performance because in a reference table we can remove duplicates and reduce the row count. Also in future if I decide to add more mapping columns then its easier to manage in a separate table.

    • @Sanj20101
      @Sanj20101 6 місяців тому +2

      @@pivotalstats great, thanks for the explanation

  • @chathurangimadubashini8767
    @chathurangimadubashini8767 4 місяці тому +1

    Hi, thank you again for the great video. In my work, after creating the reference table ("Mapping age group"), in model view there is no connection between Via Age. Don't know why? I followed the exact path and rechecked.
    PS: I manually made a connection between them in model view, now I am getting correct results. This isn't incorrect, right?

    • @pivotalstats
      @pivotalstats  4 місяці тому +1

      Ideally it should have established relationship automatically but doing it manually is also fine.

    • @chathurangimadubashini8767
      @chathurangimadubashini8767 4 місяці тому +1

      @@pivotalstats thank you, still working on the project. Now half way is done. ☺️
      Thank you once again, and highly appreciate your great contribution. 👏

  • @shankarmidatala2049
    @shankarmidatala2049 6 місяців тому +1

    Hi, Thanks for the wonderful learning video. I'm able to follow and re-create all the charts, I'm just encountering one error in the Churn Reason sheet is showing "The Total Churn" against each of the rows (1732) and also the total is showing as (1732). Please guide.

    • @pivotalstats
      @pivotalstats  6 місяців тому

      Hi, Check the table from which you are dragging the Churn Reason column into the visual. Most probably you are using the Prod_Services table. Instead fetch it from Prod_Churn, that will solve the issue. Hope this helps!

    • @shankarmidatala2049
      @shankarmidatala2049 6 місяців тому

      Yes, that worked. Also when I changed the relationship between the tables to "both" it worked as well. Thanks for you quick response.

  • @sambeetpanda6919
    @sambeetpanda6919 6 місяців тому +1

    when i am trying to Train Random Forest Model getting error-ValueError: Input y contains NaN.
    ,how do i resolve this

    • @pivotalstats
      @pivotalstats  6 місяців тому

      The error suggests that the Customer_Status column which is our Y variable (target variable), contains missing values. But in the original data there were no missing values in this column. Could you check if your vw_ChurnData contains null values? If it does then check the ETL process & Original Excel raw data file once more. Hope this helps!

  • @MackellWatson
    @MackellWatson 18 годин тому

    I have a really quick questions after all the steps, for some reason my "Total Customer and Churn Rate by Tenure Group" is still out of of order by the

  • @ShantanuShirkar
    @ShantanuShirkar 5 місяців тому +1

    What key points should i use to describe this project on my resume

    • @pivotalstats
      @pivotalstats  5 місяців тому

      Hi, Since this project covers almost all major aspects of Data Analytics, you can write SQL Database Management, Power BI Data Transformation & Visualization, Data Analysis & Random Forest Modelling.

  • @patricketesam8611
    @patricketesam8611 5 місяців тому +1

    This is a perfect video and helpful thank you very much!!!! can i connect with you in linkedin sir ? thank you

    • @pivotalstats
      @pivotalstats  5 місяців тому +1

      Glad that it helped!
      Sure, I'm not very active on linkedin but I'm planning to post content there as well. You can follow my page below:
      www.linkedin.com/company/pivotalstats/

  • @adityagochhikar6272
    @adityagochhikar6272 5 днів тому +1

    Please tell me how I can connect to the server

    • @pivotalstats
      @pivotalstats  4 дні тому

      Hope you have installed sql server on your system and using that server name.

    • @adityagochhikar6272
      @adityagochhikar6272 3 дні тому

      Yes yes thank you for sharing how to fix SSMS server
      If possible can you share your LinkedIn ID I will love to connect there

  • @atulverma_
    @atulverma_ 20 днів тому

    Hi, Awesome Video...Really helpful. However, i am unable to understand where did the concept of VIEWS was handy while doing the churn analysis. Did i miss anything?

    • @pivotalstats
      @pivotalstats  18 днів тому

      Hi,
      Glad you liked the content. Yes we have used those 2 views at the very end while creating our machine learning model.

    • @atulverma_
      @atulverma_ 18 днів тому

      @pivotalstats that's why I missed it. I tried to practice only the churn analysis part. My bad. On a side note, I checked out a few videos of this channel, the content is pure gold. Kindly keep adding more.

    • @pivotalstats
      @pivotalstats  17 днів тому

      @@atulverma_Thanks, will do :)

  • @ArihantAgrawal-w3z
    @ArihantAgrawal-w3z 6 місяців тому +1

    can we use mysql also? as ms sql is not there for mac

    • @pivotalstats
      @pivotalstats  6 місяців тому

      hi, check out below link. It should help!
      community.fabric.microsoft.com/t5/Power-Query/Trying-to-connect-to-MY-SQL-from-Power-BI/td-p/195060#:~:text=Before%20you%20can%20connect%20to,MySQL%20in%20Power%20BI%20Desktop.

  • @bloggingbyasifali4984
    @bloggingbyasifali4984 5 місяців тому +1

    Hi sir can u please make video on end to end project with large data set using direct query in power bi??

    • @pivotalstats
      @pivotalstats  5 місяців тому

      Sure ill plan something for future 👍

  • @bharatmeena3576
    @bharatmeena3576 28 днів тому

    Why random forest algorithm that you are used for prediction why not logistics regression?

    • @pivotalstats
      @pivotalstats  27 днів тому

      You can use any of these ml algorithms but while I was researching on this topic, I found that random forest is the most preferred algorithm for churn analysis.

  • @ElMatador-w7q
    @ElMatador-w7q 3 місяці тому

    I installed the SSMS and after opening the server name is not showing. Its empty

    • @pivotalstats
      @pivotalstats  3 місяці тому

      Hi, just found this video. This should help
      ua-cam.com/video/bgB2xeB6IM8/v-deo.htmlsi=_odsU7sDW3KntUQo

  • @bharatmeena3576
    @bharatmeena3576 Місяць тому

    HELLO SIR, I am not able to connect server in ssms what is the issue?

    • @pivotalstats
      @pivotalstats  27 днів тому

      Hi,
      Check if you are entering the correct server name. I have noticed that many people entered the server name which is there on the video, but you should be entering your server name. Hope this helps!

  • @ММатьяр
    @ММатьяр 3 місяці тому

    Hi , I can't connect to your server in Microsoft SQL Studio. Is it still possible to connect? I like this project and would to train on it also. why does this error appear?

    • @pivotalstats
      @pivotalstats  3 місяці тому

      Hi, you won't be able to connect to my server because that is my local server instance. You need to install sql server on your system and connect it locally. Hope this helps!

  • @manthanshah1699
    @manthanshah1699 6 місяців тому +1

    you could have easily created age group column in Calculations table rather than creating refrence table

    • @pivotalstats
      @pivotalstats  6 місяців тому +1

      Hi, Yes you are absolutely correct, we can create a calculated table as well using DAX here. Thanks for the feedback!

  • @ntsps9614
    @ntsps9614 4 місяці тому +1

    Hi, thank you for sharing this awesome project! I am unable to load the data to Jupyter notebook at ML step. Got this PermissionError: PermissionError: [Errno 13] Permission denied:'C:\\Users\\Home\\iCloudDrive\\Documents\\coding_temple\\projects\\customer_churn' Do you know what's wrong with this?

    • @pivotalstats
      @pivotalstats  4 місяці тому

      Try using \\ in ur file path and also move the file to a different location. Hope this helps!

  • @deeptijoshi4235
    @deeptijoshi4235 Місяць тому

    can you create video on ssis?

    • @pivotalstats
      @pivotalstats  Місяць тому +1

      Sure ill plan something for future videos

  • @imranahmad4575
    @imranahmad4575 23 дні тому

    where is the dataset?

    • @pivotalstats
      @pivotalstats  23 дні тому

      Hi, its there in the description. Pasting the link here for your reference
      www.pivotalstats.com/post/end-end-churn-analysis-portfolio-project

  • @SatyamGupta-n8r
    @SatyamGupta-n8r 11 днів тому

    HII SIR ,
    CAN I SHOW THIS PROJECT ON MY PORTFOLIO FOR DATA ANALYST PROFILE JOB?

    • @pivotalstats
      @pivotalstats  11 днів тому

      Sure go ahead. Just make sure that you make few changes in the colors or visuals. Otherwise they might think you just copied someone else.

    • @SatyamGupta-n8r
      @SatyamGupta-n8r 11 днів тому

      @@pivotalstats okay and please create such 1-2 more project for data analysis

    • @SatyamGupta-n8r
      @SatyamGupta-n8r 11 днів тому

      @pivotalstats sir when i execute query to check the nbull values in the data set it show the 0 for all columns and I cross verify the data of table in excel and it show the null/blanck values in excel. How to replace null value in MySQL workbench ?
      Should I replace clean in excel
      Help in this

  • @SSMB-dw2zr
    @SSMB-dw2zr 6 місяців тому

    Sir , provide data file not working on SQL server , error coming. When 1 error is solved, then another error is coming. It is better for us if you provide all 4 data files link.

    • @pivotalstats
      @pivotalstats  6 місяців тому

      Hi, May be I did not understand the question, but the data link I provided contains only 1 data file (not 4) i.e. Customer_Data. If you are facing errors even after following all the import process I showed in the video. May I suggest you to import that data directly to Power BI and do the transformations like null removal in the Power Query editor, so that you dont have to waste time on SQL server troubleshooting. Hope this helps!

    • @SSMB-dw2zr
      @SSMB-dw2zr 6 місяців тому

      @@pivotalstats
      Sir, the data you provide ,i find multiple errors,
      1. Data not loading in SQL server
      2. I changed the data structure ,then it loaded same things happened.so i loaded it in my SQL.
      3.But multiple things can't be done in my SQL, due data structure.
      So , sir if you provide
      Main data file , with working data file , 2 view files , then it will be good for me .
      Thank you for replying & Understanding the issue

    • @pivotalstats
      @pivotalstats  6 місяців тому +1

      @@SSMB-dw2zr Here you go, this link contains a excel file which has stg_Churn, prod_Churn, vw_Churn & vw_Join data. Cheers!
      e3da6ab4-ff6e-4f55-bfa1-a8fb6979d99b.usrfiles.com/archives/e3da6a_ab9ca4f21efb4e6a9c16a94583f064d9.zip

    • @SSMB-dw2zr
      @SSMB-dw2zr 6 місяців тому +1

      @@pivotalstats thankyou sir

  • @AncientWonders-g5q
    @AncientWonders-g5q 6 місяців тому +1

    Awesome sir but i don't know much about SQL

    • @pivotalstats
      @pivotalstats  6 місяців тому +2

      Thanks. I have kept it very light in this video but still since sql is an essential skill for anyone working with data, you can watch below sql bootcamp video
      ua-cam.com/video/QDz8be0L2PQ/v-deo.html

  • @AmitYadav-vb5bs
    @AmitYadav-vb5bs 6 місяців тому +1

    Sir that project is awesome mainly the machine learning portion could you boost yourself to make a more advanced project right now I am finding jobs and they want the best projects because I don't have any work experience. and also sir could you provide me your LinkedIn profile I will tag you with this project.

    • @pivotalstats
      @pivotalstats  6 місяців тому +1

      Hi, Sure I will definitely try to bring another project soon. And my linkedin profile is sajit-simon.

    • @sivakumarrathinam-bm3yu
      @sivakumarrathinam-bm3yu 6 місяців тому +1

      Sir your project is very awesome