Forum Discussion

cupedersen's avatar
cupedersen
Regular Visitor
5 years ago
Solved

Chart showing flat line for month not selected

Hi 

 

I need to remove the flat line for month not selected 

 

 

I need to only show those selected Year 2019/2020 jan - sept. so i dont wanna show oct to dec. here.. choises can be differnt 

 

Any suggentens ?  

  • Hi, cupedersen 

    According to your requirement, I think that you should change the type of Axis of the line chart ([Date]) to “Text”, you can follow my steps:

    1. Go to power query editor, change the type of [Date], like this:

     

    1. Go to the page filter, filter the [Date] column, like this:

     

    And you can get what you want, like this:

     

    You can download my test pbix file here

     

    If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

    How to Get Your Question Answered Quickly 

     

    Best Regards,

    Community Support Team _Robert Qin

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

1 Reply

  • v-robertq-msft's avatar
    v-robertq-msft
    Icon for Community Support rankCommunity Support

    Hi, cupedersen 

    According to your requirement, I think that you should change the type of Axis of the line chart ([Date]) to “Text”, you can follow my steps:

    1. Go to power query editor, change the type of [Date], like this:

     

    1. Go to the page filter, filter the [Date] column, like this:

     

    And you can get what you want, like this:

     

    You can download my test pbix file here

     

    If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

    How to Get Your Question Answered Quickly 

     

    Best Regards,

    Community Support Team _Robert Qin

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