NOTE - The Pseudo Prod Table is linked to the Product Table >> Product Name Column (One to Many Relationship). DOWNLOAD PBIX - chandeepchhabra-my.sharepoint.com/:u:/g/personal/chandeepchhabra_chandeepchhabra_onmicrosoft_com/EdyCVJETeWNLhnAqqHJT1gcBN4Z7XZnrM2Bz5_wKC4jDpQ?e=f73ylA Also use this code to get the correct totals Top N SUM Table = VAR TOPNSelected = SELECTEDVALUE('TopN Selection'[Value]) VAR CurrentProd = SELECTEDVALUE('Pseudo Prod Table'[Product]) VAR TopProducts = TOPN( TopNSelected, ALLSELECTED('Pseudo Prod Table'[Product]), [Total Sales] ) VAR TopProdSales = CALCULATE( [Total Sales], KEEPFILTERS( TopProducts ) ) RETURN IF( HASONEVALUE('Pseudo Prod Table'[Product]), SWITCH( TRUE(), CurrentProd "Others", TopProdSales, CurrentProd = "Others", CALCULATE( [Total Sales], ALLSELECTED('Pseudo Prod Table'[Product]) ) - CALCULATE( [Total Sales], TopProducts ) ), [Total Sales] )
Is it possible to create a drill through from this chart for 'Others' to a detail page where it shows details of data that belongs to this 'Others' category.? Thanks.
I can't thank you enough on how you broke this down. I spent 2 days watching other videos, and it was so confusing. You did an amazing job explaining step by step in addition what and why we were doing what we were doing to get to where we needed to be. Thank you!!
My brother, I just had a major breakthrough while watching this video for the second time. Using the instructions you graciously provided, I may have just came up with a design for my companies sales team that will prove to have major benefits across the entire department. Thank you so very much for explaining this concept in an easy to understand way. I love your tone and cadence. So much information is so easily taken in. You are awesome.
This is the excellent example, step by step commentary provided. This weekend, I have spent my time to get solution on the same requirement and I would say this is the best video out of all the available on the TH-cam. Great stuff Chandeep! Thank you and best of luck!
In your data model, join the pseudo table to the main table that it was built from. The calculation/measure to sum or count will use that main table. Once that join is there, from the pseudo table to the main table (1:M) then you should be good. If not, look for errors. For example, it didn't work at first for me because I defined by 'Other' category as 'Other' instead of 'Others'. When it came to the Top N measure I used what I saw which was 'Others'. Oops. When I changed that to 'Other' then it worked. Nice job by the creator but also nice feedback from the community to fill in the gaps.
I have linked my pseudo table to the main table but I still cannot get the topN function to get the total sales figure to show up. What am I doing wrong?
This is an excellent video and perfect illustration. Step by step with no errors. I mean excellent and what I was looking for. Goodly, you have yourself a customer. I will be buying your DAX course, by the grace of God this week.....
Thanks so much! This video let me see hope in a situation I'm trying to tackle. In addition to put the non-selected items to Others group, I already have an "Others" item in the product list(in my case it’s a brand list) and I need this Others to always be pushed to as part of the bigger Others. Also, I need to create an extra item, which is the sum of certain two brands, and also show its position alongside with the two of its components. For the bigger Others and this summed item, both their rank need to be blank. But for display order, the bigger Others needs to be place at the end while the summed item appears in accordance with its position. And the dynamic interactions with the slicers also needed. I sort of done this (for a fixed Top N number) through power query by separately making the components I need (the bigger Others, the Top Ns, the summed brands, and the Grand total, and then append them together as the final result. But I’m thinking if this is even possible in Power BI? Would be so grateful for any suggestions on the thinking direction!
@goodlychandeep you're a godsend. I'm prepping for an interview, needing to know this very thing. You have an excellent method of teaching and I am learning a lot. I knew how to do this on excel and SQL but not PowerBI
Hi! Many thanks for this video! I love the way you explain all aspects. 😊 Would it be possible for you to show how to set up the formula to get correct totals if we want to show tabular view? Right now the total is the sum of top N 😢
This is one of the best approaches. I still have one issue. If we want to use it with axis that has years, the TOPN is evaluated year by year which doesn't work when TopN is to be used as a legend. The legends will be inconsistent across years.
Thanks Chandeep! This solution works well. I have tried to adapt it to calculate top performers for the next level of granularity. I have an Agent Table in my model. Some Individual agents may be part of different networks (next level of granularity). I produced measures to calculate top performing networks. When doing so, the agents who do not belong to any network were added to "Others". I am struggling with the ranking measure though, to have the "others" bar at the bottom. I would be very grateful for your help with this!
Super Helpful Video -- How would adjust this to rollup correctly in a matrix? Currently, I am getting this to show only values of the top values and not the "others"
HI, Thanks for this. Can we make the category dynamic by field parameter instead of product, we can choose Shade, Category, Customer, State etc on the report like top n days?
Really appreciate this video. Sadly I fell down at the 15:45 mark because the Others Category does not appear for me if I try and filter the data using another connected table.
Hi, thank you so much for this video!! I followed all your steps and everything adds up perfectly. I also added the relationship, but the sum of my Grand total is incorrect, it give me the total of TopProdSales . Could someone please advice.. 😊
For someone that might have this issue in the future.. Here is what worked for me. Replace the Return statement with this: RETURN IF( HASONEFILTER('Pseudo Prod Table'[Product]), IF( CurrentProd "Others", TopProdSales, OtherSales ), TopProdSales + OtherSales )
Thanks a lot your work is great. can you share one video for chart formatting and full report formatting. if possible please share all element formatting video.
Its not one product left. Its when each row acts as a filter when we drag TOP N sum then it means that there is one value that it has. So one value would always be among the top 3 or bottom three or any three or max three anything . Hence it is giving the sales amount of that particular value in product column.
Spell bound. How a complex problem solved with ease. And , the way you explained each step is super. Keep enriching us with your great ideas. How can we get the top product of the current year and show its trend over the years?
This is a great video and was very helpful to me. However I think the video misses out the need to connect the newly created table of products with the extra "Others" line item added, to the existing original table of products, using a one ( from the new pseudo table to many relationship relationship ( on the original table). Otherwise the Top N calculations simply don't work as your employing measures on a fact table that need to be filtered by a dimension coming via the original products table. I employed your technique to create an "Others" total for a sales by Customers table, my use case was a little more extreme as I had multiple business units I needed to filter down as well on the Topn dimension , plus I was using switch formulas to move between different Metric Qtys, ( ie Sales $ and Sales Kg and Avg Prices) rather than working on a products table but the nonetheless same ideas held. However I could not get the technique to work until I had connected the new "psuedo" table to the original table using a one to many relationship. This doesn't appear to be addressed in the video and the video leaves the impression after creating the new psuedo table you can dive straight in and create new measures employing the psuedo table, and you can but they simply wont work until you connect up the tables.
No worries mate, I am subscribed to your channel now. Thanks again for a great video, happy I could help out a little and pick up a minor issue. Shows me my learnings of dax are starting to improve :)
great video. Thanks! I was struggling to show % by periods: in your example you have overall total, while I need by years in %. , chatgtp reworked a formula a little bit.
This is great help, thanks! Could you please tell me if there is a way to show this bar chart in 2 layers, first layer is like what you show, then the second layer shows what products are in "Others"? Thank you so much in advance!
One easy way is to create a table with Products and Total Sales. When you filter Others on the chart you'll see all the rest of the products and their sales values.
Hi! Thanks for the amazing tutorial. It is really very well explained. However, I am stuck at creating an area chart with TopN + Others and using it in the legend, can you please help me out here?
Thank you Chandeep it was a great video. I have a requirement like one table and one slicer slicer values like A, B, C if I click a then display b+c values and if I click b then a+c values like that...
Thanks for the video. Can you please advice , I am able to get the Clustered chart for top 5products+Others but I need a Stacked Chart with the split of each bar for Top 5 Products eg:Top1,Top2.... to be splinted on the basis of Model Name according to the Dataset you have provided.
Hi! Thank it did work but I have a question, what if in the top 3 I want to exclude 2 of the products that are there, but in the sum of "Others" I do want them in there?
Thank you very much, very good solution however I have a problem. When selecting a top, 2 for example, if the two dimensions cover 100%, the "Others" bar will still appear, but with a value of 0. Can it be prevented from appearing? It also appears at No. 1 according to the order of the ranking.
Great explanation! I used the codes from the download PBIX file in the link you shared. I have an issue with Top N total. Please clarify with the related code here. Thank you Chandeep! Appreciate your work.
Thank you very much for your quick reply. Maybe an update of this video for the ranking with others being the bottom of the table. Once again, thank you very much for the quick response.
HI, Excellent tutorial, thank you. What if I needed to find out how many times a product appeared in TOPN, for example in 2004? Let's say I evaluate TOPN on a weekly basis. I can't create a virtual table and then view the result. The visual obviously has a problem with the summarize and summarize columns functions. Is there a solution?
thanks for the great video :) I am trying to replicate this for bottom N sales (with a rankx function), but cannot fix the "Others" - it sums the total amount of sales and does not subtract the selected bottom products. Is there a way to fix that?
One question, if I press the others bar, will the rest of the dashboard show only the visualizations for Other products? If not, is there a way to achieve it? Thank you! Great Video!
Hi, When I use color change measure in conditional formatting as explained in the video it does not work. It reflects mdx Script error (45,3). How to resolve the error.
Hi! In a scenario, a product and category both are in same table. And I want to filter product by each category separately. i.e. products split into two slicers named bikes products and components products. When I filter each product, it should add to crosstab. Can you please help me how to achieve this?
When i use this dax function iam facing an issue. When two or more values are same it is considering those values as one and showing all values. What i want is only it shoud show top 5 records even values are same. How to achive it
Thank you Chandeep - this is teh type of the analysis that makes analysis excellent. We analysts need to make it easier for the consumers to make it easier to digest the huge amounts of data. Thank you Sir
Hi Chandeep, hope you're doing well.. How can I create stacked bar chart considering only top5 products and countries as legend and on X-axis? I am only able to select top products using topN...
NOTE - The Pseudo Prod Table is linked to the Product Table >> Product Name Column (One to Many Relationship).
DOWNLOAD PBIX - chandeepchhabra-my.sharepoint.com/:u:/g/personal/chandeepchhabra_chandeepchhabra_onmicrosoft_com/EdyCVJETeWNLhnAqqHJT1gcBN4Z7XZnrM2Bz5_wKC4jDpQ?e=f73ylA
Also use this code to get the correct totals
Top N SUM Table =
VAR TOPNSelected = SELECTEDVALUE('TopN Selection'[Value])
VAR CurrentProd = SELECTEDVALUE('Pseudo Prod Table'[Product])
VAR TopProducts =
TOPN(
TopNSelected,
ALLSELECTED('Pseudo Prod Table'[Product]),
[Total Sales]
)
VAR TopProdSales =
CALCULATE(
[Total Sales],
KEEPFILTERS( TopProducts )
)
RETURN
IF(
HASONEVALUE('Pseudo Prod Table'[Product]),
SWITCH(
TRUE(),
CurrentProd "Others",
TopProdSales,
CurrentProd = "Others",
CALCULATE(
[Total Sales],
ALLSELECTED('Pseudo Prod Table'[Product])
) -
CALCULATE(
[Total Sales],
TopProducts
)
),
[Total Sales]
)
Is it possible to create a drill through from this chart for 'Others' to a detail page where it shows details of data that belongs to this 'Others' category.?
Thanks.
Is it possible to create "Others" In a live Connection?
@@jishnusachidanandan5866 any solution for this?
I can't thank you enough on how you broke this down. I spent 2 days watching other videos, and it was so confusing. You did an amazing job explaining step by step in addition what and why we were doing what we were doing to get to where we needed to be. Thank you!!
Great video. The SQLBI video was excellent but this makes the concepts even easier to understand. Thank you Chandeep! Your videos are very well done.
My brother, I just had a major breakthrough while watching this video for the second time. Using the instructions you graciously provided, I may have just came up with a design for my companies sales team that will prove to have major benefits across the entire department. Thank you so very much for explaining this concept in an easy to understand way. I love your tone and cadence. So much information is so easily taken in. You are awesome.
I am glad it workout well Joel!
This is the excellent example, step by step commentary provided. This weekend, I have spent my time to get solution on the same requirement and I would say this is the best video out of all the available on the TH-cam. Great stuff Chandeep! Thank you and best of luck!
Legal
In your data model, join the pseudo table to the main table that it was built from. The calculation/measure to sum or count will use that main table. Once that join is there, from the pseudo table to the main table (1:M) then you should be good. If not, look for errors. For example, it didn't work at first for me because I defined by 'Other' category as 'Other' instead of 'Others'. When it came to the Top N measure I used what I saw which was 'Others'. Oops. When I changed that to 'Other' then it worked. Nice job by the creator but also nice feedback from the community to fill in the gaps.
I have linked my pseudo table to the main table but I still cannot get the topN function to get the total sales figure to show up. What am I doing wrong?
Legal
Yep, without joining the pseudo table the Top N measure won't work.
Yo, this number formatting is wicked. I have never expected to see it in real life.
18:14 Thanks a million. But do you know if there is a way to also calculate the totals correctly?
Have you managed to find the solution? 😢
@@annaokarmus1334 nope. Not yet
@@andrestricker4118 thanks :( struggling with the same!
After a few weeks, I had to watch this video again, and finding - 21:14 - saved me a lot of time
this is the best video on internet last night i haven't slept due to this problem and now i understand thanku so much !!!!
This is an excellent video and perfect illustration. Step by step with no errors. I mean excellent and what I was looking for. Goodly, you have yourself a customer. I will be buying your DAX course, by the grace of God this week.....
Thank you. Looking forward to seeing you in the course.
Thanks so much! This video let me see hope in a situation I'm trying to tackle.
In addition to put the non-selected items to Others group, I already have an "Others" item in the product list(in my case it’s a brand list) and I need this Others to always be pushed to as part of the bigger Others. Also, I need to create an extra item, which is the sum of certain two brands, and also show its position alongside with the two of its components. For the bigger Others and this summed item, both their rank need to be blank. But for display order, the bigger Others needs to be place at the end while the summed item appears in accordance with its position. And the dynamic interactions with the slicers also needed.
I sort of done this (for a fixed Top N number) through power query by separately making the components I need (the bigger Others, the Top Ns, the summed brands, and the Grand total, and then append them together as the final result. But I’m thinking if this is even possible in Power BI?
Would be so grateful for any suggestions on the thinking direction!
Superb superb super still refer this concept again in 2024 god bless you always
Thank you brother, I'm from Brazil and your video helped me a lot to solve important issues in my work, thank you for sharing, a big hug from Brazil!!
hugging you back :)
This guy make it easier to understand. Great explanation.
@goodlychandeep you're a godsend. I'm prepping for an interview, needing to know this very thing. You have an excellent method of teaching and I am learning a lot. I knew how to do this on excel and SQL but not PowerBI
This is a great guide and clear however is there a way to add additional slicers from other tables that will still show the "Others" on the chart?
🙌🙌 thanks a lot sir,
I seen some tutorials but no one explained this much easy and clear way. Tq😍
Hi! Many thanks for this video! I love the way you explain all aspects. 😊
Would it be possible for you to show how to set up the formula to get correct totals if we want to show tabular view? Right now the total is the sum of top N 😢
You are a legend! I've been stuck with this for days and you solved my problem! Thank you a lot!!!!
Glad it helped!
It's always so cool to find EXACTLY what we need. Thank you sir!
This is one of the best approaches. I still have one issue. If we want to use it with axis that has years, the TOPN is evaluated year by year which doesn't work when TopN is to be used as a legend. The legends will be inconsistent across years.
Thanks Chandeep! This solution works well. I have tried to adapt it to calculate top performers for the next level of granularity. I have an Agent Table in my model. Some Individual agents may be part of different networks (next level of granularity). I produced measures to calculate top performing networks. When doing so, the agents who do not belong to any network were added to "Others". I am struggling with the ranking measure though, to have the "others" bar at the bottom. I would be very grateful for your help with this!
Excellent and very easy way , thank you for video
Amazing use of DAX. Thanks for sharing such great techniques.
Glad you like it! 💚
Great video! Is there anyway to drill down on “Others ” to see the details?
Thanks Chandeep. Lots to learn here. Thanks for walking through it step by step. Thumbs up!!
Glad it was helpful!
Super Helpful Video -- How would adjust this to rollup correctly in a matrix? Currently, I am getting this to show only values of the top values and not the "others"
Thanks, great help! How can we show the grand total to include the "others" in its sum?
HI, Thanks for this. Can we make the category dynamic by field parameter instead of product, we can choose Shade, Category, Customer, State etc on the report like top n days?
Really appreciate this video. Sadly I fell down at the 15:45 mark because the Others Category does not appear for me if I try and filter the data using another connected table.
You are amazing sir,, I do not bore with your all videos. I want training for DAX.
Hi, thank you so much for this video!!
I followed all your steps and everything adds up perfectly. I also added the relationship, but the sum of my Grand total is incorrect, it give me the total of TopProdSales . Could someone please advice.. 😊
For someone that might have this issue in the future.. Here is what worked for me.
Replace the Return statement with this:
RETURN
IF(
HASONEFILTER('Pseudo Prod Table'[Product]),
IF(
CurrentProd "Others",
TopProdSales,
OtherSales
),
TopProdSales + OtherSales
)
Thanks a lot your work is great. can you share one video for chart formatting and full report formatting. if possible please share all element formatting video.
Its not one product left. Its when each row acts as a filter when we drag TOP N sum then it means that there is one value that it has. So one value would always be among the top 3 or bottom three or any three or max three anything . Hence it is giving the sales amount of that particular value in product column.
So nice to see you in the corner of the video!
Excellent, Looking forward to more Videos. The way you explain is very catchy and easy to understand... Many Thanks...
Spell bound. How a complex problem solved with ease. And , the way you explained each step is super. Keep enriching us with your great ideas.
How can we get the top product of the current year and show its trend over the years?
very very well explained, So many topics covered. Well Done Goodly.
This is an excellent learning resource, thank you so much for sharing and the step by step instructions
the way you explained was awesome , keep up the good work
Thanks Jayant!
This is really solved my biggest problem Thank you so much!!
One Suggestion! You can also use what-if parameter for topn value selection. In that case you wouldn't require a separate table for slicer!!
Awesome video but I'm stuck on one point, your Total Sales parameter. Can you explain how you built the parameter?
Awesome video! Hats off to you for explaining the part very neatly and easily. Keep posting such videos.
Glad you liked it!
Amazing video and walk-through a complex calculation and visualization. Thank you
Excellent step by step tutorial and a great business case 👍. Thank you.
This is a great video and was very helpful to me. However I think the video misses out the need to connect the newly created table of products with the extra "Others" line item added, to the existing original table of products, using a one ( from the new pseudo table to many relationship relationship ( on the original table). Otherwise the Top N calculations simply don't work as your employing measures on a fact table that need to be filtered by a dimension coming via the original products table. I employed your technique to create an "Others" total for a sales by Customers table, my use case was a little more extreme as I had multiple business units I needed to filter down as well on the Topn dimension , plus I was using switch formulas to move between different Metric Qtys, ( ie Sales $ and Sales Kg and Avg Prices) rather than working on a products table but the nonetheless same ideas held.
However I could not get the technique to work until I had connected the new "psuedo" table to the original table using a one to many relationship. This doesn't appear to be addressed in the video and the video leaves the impression after creating the new psuedo table you can dive straight in and create new measures employing the psuedo table, and you can but they simply wont work until you connect up the tables.
Thanks Paul. I missed mentioning that critical part in the video. My bad!
No worries mate, I am subscribed to your channel now. Thanks again for a great video, happy I could help out a little and pick up a minor issue. Shows me my learnings of dax are starting to improve :)
great video. Thanks! I was struggling to show % by periods: in your example you have overall total, while I need by years in %. , chatgtp reworked a formula a little bit.
This is great help, thanks! Could you please tell me if there is a way to show this bar chart in 2 layers, first layer is like what you show, then the second layer shows what products are in "Others"? Thank you so much in advance!
One easy way is to create a table with Products and Total Sales.
When you filter Others on the chart you'll see all the rest of the products and their sales values.
Hi! Thanks for the amazing tutorial. It is really very well explained. However, I am stuck at creating an area chart with TopN + Others and using it in the legend, can you please help me out here?
Hi, did u find a solution to this?
Nice tutorial! However, how did you add the title variable in the text visual?
Friend! You are a genius!
How would you tackle this when the dataset includes multiple sale measures. For instance, actual sales and budgeted/forecasted sales?
Thank you Chandeep it was a great video.
I have a requirement like one table and one slicer
slicer values like A, B, C if I click a then display b+c values and if I click b then a+c values like that...
Thanks for the video. Can you please advice , I am able to get the Clustered chart for top 5products+Others but I need a Stacked Chart with the split of each bar for Top 5 Products eg:Top1,Top2.... to be splinted on the basis of Model Name according to the Dataset you have provided.
Hi! Thank it did work but I have a question, what if in the top 3 I want to exclude 2 of the products that are there, but in the sum of "Others" I do want them in there?
How do you add other measures such as profit as another column in such a chart? How would you go about creating that measure?
And what have you calculated in Top N SUM measure?
Why do we need IF top n sum Blank(). ???
did you ever found out?
Great Video and thank you for sharing this with us. I have a question, is there a way display the top 3 product as stacked column char ?
Great video! What is [Top N SUM] measure at 20:35?
Got it in blog - thanks
@@gideonvisser2989 i cant find it, do you still know?
Excellent presentation but Could you please help me something? How i could bring more fields on the pseudo table (like descriptions or other info)
Thank you very much, very good solution however I have a problem. When selecting a top, 2 for example, if the two dimensions cover 100%, the "Others" bar will still appear, but with a value of 0. Can it be prevented from appearing? It also appears at No. 1 according to the order of the ranking.
Great explanation! I used the codes from the download PBIX file in the link you shared. I have an issue with Top N total. Please clarify with the related code here. Thank you Chandeep! Appreciate your work.
Very useful and well explained tutorial. Thanks for that!
Thanks for video. Is it possible to advise if we want to get the total if this is in a table instead of a chart? Look forward to your advice.
Use this code
Top N SUM Table =
VAR TOPNSelected = SELECTEDVALUE('TopN Selection'[Value])
VAR CurrentProd = SELECTEDVALUE('Pseudo Prod Table'[Product])
VAR TopProducts =
TOPN(
TopNSelected,
ALLSELECTED('Pseudo Prod Table'[Product]),
[Total Sales]
)
VAR TopProdSales =
CALCULATE(
[Total Sales],
KEEPFILTERS( TopProducts )
)
RETURN
IF(
HASONEVALUE('Pseudo Prod Table'[Product]),
SWITCH(
TRUE(),
CurrentProd "Others",
TopProdSales,
CurrentProd = "Others",
CALCULATE(
[Total Sales],
ALLSELECTED('Pseudo Prod Table'[Product])
) -
CALCULATE(
[Total Sales],
TopProducts
)
),
[Total Sales]
)
Thank you very much for your quick reply. Maybe an update of this video for the ranking with others being the bottom of the table. Once again, thank you very much for the quick response.
How can I modify the code to always have the "Others" row at last?
You are god of Power BI
Thank you so much for this.. Its really helps a lot.. Can we also add subtotal in the graph.. Please reply
Really a great video with clear explanation.
Thank you!
Amazing video. really useful and intellectual idea
Glad you like this Vishnu!
Thank you! This was very insightful and useful!
You're so welcome Andreea!
HI, Excellent tutorial, thank you. What if I needed to find out how many times a product appeared in TOPN, for example in 2004? Let's say I evaluate TOPN on a weekly basis. I can't create a virtual table and then view the result. The visual obviously has a problem with the summarize and summarize columns functions. Is there a solution?
Thanks for the content. However I have an issue, I can't use "Others" in a slicer to filter visuals and/or cards. Do you know how I can achieve that?
Agradeço pela excelente aula. Muito prático o entendimento, ajudou bastante !!!!
Que bom que ajudou!
Great Video, similar to this video, can you make a video on top n plus others PERCENTAGE wise.
Great Video!! Could you make a video on DAX function openingbalanceMonth, Quarter & Year
Great Video . Have you joined pseudo product table with sales table?
Good video but how can I get the other bucket in table..?
Great Video!
Thanks for sharing
Greetings from Medellin-Colombia
Could you please tell how do we use this method with a legend in our column chart and keep these top N fixed?
congratulations for the video.
Doubt: if I click on 'others' will it cross filter?
really Excellent tutorial! very well explained and really helpful especially if you want build a Pie chart! Many thanks!
wonderfully explained, thanks.
Thank you for this video. However, by selecting "Others" on the visual, it returns a blank value in a card visual. Is this expected?
Excellent explanation, one question if the others value is higher than the TopN how can I place in bottom of the list?
Thanks
Super informative Thankyou so much 🤝
thanks for the great video :) I am trying to replicate this for bottom N sales (with a rankx function), but cannot fix the "Others" - it sums the total amount of sales and does not subtract the selected bottom products. Is there a way to fix that?
One question, if I press the others bar, will the rest of the dashboard show only the visualizations for Other products?
If not, is there a way to achieve it?
Thank you! Great Video!
Superb video Chandeep.
Excellent explanation. Thanks!
Hi, When I use color change measure in conditional formatting as explained in the video it does not work. It reflects mdx Script error (45,3). How to resolve the error.
Hi! In a scenario, a product and category both are in same table. And I want to filter product by each category separately. i.e. products split into two slicers named bikes products and components products. When I filter each product, it should add to crosstab. Can you please help me how to achieve this?
When i use this dax function iam facing an issue. When two or more values are same it is considering those values as one and showing all values. What i want is only it shoud show top 5 records even values are same. How to achive it
Thank you for THIS, great and excellent learning
Thank you Chandeep - this is teh type of the analysis that makes analysis excellent. We analysts need to make it easier for the consumers to make it easier to digest the huge amounts of data. Thank you Sir
thank you - how does this differ from Marcos? what parts did you improve upon?
A few aesthetics..
Core logic is the same!
Hi Chandeep, hope you're doing well..
How can I create stacked bar chart considering only top5 products and countries as legend and on X-axis?
I am only able to select top products using topN...
Thanks for sharing! I had many problems to make this type of chart in my dashboards. Always gave error rsrs
Glad it helped!
can someone explain at 8.00 whats going on after we put our measure TOP N sum sales why we get the same result as total sales??