Forum Discussion

AnZee's avatar
AnZee
Frequent Visitor
1 year ago
Solved

Dynamic y-axis scaling based on date selection in Power BI Dashboard

Hello everyone, I am working on a Power BI dashboard where I need to dynamically adjust the y-axis scale of a Visual based on the selected date range. The goal is to ensure that consecutive date sel...
  • Deku's avatar
    1 year ago

    In the y axis properties you can define a min and max range. This can be hard coded values, or if you select FX next to the input box, by a measure.

     

    You could use something like

     

    MaxAxis =

    calculate( 

    [Measure on y axis],

    Removefilters( calendar )

    )