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.
Hi everyone,
I need to create a bar chart comparing averages, which will be exported into a PowerPoint file. The client wants each data point displayed on a slide with 5 bar graphs per slide. When the file is published, they don’t want to filter the content; they want the slides to dynamically show the required data.
I can set up pages for the top 5 and bottom 5 data points, but I’m struggling with how to handle the data in between. Any suggestions?
Solved! Go to Solution.
Hi, @neta2059
I've modeled some data that I hope fits your situation.
For data between Top N and Bottom N:
Measure between =
Var _table1=CALCULATETABLE(VALUES('Table'[Product]),FILTER(ALL('Table'),[Rank asc]<=5))
Var _table2=CALCULATETABLE(VALUES('Table'[Product]),FILTER(ALL('Table'),[Rank desc]<=5))
Var _table3=UNION(_table1,_table2)
RETURN
IF(SELECTEDVALUE('Table'[Product]) in EXCEPT(VALUES('Table'[Product]),_table3),1,0)
Please see the attached document.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @neta2059
I've modeled some data that I hope fits your situation.
For data between Top N and Bottom N:
Measure between =
Var _table1=CALCULATETABLE(VALUES('Table'[Product]),FILTER(ALL('Table'),[Rank asc]<=5))
Var _table2=CALCULATETABLE(VALUES('Table'[Product]),FILTER(ALL('Table'),[Rank desc]<=5))
Var _table3=UNION(_table1,_table2)
RETURN
IF(SELECTEDVALUE('Table'[Product]) in EXCEPT(VALUES('Table'[Product]),_table3),1,0)
Please see the attached document.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you so much.
Hi @neta2059
Please provide a workable sample data and your expected result from that. It is hard to figure out what you want to achieve from the description alone.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
45 | |
40 |