Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello Power BI Community,
I'm currently working on a sales analysis project in Power BI and I'm looking to combine the top and bottom 10 stores by sales into a single chart for comparison purposes.
I've tried various approaches, including using filters and measures, but haven't been able to achieve the desired result. Can anyone provide guidance on how to effectively combine the top and bottom 10 stores by sales into a single chart in Power BI Desktop?
Any insights, techniques, or Power BI features that can help accomplish this task would be greatly appreciated.
Thank you for your assistance!
Best regards,
Manoj Prabhakar
Solved! Go to Solution.
@manoj_0911 , Add Top and bottom measure together
Top Bottom 10 stores = CALCULATE([Measure],TOPN(10,all(Table[Store]),[Measure],DESC),VALUES(Table[Store])) + CALCULATE([Measure],TOPN(10,all(Table[Store]),[Measure],asc),VALUES(Table[Store]))
Dynamic TOPN using TOPN/Window and Numeric parameter: https://youtu.be/vm2mdEioQPQ
@manoj_0911 , Add Top and bottom measure together
Top Bottom 10 stores = CALCULATE([Measure],TOPN(10,all(Table[Store]),[Measure],DESC),VALUES(Table[Store])) + CALCULATE([Measure],TOPN(10,all(Table[Store]),[Measure],asc),VALUES(Table[Store]))
Dynamic TOPN using TOPN/Window and Numeric parameter: https://youtu.be/vm2mdEioQPQ
User | Count |
---|---|
84 | |
80 | |
69 | |
46 | |
46 |
User | Count |
---|---|
106 | |
50 | |
49 | |
40 | |
39 |