Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Short X axis.

Hi All,
i have x axis in a visual like this

and requirment is, It should be start from "< values" and end with ">values" arrange the x axis ascending order and the problem is this x axis string would change every day may be tommorrow it would be <40 or 2nd value may be start from (-36,-35).

how can i short x axis if user select a perticular date it would be change and short in a proper way.



  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous 

    You can create an Index column for your data in ascending order .Then sort by the Index column in your visual and choose Sort ascending .

    Original data and final result .

    I have attached my pbix file , you can refer to it .

     

    Best Regards

    Community Support Team _ Ailsa Tao

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous 

    You can create an Index column for your data in ascending order .Then sort by the Index column in your visual and choose Sort ascending .

    Original data and final result .

    I have attached my pbix file , you can refer to it .

     

    Best Regards

    Community Support Team _ Ailsa Tao

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.