Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Scatter chart X axis date not ranking

 

As shown the dates are not showing up as i want it to be. Like it's repeating. What's the reason for that?

 

(start with 2022, and 20218, 2021 2021, start reapperaing in between) 

 

Thanks! 

14 Replies

  • Uzi2019's avatar
    Uzi2019
    Icon for Community Champion rankCommunity Champion

    Hi Anonymous 
    I think the column you are choosing are not Date data type. it is i think text data type.
    Please correct it to date data type. follow the instruction:

    under column tools you will find these option where you can find data type setting, and different format as well.

    If my post helps you please give kudos and accept my solution!
    Thanks

  • Anonymous's avatar
    Anonymous
    Not applicable

     

     

    it's actually a date - i just don't want it to be a hirachey. 

  • Uzi2019's avatar
    Uzi2019
    Icon for Community Champion rankCommunity Champion

    Hi Anonymous 
    This issue of repeating date will be resolved by calendar table.
    Please create a Calendar table (takes 3 mins). follow these steps:
    Go to modelling tab > New table

    Create following formula

    Calendar = CALENDAR(MIN(Investment date),MAX([Investment date]))


    Your New Calendar will be created. 
    Now link you Calendar date with Investment date( Cretae Relationship).

    Take date from Calendar date into you scatter chart visual.
    you will not see repeative date.


    If my post helps you. Please give kudos and accept as a solution!
    Thanks.




    • Anonymous's avatar
      Anonymous
      Not applicable

      Why would i need to do this? Or i should ask. Why PowerBI is messing up with this? The column is date already and why all the trouble to create some sort fo heck...

       

    • Anonymous's avatar
      Anonymous
      Not applicable

       

       

      sadly it's also showing as errors

      • Uzi2019's avatar
        Uzi2019
        Icon for Community Champion rankCommunity Champion

        HI Anonymous 
        follow the proper instructions.
        I've mentioned to take New Table and Create Calendar calulation.

         


        But you have taken the Calculated Column. That's why throwing an error.