Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

how to keep axis range when filtering graphs

Hi,  I have a graph showing age (x) and number of people (y). I have another graph on the same page, where I can select a group of people that gets highlited on the first graph.  However it is hard...
  • v-kkf-msft's avatar
    4 years ago

    Hi Anonymous ,

     

    Please create these two measures and set them to the minimum and maximum values of the X-axis respectively.

     

    Min_X = MINX ( ALL ( 'Table' ), 'Table'[age] )
    Max_X = MAXX ( ALL ( 'Table' ), 'Table'[age] )

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
    Best Regards,
    Winniz
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.