No video

Find Lost Customers Using Power BI and DAX

  Рет қаралды 32,297

RADACAD

RADACAD

Күн бұрын

Пікірлер: 84
@Rafian1924
@Rafian1924 5 жыл бұрын
I think this was one of the most useful and to the point videos on power bi. You always rock. I have learned power bi by watching your videos and reading your posts.
@nishantchawla333
@nishantchawla333 4 жыл бұрын
Ideally this is a wrong assumption because we are calculating last date of each customer, suppose a customer bought from us in the year 2005 this formula would calculate last date in this customers context and will give the results, however, the starting date should be current date always which would be today or the maximum date in current data set.
@andersonbeux5857
@andersonbeux5857 2 жыл бұрын
I put LASTDATE(ALL(SALES_TABLE[ORDER_DATE])) then works fine (but my company have sales everyday, maybe you can use TODAY())
@michaeloloishuro6915
@michaeloloishuro6915 5 жыл бұрын
Hope to learn more and more PowerBI from your clear presentations. Thank you
@stephenbrincat7124
@stephenbrincat7124 5 жыл бұрын
Well done, thanks will definitely try with my customers database, but for now I'm still learning the basics
@omidamiri27
@omidamiri27 2 жыл бұрын
سلام روز بخیر خیلی ممنون بابت ویدئوی خوبتون ، من یه loyalty program دارم که برای بیزینس های مختلف پیاده سازی میکنیم در قالب یک باشگاه مشتریان ، امکانش هست فرمول مربوط به دسته بندی های زیر رو طوری به من بدید که برای هر نوع کسب و کاری قابل استفاده باشه : 1 - قهرمانان 2 - وفداران 3 - مشتریان نیاز به توجه at risk 4 - مشتریان از دست رفته lost 5 - مشتریان پولدار 6 - مشتریان کم پول چون میانگین مراجعه مشتری ها برای هر کسب و کار بازه های متفاوتی هست ، پس ما نیاز داریم که اول میانگین مراجعات مشتری ها رو در بیاریم و این میانگین باید به ازای هر گروه محصول باشه چون دوره برگشت مشتری در هر گروه محصول هم ممکنه متفاوت باشه. اما نکته اینجاست : فرض کنید میانگین مراجعه هر مشتری در یک گروه کالای بخصوص 30 روزه ، حالا اگه یک مشتری چقدر بیشتر از 30 روز مراجعه نکنه "از دست رفته" محسوب میشه ؟ آیا اگه یک مشتری 31 روز مراجعه نکنه بهش میگن از دست رفته ؟ میدونم شاید درخواستم نوعی سوء استفاده به نظر بیاد اما اگر بتونید فرمول ریاضی این موارد رو بگید میتونیم با کد نویسی پیاده سازیش کنیم
@mbianalytics
@mbianalytics 5 жыл бұрын
This tutorial has solved many questions. Thanks a lot for doing such good work.
@tonyoerlemans392
@tonyoerlemans392 5 жыл бұрын
Really nice and clearly explained! You might consider using different period for lost and new customers though. For example we consider a customer 'lost' if he didn't order in 12 months, but consider a customer 'new' if he has ordered in the last 3 months and not before. I'm also curious about handling totals :-)
@RADACAD
@RADACAD 5 жыл бұрын
You can do that with two separate parameters for sure :)
@andersonbeux5857
@andersonbeux5857 2 жыл бұрын
If you're struggling to have the subtotal of lose clients or new clients - You need to create a new table just with the clients (you can use 'group by' on Power Query using your sales table) - Then you need to relationship these 2 tables - Now you will create a measure TOTAL_LOST_CLIENTS = SUMX('YOUR_TABLE_GROUP_BY';YOUR_SALES_TABLE[LOST_CLIENTS_MEASURE])
@SHAUNVINDA
@SHAUNVINDA 10 ай бұрын
Hi , when i follow this step all i am getting is the total sales based on the sales table. pls advise
@jakob2746
@jakob2746 2 жыл бұрын
How do I create an overview table that sums number of lost customers? and then show a detailed list next to it with who it is.
@andersonbeux5857
@andersonbeux5857 2 жыл бұрын
I just posted here on the comments mate
@michaeloloishuro6915
@michaeloloishuro6915 5 жыл бұрын
Thank Sir, This has been a very clear presentation.
@mbitravel
@mbitravel 4 жыл бұрын
Please tell me how to count the lost customers in this case. I have done the same and now want to show the total number of lost customers in card visual. I need your support, because its a must requirement for me.
@eduardoqsr4172
@eduardoqsr4172 3 жыл бұрын
I have the same doubt... :(
@ShijuKattarkandy
@ShijuKattarkandy 2 жыл бұрын
I have the same doubt too
@r.rupaymh
@r.rupaymh 2 жыл бұрын
i have the same doubt, anybody got solution please help
@andersonbeux5857
@andersonbeux5857 2 жыл бұрын
@@r.rupaymh I just posted here on the comments mate
@balveivan
@balveivan 3 жыл бұрын
Thank you Sir, this is a great video, you clear in only 12 minutes questions I had since many days ago
@TomiwaAdegbola
@TomiwaAdegbola 2 жыл бұрын
This is an amazing tutorial. Thanks a lot for sharing.
@SethChristianWells
@SethChristianWells Жыл бұрын
Amazing video and super helpful! One of the best I found. Is there a way to use Lost Customers as a slicer?
@HangNguyen-ep9ms
@HangNguyen-ep9ms 3 жыл бұрын
thanh you soooo much. This is exactly what I am looking for. Merry Christmas!!!
@user-hu7ov6fi9y
@user-hu7ov6fi9y 3 жыл бұрын
Dear Reza, That was really insightful. Thank you for sharing.
@arthurronnie7311
@arthurronnie7311 5 жыл бұрын
Thanks Rad, this is very helpful!
@dasrotrad
@dasrotrad 5 жыл бұрын
Excellent and useful! Thank you.
@fajnefajne4339
@fajnefajne4339 4 жыл бұрын
Thank you very much for this great inspiration. Great quality, great explanation. Thumb up and I will became a loyal subscriber.
@Search4Knowledge
@Search4Knowledge 2 жыл бұрын
This was a great video! one drawback, your grand total isn't working, you need to use a sumx to fix that.
@muhammadaamiraliansari9378
@muhammadaamiraliansari9378 5 жыл бұрын
Simple and really practical!
@ericet19
@ericet19 5 жыл бұрын
Awesome !!! Thank you for this.
@gagansingh3481
@gagansingh3481 Жыл бұрын
Awesome sir could you please make it on date as well
@andersonbeux5857
@andersonbeux5857 2 жыл бұрын
Amazing video! Many thanks!
@kashifhaque2085
@kashifhaque2085 5 жыл бұрын
Excellent!
@asimabdulwahab9444
@asimabdulwahab9444 5 жыл бұрын
VERY NICE VIDEO
@psanders4754
@psanders4754 Жыл бұрын
how do you get the dynamic number for lost numbers and new users
@jonathannavaropaterna1014
@jonathannavaropaterna1014 5 жыл бұрын
Hey! Thank u for your video! It’s perfect, only I have a little problem....I want to put in a card the number of new customers “1” that I have in my table.....how I can do it ?? It doesn’t work 😭
@RADACAD
@RADACAD 4 жыл бұрын
There are different ways to calculate the total in a DAX measure. using Iterators is one of them. I might do a blog/video about it.
@jonathannavaropaterna1014
@jonathannavaropaterna1014 4 жыл бұрын
RADACAD Thanks you for answer ! Would be perfect watch that vídeo if you do it and its possible ☺️
@josestanly6869
@josestanly6869 5 жыл бұрын
Simple & effective ...thank you .....is there any way to count those lost customers or sum
@RADACAD
@RADACAD 5 жыл бұрын
Yes there is, you can slightly modify the expression to cover that, I may do another video on that later on
@chopan_ss
@chopan_ss 5 жыл бұрын
@@RADACAD Please help with that, I really need it!
@andersonbeux5857
@andersonbeux5857 2 жыл бұрын
@@chopan_ss I just posted here on the comments mate
@opeyemi7761
@opeyemi7761 3 жыл бұрын
Thank you for this.
@sherlock27
@sherlock27 4 жыл бұрын
Excellent! Thanks ! Btw, may i know how to count those lost customers? i've tried this dax Number of lost cust = CALCULATE( COUNTROWS(Sales), FILTER( VALUES(Sales[Customer Name]),[Lost Customer]=1) ) but the value is not accurate.
@RADACAD
@RADACAD 4 жыл бұрын
I have done a blog post about that here: radacad.com/calculate-totals-in-power-bi-using-iterators-in-dax
@O_Alef
@O_Alef 5 жыл бұрын
great, very useful, could have just a counter for lost and won customers
@alefsouzadeoliveira2612
@alefsouzadeoliveira2612 5 жыл бұрын
a card value do you know?
@YYLfrank
@YYLfrank 4 жыл бұрын
Like the basic concept of these logic.
@ericet19
@ericet19 5 жыл бұрын
I love your video but when I try and do it, it works BUT I also want to know the Total Lost Customers and in your example and mine that I made the Total Lost Customers is 0 which does not add up to give me the total lost customers ? How do I fix that ?
@RADACAD
@RADACAD 5 жыл бұрын
Hi Eric. Will post another blog/video about that :)
@Alex_Lindley
@Alex_Lindley 5 жыл бұрын
@@RADACAD Hi , did you manage to post another Video about this? I have about 40,000 customers to work through and it's difficult without the totals.
@777tmack
@777tmack 5 жыл бұрын
@@Alex_Lindley a little bit more complicated, but did you try ... www.daxpatterns.com/new-and-returning-customers/
@andersonbeux5857
@andersonbeux5857 2 жыл бұрын
@@Alex_Lindley I just posted here on the comments mate
@ShijuKattarkandy
@ShijuKattarkandy 2 жыл бұрын
How can we get the total lost customer? The current if statements output is not showing a grand total
@RADACAD
@RADACAD 2 жыл бұрын
check out this video for more measures about it: kzfaq.info/get/bejne/obmpYJqGrcuYeHk.html
@koshelevkl
@koshelevkl 3 жыл бұрын
Thank you very much!
@777tmack
@777tmack 5 жыл бұрын
Interesting, but it would be more useful to have New, Lost or Continuing all in one Colum to use as a filter.
@RADACAD
@RADACAD 5 жыл бұрын
Yes, it just need a new measure with a SWITCH or IF statement in it. I might do a video about it later.
@OmarAlvarezGarcia
@OmarAlvarezGarcia 4 жыл бұрын
@@RADACAD it will be interesting to get that as a filter, did you manage to make a video about this filter?
@rexson75
@rexson75 3 жыл бұрын
Hi Reza, I have one questions about the data model, instead of date if we have a customer id, week number, purchase by week
@ij4800
@ij4800 3 жыл бұрын
Please tell me how I can count the deleted items from last month for each category? I tried to use your example but it seems not working or maybe I do something wrong.
@analytikmindz5390
@analytikmindz5390 3 жыл бұрын
Sir,How to get total of lost customers? it is 0 why?
@andersonbeux5857
@andersonbeux5857 2 жыл бұрын
I just posted here on the comments mate
@jhoaniecauan2247
@jhoaniecauan2247 2 жыл бұрын
How can you calculate the total lost customers then with that measure?
@maximilianoluisromero8484
@maximilianoluisromero8484 4 жыл бұрын
hello. I been triying to do the last sales formula. it happens that my calendar table has greater dates than de last invoice date so I tried to use last day of invoice table as last date but i cant figure out why it isn't working. The behavior is strange since last date brings older sales than selected period. what can it be the problem? thans best regards.
@baskarvijayan3282
@baskarvijayan3282 4 жыл бұрын
Hi Raza, How can i rewrite this DAX in better performance , Please help on this. It till execute around 60 seconds, sales table contains 9 crores on records Active Member Base Last 2 Year:= CALCULATE( distinctcount(Sales[Customer]), Sales[New Customer Flag] in {1,0}, DATESBETWEEN( 'Date'[Date], DATEADD(FIRSTDATE('Date'[Date]),-23,MONTH), LASTDATE('Date'[Date]) ), ALL('Date') )
@paradise2324
@paradise2324 2 жыл бұрын
How to calculate retained customers
@Gunterlund583
@Gunterlund583 5 жыл бұрын
If Im using a date slider as my selection, how do I encorporate the date from this. Does the low and high date on the slider get seen as variables? If I want to look back 12 months from the higher date what do I use.
@RADACAD
@RADACAD 5 жыл бұрын
I have created another video about dynamic period calculation in DAX. that will give you how such thing can be implemented.
@Gunterlund583
@Gunterlund583 5 жыл бұрын
Is there a way to make that new customer value a dimension so you can filter on it?
@RADACAD
@RADACAD 5 жыл бұрын
If you want to do that, there are multiple ways. One is to generate a table (calculated table) with the measure value as a column in that table. then you can use it for filtering. However, that won't be dynamic calculation anymore.
@matteova3973
@matteova3973 4 жыл бұрын
im tring to display the sum of of lost revenue using difference between total and period sum filtering for lost customer, but i cant make it work dax im trying lostrev= calculate([difference total-period]; filter(invoice; lostcustomer=1)) anyone can help?
@RADACAD
@RADACAD 4 жыл бұрын
You can use an iterator. I explained something similar here (for the total count, you can apply similar approach for the total revenue): radacad.com/calculate-totals-in-power-bi-using-iterators-in-dax
@sayandey9912
@sayandey9912 2 жыл бұрын
Where can i find the sample data used?
@blse2000
@blse2000 4 жыл бұрын
Awesome
@olumuyiwaakinyede3242
@olumuyiwaakinyede3242 6 ай бұрын
countx not working
@marounsader318
@marounsader318 5 жыл бұрын
how can we know the lost customers among all the data no i a specific period?
@RADACAD
@RADACAD 5 жыл бұрын
Hi Maroun. what do you mean lost customer among all data? you mean someone who has been your customer and not anymore? this ANYMORE means you need to specify a period that says from this point of the time if they are not a customer, then considered as lost. I can't understand the logic that it works without a period!
@marounsader318
@marounsader318 5 жыл бұрын
@@RADACAD mmm cant we make it read the max date in the dataset and then consider it in the period?
@RADACAD
@RADACAD 5 жыл бұрын
@@marounsader318 still doesn't make sense. let's say max date in your dataset is 2nd of March 2019. then you want to find out if there is no transaction for clients after that, then they are lost? but there will be no transactions anyway, because that is the last (max) date in your dataset. As I said, you need to find the logic first.
@marounsader318
@marounsader318 5 жыл бұрын
@@RADACAD you are right i guess with that logic we can't know our absolute lost customer.
@TheHarshit003
@TheHarshit003 5 жыл бұрын
Hello Sir can you please share link to data or order date format.
@RADACAD
@RADACAD 5 жыл бұрын
the dataset is available in the blog post with the link under the video
Find All Errors in All Columns using Power Query in Power BI
11:02
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 18 МЛН
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 19 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 57 МЛН
Solving errors in CALCULATE filter arguments
30:55
SQLBI
Рет қаралды 28 М.
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 100 М.
Advanced Customer Analytics with Power BI - Sam Fischer
1:19:28
Apex Insights
Рет қаралды 44 М.
Customer Retention in Power BI   DAX Measures
10:10
RADACAD
Рет қаралды 29 М.
FIND OUT LOST AND NEW CUSTOMERS USING POWER BI
22:16
Syphon Analytics
Рет қаралды 7 М.
Comparing with previous selected time period in DAX
10:23
DAX for Power BI - Easy Cohort Analysis
9:36
BI Elite
Рет қаралды 59 М.
Power BI & DAX - New Customers
12:00
BA Sensei
Рет қаралды 1,5 М.
Who Are The Lost Customers - Advanced Analytics With Power BI & DAX
10:06
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 18 МЛН