Forum Discussion
Changing x-axis values on histogram
Hi
Is it possible to make either a slicer or individual buttons that control what values are show on the x-axis of a histogram?
I have tried using a slicer with 3 difference values but I haven't been able to make it work. I would like it to change the x-axis on the histogram when I click a different value of the slicer, i.e. when "Status" is clicked in the slicer, the histogram x-axis changes from "Year" to "Status".
Thanks
Christianvs , Have you tried field parameters : https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9afd
Also discussed in yesterday's community show: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/Power-BI-Community-Show-Episode-10-Making-Your-Power-BI-Reports/m-p/2814384
2 Replies
- amitchandakSuper User
Christianvs , Have you tried field parameters : https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9afd
Also discussed in yesterday's community show: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/Power-BI-Community-Show-Episode-10-Making-Your-Power-BI-Reports/m-p/2814384
- ChristianvsHelper II
That looks just like the solution I was looking for!
Thanks amitchandak! 🙂