Forum Discussion
Cabbage_Baby
1 year agoFrequent Visitor
Measure Not Working on Line Chart Y-Axis Maximum
Hi Power BI Experts, I could use some help with a DAX and visual interaction issue: I'm trying to create a dynamic Y-axis maximum for a line chart that responds to different levels of date granu...
- 1 year ago
Hi,
I am not sure if I understood your question correctly, but one of ways to achieve this is to use field parameter feature.
Use report readers to change visuals (preview) - Power BI | Microsoft Learn
Please check the below picture and the attached pbix file whether it suits your requirement.
Y-Axis Max limit: = SWITCH ( SELECTEDVALUE ( prm_x_axis[title_sort] ), 0, 10, 1, 20, 2, 30 )
Cabbage_Baby
1 year agoFrequent Visitor
OMG thanks Jihwan_Kim , it workkkksssss.
Thank you so so much!