Forum Discussion

andershh's avatar
andershh
Advocate I
8 years ago

Difference in Line Chart visualization between Power BI Desktop and app.powerbi.com

Hi Power BI Community

 

I am having some issues with the Line Chart visual in Power BI. The trouble is that there is a difference between how the graph is displayed in Power BI Desktop and app.powerbi.com.

 

In Power BI Desktop my Line Chart the black line is disjointed when there are days with no data (this is what I want it to look like).

 

However, when uploading the report to app.powerbi.com the black line is no longer disjointed.

 

See below images:

 

Power BI Desktopdapp.powerbi.com

Does any of you know why there is this difference between the two?

 

Many thanks beforehand!

 

 

2 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Looks like some sort of bug one way or the other. I'd report it to Issues.

  • v-juanli-msft's avatar
    v-juanli-msft
    Community Support

    Hi andershh

    A similar problem has been reported, after testing and discussing, we could raise the following summary:

    By Design, new charts with numeric axes will pick "continuous" which will generate linear spaced tick marks (e.g. 0, 5, 10, 15 ... 30). If an existing chart changed, perhaps the axis type was still undefined and a modeling change caused the "week number" field to change from "text" to "numeric". This is not a product bug, something must have changed in the model or report and the default behavior worked as expected.

    Could you check you setting for your chart and make some changes, perhaps set the axis type to categorical and update the sort?

     

    Best regards

    Maggie