Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I'd like to create a dashboard containing a bar chart with a user-selected y-axis. I've created a parameter with a slicer on the page that allows user-selection of the variable. I have that parameter listed in the y axis section for the bar chart, but my chart appears blank. It feels like there is a step missing. The graph does show a result when I put the parameter in the x-axis and my intended x-axis value in the y-axis, but this of course is not the data I want to display.
I am hoping to have the user select from the options below, and the graph to return this data disaggregated by two columns: local vs. international.
Parameter slicer displayed on the page:
Blank graph with x-axis and y-axis selected.
Any guidance is very much appreciated, thank you.
The solution is actually pretty simple, for my knowledge y-axis always uses aggregated values so u just need to create parameter with aggregated measures instead of just table columns.
@davidbernstein , If you have created this on the column, this needs to be on the x-axis. This on measure , it can be on y-axis(Value axis, assumed column bar)
refer if needed
Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9af...
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f
Field Parameters- Conditional Formatting
: https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf
Thanks very much for your reply. I suppose what I don't understand is why it works when I have my y-axis value selected normally from the 'Data' panel
but not when that same value is selected in the parameter?
I am having the same issue, did you ever figure out how to do this?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
96 | |
95 | |
80 | |
74 | |
66 |
User | Count |
---|---|
130 | |
106 | |
105 | |
86 | |
72 |