Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Linechart with Blanks

Hi all,

 

I have to create a cobmochart (linechart & barchart) but unfortunately there are some blanks in my data. As a result my graph has gaps.

Is there any way in Power BI to connect the data points with the line as it happens in excel???

 

Thank you in advance.

 

6 Replies

  • nandukrishnavs's avatar
    nandukrishnavs
    Community Champion

    Anonymous 

     

    Could you share your pbix file/ sample dataset and measure logic?

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks a lot but i have already check this link on my own. I do not want to interpolate my dataset or fill my data with 0.

      I guees i will leave it as it is.

       

      Thanks a lot in advance

    • Anonymous's avatar
      Anonymous
      Not applicable

      I have already check that link but i don't want to interpolate my data or fill them with 0.

      I guess i will leave it as it is.

       

      Thanks a lot in advance.

  • v-xicai's avatar
    v-xicai
    Community Support

    Hi Anonymous ,

     

    If your X axis is "Continuous" , simply create a measure with the following formula to turn all blanks into zeros.

     

     

     

     

     

    Total Amount = IF(ISBLANK(SUM(Table1[Amount])), 0, SUM(Table1[Amount]))

     

     

     

     

     

     

     

     

     

     

     

     

    Best Regards,

    Amy 

     

    Community Support Team _ Amy

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

  • v-xicai's avatar
    v-xicai
    Community Support

    Hi   Anonymous ,

     

    Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

     

    Best regards

    Amy