Creating a Pareto Chart Using DAX and Native Visuals in Power BI

  Рет қаралды 45,031

Havens Consulting

Havens Consulting

Күн бұрын

Пікірлер: 87
@pabeader1941
@pabeader1941 3 жыл бұрын
Here I am, finding this video over 2 years later. Pausing to write you a thank you for posting this. Was fighting an issue that with my pareto that I just couldn't get to work right. Followed along with this video and found my error. Plus a little nugget about the measure being specific to the horizontal axis of choice. Thanks Parker and Reid.
@gabrielesimonetti4212
@gabrielesimonetti4212 2 жыл бұрын
Thanks! Really a good method, logical and easy to follow with no hidden measure.
@pushkalsuri73
@pushkalsuri73 4 жыл бұрын
What if Revenue is equal of two categories in your case Product Type. Cumulative Total will not give correct result if revenue will be equal. Filter function will iterate and will capture 2 or more product type having same revenue while summing the revenue variable. Do you have solution to this problem???
@MayankKumar-so6sr
@MayankKumar-so6sr 3 жыл бұрын
I am facing the exact same issue. Please let me know if there's a solution.
@christophermueller3373
@christophermueller3373 4 жыл бұрын
How do you handle exact same values? Like if the Revenue is exactly the same.
@TheTman307
@TheTman307 3 жыл бұрын
I also want to know this!!
@ShankhaDeepKarmakar
@ShankhaDeepKarmakar 3 жыл бұрын
You need to create an additional table (say ranking table with columns product and revenue) and calculate the rank based on two fields. Rank the Product Types as well first. product Rank = Rankx(All(RankingTable),[revenue]) Then create a column Composite rank = var __max = Max(rankingTable[product rank]) return rankx( all(rankingTable), [revenue]* __max + rankingTable[product rank]) then use this ranking table in your pareto measure. note: I have typep this using my phone, so might be few syntax error
@tomoleusz
@tomoleusz Жыл бұрын
Thank you soooo much! Helped me a lot in my project!
@andreanikitacavaletti9761
@andreanikitacavaletti9761 Жыл бұрын
Simply WOW. Open mind solution Thanks
@caboco45
@caboco45 4 жыл бұрын
how do i group it dynamically by diferent levels of hierarchy(diferent columns)?? And dinamically changing by the selected levels/items? Still, you saved my life man! Now, my pareto's are working better! thanks!
@MarcinKorzeniowski-g1v
@MarcinKorzeniowski-g1v Жыл бұрын
Hi, I have noticed bug here. When there are 2 or more same high columns then pareto line do not sum cumulate values from these same columns... Do You have it also ? I do not know how to fix it...Can You help me?
@gingermo
@gingermo 6 ай бұрын
Damn,this is epic!!!
@lovemoregumbo8544
@lovemoregumbo8544 5 жыл бұрын
Great video but the report is too slow for large dataset. what do i do?
@BIElite
@BIElite 4 жыл бұрын
Hi Jenifer, I can't tell you exactly how to speed it up as this is the best solution that I've come up with. I bet that some of the DAX gods like the people over at SQLBI could speed it up a bit. Maybe check out some of their DAX optimization techniques? www.sqlbi.com/topics/optimization/
@Evan-mh7it
@Evan-mh7it 4 жыл бұрын
For whatever reason I don't have the advanced controls option when trying to set the conditional formatting, anyone know why that might be?
@samp2286
@samp2286 3 жыл бұрын
It is Amazing! Thanks
@HavensConsulting
@HavensConsulting 3 жыл бұрын
Glad you like it!
@Jack.Of.All.
@Jack.Of.All. 5 жыл бұрын
Thanks
@mohamadabdelwahed509
@mohamadabdelwahed509 4 жыл бұрын
i do the same calculation on my model but some value shows no value that not make the effect what is the wrong on the following equation (instead of product in your example i put sales by site) (sales 2020 = expression ) PARETO% = VAR TotalRevenue = CALCULATE(Sales[2020 sales],ALLSELECTED('Sales')) VAR CurrentRevenue = Sales[2020 sales] VAR SummarizedTable = SUMMARIZE( ALLSELECTED(Sales), Sales[Site_1], "Revenue",Sales[2020 sales] ) VAR CumulativeSum = SUMX( FILTER(SummarizedTable,[Revenue] >= CurrentRevenue), [Revenue] ) RETURN DIVIDE(CumulativeSum,TotalRevenue)
@vinhlam1753
@vinhlam1753 Жыл бұрын
I experience the same problem now. did you find any solution?
@myazigi
@myazigi 5 жыл бұрын
That is an awesome one, thank you!!! Any chance to share the pbix?
@HavensConsulting
@HavensConsulting 5 жыл бұрын
Absolutely! I just added the link in the video description. :)
@cvbusagmailcom
@cvbusagmailcom 5 жыл бұрын
Yes … this really is awesome --- I just added it to one of my reports. Thank you very much for sharing!!!
@myazigi
@myazigi 5 жыл бұрын
Thank you so much!! @@HavensConsulting
@sarahletailleur310
@sarahletailleur310 5 ай бұрын
Why no one is showing a video on how to do a Pareto when you a duplicated values argggggggh
@spilledgraphics
@spilledgraphics 4 жыл бұрын
Interesting approach to the Pareto situation! Good tip on minute 05:19 to show the results of the summarized table
@divyansh07
@divyansh07 3 жыл бұрын
Would this work with a slicer for time as well ? Like, if I wanted to see the top 20% customers based on revenue from a particular month
@willgart1
@willgart1 4 жыл бұрын
is the formula effective? let say I have these numbers: 1000,500,500,500,500,500,500 (total = 4000) in your pareto measure everything except the 1000 value will be at 100%. we should have a running total formula in place (and some order in place based on the $ then the product type)
@jeremyfirth
@jeremyfirth 4 жыл бұрын
I have this same issue. When you have duplicate values, whatever the total would be for the last duplicate becomes the value for all the duplicates using this measure, which is not correct.
@BIElite
@BIElite 4 жыл бұрын
Hi, yes this would cause an issue for this formula. If you wanted to get around this, you can add a column to the SUMMARIZE clause that would rank the data based on the value and a specific order that you specify. You can then use this ranking when returning the final Pareto %. I don't have the exact code to accomplish this (since I've never done it) but I'm sure that this would be possible.
@isidrebague3659
@isidrebague3659 3 жыл бұрын
Hi @@BIElite , I ended up solving it this way. I imagine it is not the most elegant, but it works. www.linkedin.com/pulse/valores-id%C3%A9nticos-en-un-gr%C3%A1fico-de-pareto-isidre-bagu%C3%A9-s%C3%A1nchez?articleId=6722864315512209408#comments-6722864315512209408&trk=public_profile_article_view
@elmahdielmaachy4153
@elmahdielmaachy4153 Жыл бұрын
Yes , I have the same problem related to any duplicate value ?? i add a additional table , but it isn't working 🤔🤔
@thiagoyoshimura
@thiagoyoshimura 2 жыл бұрын
Thank you so much for this tutotrial. This is a different method than most of other explanations through the internet. Fortunately, this method worked for me, while others failed. In my case I had to do a cumulative sum of averages (calculated as a measure), and your way of creating a sumarized table, worked very well.
@danfoord3718
@danfoord3718 2 жыл бұрын
My "revenue" parameter comes up as a being "parameter not correct type". Any ideas. Lost a few hours on this now! My table name has '' around it I wonder if that is the problem? Total_spend is a numerical variable. Pareto curve = VAR RunningTotalSpend = CALCULATE(SUM('Table1 (2)'[TOTAL_SPEND]),ALLSELECTED('Table1 (2)'[IC11_DESC1])) VAR CurrentSpend = sum('Table1 (2)'[TOTAL_SPEND]) VAR SummarizedTable = SUMMARIZE( ALLSELECTED('Table1 (2)','Table1 (2)'[IC11_DESC1],"Revenue",SUM('Table1 (2)'[TOTAL_SPEND]))) Any guidance much appreciated.
@ChocoHammer
@ChocoHammer 6 ай бұрын
Ty, great vid! Thanks to you, I was able to do the Math in one measure. My only Nemesis are the negative numbers. I dont know if my Math is bad or if the pareto dont work with negative numbers :D like what if the revenue is minus.
@cleanermail8816
@cleanermail8816 5 жыл бұрын
Wow! Great feature that I can use today! Thanks!
@stobbie2415
@stobbie2415 5 жыл бұрын
First of all thanks for the guide. There's one thing that doesn't seem to work, and that's when two values have the exact same quantity. The first value is not added to the cumulative, the second one is added twice. For example A = 2, B = 1, C = 1, will result in a pareto that looks like 50%, 50%, 100% instead of 50%, 75%, 100%. Any way around this?
@christianjohansson9944
@christianjohansson9944 5 жыл бұрын
I have the same problem, have you found a way around this?
@stobbie2415
@stobbie2415 5 жыл бұрын
@@christianjohansson9944 not yet, dealing with big sample sizes so it doesn't come up very often. Haven't looked into it any further.
@christianjohansson9944
@christianjohansson9944 5 жыл бұрын
@@stobbie2415 Ok too bad, I will keep using R then. It would be nice to have the interactive Power BI experience for my Pareto-charts.
@alexpspa60
@alexpspa60 5 жыл бұрын
Having the same issue.
@nghuwei
@nghuwei 5 жыл бұрын
I’m having the same issue. Is that possible if Havens Consulting can advise us on this
@aakashjaiswal2003
@aakashjaiswal2003 3 жыл бұрын
Superb explanation! Do you have a course which can teach us to learn these advanced measures/visuals?
@HavensConsulting
@HavensConsulting 3 жыл бұрын
Thank you. Both Parker Stevens and I provide training courses. Parker's are located here training.bielite.com/ and mine are here www.havensconsulting.net/online-courses
@shaoboji437
@shaoboji437 5 жыл бұрын
A little confused about the logic [Revenue] >= CurrentRevenue. What if the summarize table is not desc ordered, or even not ordered at all? Can we control the order of the summarize table? Thanks.
@BIElite
@BIElite 4 жыл бұрын
I don't think you can control the order of a summarized table but you can create a ranking column that you can use in later formulas.
@fabioplos1534
@fabioplos1534 5 күн бұрын
Mate I saw a few videos on the topic, but your was the easier to follow and with the simplest calculation. Thank you
@HavensConsulting
@HavensConsulting 4 күн бұрын
You're welcome!
@LindaHlomendlini
@LindaHlomendlini Ай бұрын
Hi, I hope you are well, I just want to say thank you, I have been struggling with this for the longest time, I highly appreciate you spending your time to create this video.
@HavensConsulting
@HavensConsulting Ай бұрын
Glad I could help!
@BoštjanKralj
@BoštjanKralj 8 ай бұрын
Great video. I have only an issue that on x-axis (type = continuous) I have negative and positive values and pareto line for negative values decreases from 100% to 0% and for positive values it increases from 0% to 100%. In fact i have a pareto line which looks like "V" shape. What should I do that it look like a proper pareto line...
@HavensConsulting
@HavensConsulting 8 ай бұрын
Generally pareto's work best with positive values only. One idea is that you could convert everything to an absolute value using ABS in DAX, but just for the pareto line, still display the original value on the chart as negative
@thanomnoimoh9299
@thanomnoimoh9299 Жыл бұрын
Greates method for cumulative total bar chart and SELECTEDVALUE , thankssss😂😂
@HavensConsulting
@HavensConsulting Жыл бұрын
You're welcome!
@adamhasral3634
@adamhasral3634 Жыл бұрын
Hi, I would like to ask a question. With the addition of the conditional formatting, how would you add a legend to show the names between the vital few and significant many?
@HavensConsulting
@HavensConsulting Жыл бұрын
Unfortunately there's no native way to add a legend like that. Unless you used a custom visual like the HTML5 Content Viewer or similar, and made your own SVG rendered legend. But that would need to be "coded" from scratch basically :\
@ก้างแมว-ฑ8ถ
@ก้างแมว-ฑ8ถ 2 жыл бұрын
it's great! but I have some question. How to creating pareto if column that you want to filter in same table of value Ex. if product column in sales table. Can you help me? please
@KMRamos-fr7du
@KMRamos-fr7du 2 жыл бұрын
Awesome tutorial! Simple, on point, and beginners-friendly. Thank you so much for this!
@rauljimenez5485
@rauljimenez5485 4 жыл бұрын
Excellent step by step deconstruction and buildup of the process to create the measure. Great explanation on general work flow to develop more complex formulas. Thank you very much!!
@tomoyat5517
@tomoyat5517 3 жыл бұрын
Wow I liked the tip on creating a table to see it. I always do it in my brain and often get lost and had to write on iPad
@Gergz123
@Gergz123 2 жыл бұрын
Thank you very much! I hope that God bless your day, you helped me a lot!
@shantanujoshi2600
@shantanujoshi2600 3 жыл бұрын
Excellent Informative Session Thanks a lot
@alafortlucie4228
@alafortlucie4228 3 жыл бұрын
Very useful !!! Thanks a lot !
@sammiyin3516
@sammiyin3516 3 жыл бұрын
Thank you! This is super helpful!
@astromanicdave
@astromanicdave 3 жыл бұрын
Great demo. Worked perfectly
@Wildkomments
@Wildkomments 2 жыл бұрын
Hi, any reason why my total revenue and my currrent revenue are comign out the same? I get a horizontal line when i return C/T or T/C Pareto % = VAR TotalRevenue = CALCULATE(SUM(apsq[Sales Revenue]),ALLSELECTED(apsq[Sales Revenue])) VAR CurrentRevenue = Sum(apsq[Sales Revenue]) return TotalRevenue/CurrentRevenue
@Wildkomments
@Wildkomments 2 жыл бұрын
NVM i had to ALLSELECT(dataset)
@DoubleB21
@DoubleB21 Жыл бұрын
Incredibly helpful video! Thank you!
@HavensConsulting
@HavensConsulting Жыл бұрын
Glad it was helpful!
@rogervandecraen9797
@rogervandecraen9797 2 жыл бұрын
very instructive video on pareto and DAX, well explained how the measure works, Is there a Pbix file from this video where I can test with thanks in advance Roger ( new to this channel )
@HavensConsulting
@HavensConsulting 2 жыл бұрын
Sure thing. There's a link to my Blog Files page in the description if you're an email subscriber. Link in there to sign up as well :)
@bones10145
@bones10145 3 жыл бұрын
That is great! Thanks.
@jhormangomez2268
@jhormangomez2268 2 жыл бұрын
Beautiful!
@ЭлектростальскийКолледж-м5й
@ЭлектростальскийКолледж-м5й 4 жыл бұрын
Спс!!! Ваще норм 👍👍👍
@MacPaulos
@MacPaulos 5 жыл бұрын
Nicely explained.
@davepoppenhouse4459
@davepoppenhouse4459 5 жыл бұрын
Fantastic demo. thanks Parker!
@nikz0001
@nikz0001 5 жыл бұрын
awesome great work
@Oweste70
@Oweste70 5 жыл бұрын
Really useful. Thanks.
@gabrielanolasco5330
@gabrielanolasco5330 3 жыл бұрын
Thank you so much for this video! I was hoping to find some Pareto Model but dynamic like this one. I just have a quick question. I see that you kinda use just one measure that groups every other measures to find the Pareto line. But I would like to know if there's a chance to use that same measure or another one to maybe count how many products we have per country and how many of them are Pareto. I'm trying to figure out this because I have a report with like a thousand products and I wanna use maybe some cards so people can see actually how many products of total are Pareto. Thank you so much again.
@muhammadadnan6620
@muhammadadnan6620 Жыл бұрын
are you able to resolve this issue as i am also struggling with the same as i have 29K customer so i am getting correct result with measure but when i select multiple months it shows result after may be 50 seconds or sometime i received visual exceeds resources error.
@muhammadadnan6620
@muhammadadnan6620 Жыл бұрын
with more data i dont think this will work as power bi takes lot of time to process the vtable with lot of customers
@JonathanJalles
@JonathanJalles 2 жыл бұрын
Very thorough explanation! Really thanks
@HavensConsulting
@HavensConsulting 2 жыл бұрын
Glad it was helpful!
@elvinkcn
@elvinkcn 3 жыл бұрын
Impresionante! Uno de los mejores definitivamente. Muy bien explicado, muchas gracias!
Creating Groups and Histogram Bins in Power BI
5:51
Havens Consulting
Рет қаралды 51 М.
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,4 МЛН
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 6 МЛН
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 16 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
Learn how to create Pareto chart in PowerBI!
16:21
Pradip Pardeshi
Рет қаралды 45 М.
Creating a Slicer Pop Out Window with Bookmark Buttons in Power BI
10:22
Havens Consulting
Рет қаралды 94 М.
Taking Buttons in Power BI Desktop to the Next Level
10:48
Guy in a Cube
Рет қаралды 402 М.
Динамический АВС-анализ в Power BI (часть 2)
20:53
Созвездие Power BI
Рет қаралды 8 М.
Pareto Chart in Power BI - Visuals with Nags
11:55
Analytics with Nags
Рет қаралды 9 М.
Creating A KPI Scorecard Report: Part 1
13:59
Havens Consulting
Рет қаралды 36 М.
Create A Pareto Chart In Power BI Using DAX Function Combinations
11:02
Is this Samsung's change over time #shorts
0:13
Si pamerR
Рет қаралды 772 М.