This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hi!
I have a BarChart with Cities on the x-Axis. What I try to accomplish is to implement a Slicer where I can choose other Fields like
- Deaths
- Inhabitants
- Car Accidents asf.
I was able to find ways to make the x-Axis dynamic but not the y-Axis. If I put the different fields just as they are into the slicer I just see the values of the Fields.
Anyone who can help me out here or can link a tutorial?
Best!
Solved! Go to Solution.
@Ruedi007 , refer to
Dynamically change chart axis in Power BI
https://www.youtube.com/watch?v=6jeSIRpjv0M
Hi @Ruedi007
Insert data to create a new table, add it to slicer,
Measure =
SWITCH (
SELECTEDVALUE ( 'Table 2'[selection] ),
"deaths", SUM ( 'Table'[deaths] ),
"inhabitants", SUM ( 'Table'[inhabitants] ),
"cars accidents", SUM ( 'Table'[cars accidents] )
)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Ruedi007 , refer to
Dynamically change chart axis in Power BI
https://www.youtube.com/watch?v=6jeSIRpjv0M
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 21 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 55 | |
| 55 | |
| 48 | |
| 26 | |
| 24 |