How to make an interactive TOPN Chart with Power BI (using parameters)

  Рет қаралды 7,237

Chandoo

Chandoo

Күн бұрын

🏆 Participate in my Dashboard Competition 👉 bit.ly/3xgC1WB
~
If you make dashboards or reports with Power BI, you often get questions like, "but I want to see top 10 products, not just 5" or "can we see top 10 store names instead of all?" from your stakeholders all the time.
In this video, let me present you with an elegant and simple solution to such problems.
A dynamic TOPN chart
What is TOPN?
TOPN is a DAX function which returns filtered table with just top n (or bottom n) values based on a criteria.
For example: We can use it to filter top 10 products out of all products based on total sales.
What is a TOPN Chart then?
A TOPN chart uses the same logic but displays top 'n' items based on a dynamic criteria and evaluation context on the screen.
How do you make it?
We use "parameter" feature of Power BI along with your existing semantic model to create dynamic topn charts in Power BI. Watch the video to understand the process and implement it with your data.
⏱ IN THIS VIDEO:
================
0:00 - What is a Dynamic TOPN Chart?
0:20 - Using Parameters to create dynamic topn field
1:25 - Creating Dynamic TOPN Chart with the DAX measures
3:56 - Dynamically filtering the table (or chart) with filter panel
4:43 - Converting the table to chart
5:20 - Big announcement 💥
👩‍💻👨‍💻 MAKE POWER BI DASHBOARD AND WIN 🎁
I am running a Power BI Dashboard competition this month. Check out the details and join the competition here 👇
bit.ly/3xgC1WB
💡 LEARN POWER BI AND SHINE AT WORK
If you want to learn Power BI and grow at work, please consider my online Power BI classes. I've distilled my years of practical knowledge and real-world experiences in to this course. The step-by-step instruction combined with best practice guidance will help you unlock the true potential of Power BI in short amount of time.
Check out the course page and enrol today 👇
chandoo.org/wp/power-bi-course/
~

Пікірлер: 32
@unnikrishnansanthosh
@unnikrishnansanthosh 26 күн бұрын
your ideas are amazing, thank you for sharing
@sakeenasammi1768
@sakeenasammi1768 24 күн бұрын
I'm amazed that you bring such concepts and explain it in simplest way. Thank you....
@chandoo_
@chandoo_ 24 күн бұрын
You are welcome :)
@SaaSLTDDeals
@SaaSLTDDeals 22 күн бұрын
Wow, such a detailed breakdown on creating a Dynamic TOPN chart! The step-by-step guide is super helpful for PowerBI users. Can't wait to try this out!
@chandoo_
@chandoo_ 21 күн бұрын
You're very welcome!
@rabiraul623
@rabiraul623 27 күн бұрын
I love your voice You are Amazing 💚
@nandakumar473
@nandakumar473 23 күн бұрын
it's really helps people who want to grow in power BI. Thanks!
@trevorbbeairsto
@trevorbbeairsto 27 күн бұрын
Really learning a lot from you, thanks!👍
@chandoo_
@chandoo_ 26 күн бұрын
Glad to hear it!
@chrism9037
@chrism9037 27 күн бұрын
Great video Chandoo!!!
@chandoo_
@chandoo_ 26 күн бұрын
Glad you enjoyed it
@user-kv4jq7ve6b
@user-kv4jq7ve6b 26 күн бұрын
This is amazing. I just want to understand how you created that Top 10 products bring to certain % of all our sales. And the amount out of total amount?
@chandoo_
@chandoo_ 25 күн бұрын
Thank you. Here are the measures I've used: Top Products Total = CALCULATE([Total Sales], TOPN([Top Products Value], ALL(Products[Product]), [Total Sales], desc)) top products proportion = [Top Products Total] / [Total Sales]
@user-lk2uv5yo9r
@user-lk2uv5yo9r 19 күн бұрын
Thanks, good solution, but not good if you would like to put additional field in chart "Legend" field (for example Department). It will stop to work (will show all and not TOP N).
@chandoo_
@chandoo_ 19 күн бұрын
Thank you. Read up www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/ to know how to deal with multi-level ranking.
@user-lk2uv5yo9r
@user-lk2uv5yo9r 19 күн бұрын
@@chandoo_ Thanks.
@tejaswic5339
@tejaswic5339 26 күн бұрын
Hi Chandoo, recent subscriber here and really love the content! Can you please help me out with this - How do I find the salesperson with the highest variance for each month?
@chandoo_
@chandoo_ 25 күн бұрын
You can use TOPN for that. Assuming you have a variance measure, =topn(1, all(salespersons), [variance], desc) should give you a one row table with the salesperson. Send that to a function like selectedvalue to see the name.
@pgkannan
@pgkannan 27 күн бұрын
Excellent thank you
@chandoo_
@chandoo_ 26 күн бұрын
You are very welcome
@haricoolharan_official
@haricoolharan_official 27 күн бұрын
Nice sir
@ankittiwari4371
@ankittiwari4371 21 күн бұрын
Hi chandoo, just need your guidance on one thing I am an finance professional with 3.5 years of experience is data analytics a good course for me or is there any other good corses. Pls suggest
@indrajaravi6945
@indrajaravi6945 19 күн бұрын
What are you looking to upskill in?
@ankittiwari4371
@ankittiwari4371 11 күн бұрын
@@indrajaravi6945 Just want to upskill myself in finance field only
@chandoo_
@chandoo_ 4 күн бұрын
Hi Ankit... There is no easy answer for this. What is good for you depends on many factors. I suggest learning data analysis for a while, try a project or two and see if you find it interesting + challenging. Don't give up at first or tenth hurdle though. Push thru for a while and if you still feel negative about it, then pivot and do something else. All the best. If you want a course recommendation, I suggest joining my Excel or Power BI courses. They are top notch and excellent value for money.
@sunraviprakash
@sunraviprakash 27 күн бұрын
How do we add "Others" so that chart shows e.g. Top 5 and adds up rest into "Others"
@chandoo_
@chandoo_ 26 күн бұрын
For that you need a separate dimension table with all products + others row. Then the logic would be same, except, for others, you want to always "show". Plus instead of visualizing the [total sales], you would make a new measure to calculate total sales for the product or add up the rest for others.
@sunraviprakash
@sunraviprakash 25 күн бұрын
@@chandoo_ Thanks very much
@xistrik3rix
@xistrik3rix 26 күн бұрын
How difficult is this to do in Excel with a data model?
@chandoo_
@chandoo_ 26 күн бұрын
Much easier to do in Excel. You don't even need data model. TAKE(SORT(...), n) will give you a dynamic array of what you need. Just feed it to the chart and done.
@xistrik3rix
@xistrik3rix 26 күн бұрын
@@chandoo_ thank you so much!
@hussienrammal5797
@hussienrammal5797 26 күн бұрын
Plz chandoo can do u have privte corses data analysis and finance in excel if yes plz ur number whatssap
Interactive Dashboard in Power BI
41:57
Office Guru
Рет қаралды 124
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 7 МЛН
Do NOT Create Your Design in Power BI! (here’s why)
13:30
How to Power BI
Рет қаралды 46 М.
This ~NEW~ Excel Function is Shockingly Powerful!
9:37
Chandoo
Рет қаралды 227 М.
Hidden buttons in Excel that only PROs use 🔒
15:00
Chandoo
Рет қаралды 18 М.
phone charge game #viral #tranding #new #reels
0:18
YODHA GAMING RAAS
Рет қаралды 11 МЛН
Рекламная уловка Apple 😏
0:59
Яблык
Рет қаралды 794 М.