Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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.

gaps.png 

6 REPLIES 6
v-xicai
Community Support
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

v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

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

 

101.png

 

 

 

 

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

102.png

 

 

 

 

 

 

 

 

 

 

 

 

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.

amitchandak
Super User
Super User

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.

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

nandukrishnavs
Super User
Super User

@Anonymous 

 

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

 


Regards,
Nandu Krishna

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.