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
rocky09
Solution Sage
Solution Sage

Line on Clustered Chart is not continued

can any one advise, why the line on my clustered chart is not continued. See below.

 

Screenshot.png

 

 

Thank you in advance,

1 ACCEPTED SOLUTION

Hi @rocky09

 

Try to do something like this:

 

Measure = IF (ISBLANK (NoofErrors); 0 ; NoofErrors)

Regards,

MFelix

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

5 REPLIES 5
MFelix
Super User
Super User

Hi @rocky09,

 

This as to do with the fact that you have null / blank / inexisting values on the data base, not sure how you have the model setup if you have a Calendar table, if you are using measures but you can do one of two things:

 

  • Advance query editor replace null by 0 on the fields you are using for your charts
  • Make a measure that would look something like this:
lines_mesarue = IF( ISBLANK(SUM(Table1[Lines])); 0; SUM(Table1[Lines]))

Then result would appear like this:

 

clustered chart.png

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



@MFelix

Thank you for your reply.  Actually, I have these values for different types, lets say, ABC, CBA, DCA,

for counting/plotting the line,  i am using the below measure.

 

NoofErrors = CALCULATE(COUNT(Quality[Key Process]),Quality[Key Process]="ABC")

Hi @rocky09

 

Try to do something like this:

 

Measure = IF (ISBLANK (NoofErrors); 0 ; NoofErrors)

Regards,

MFelix

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Hi @rocky09,

 

Did you check if your axis type is Continuous or Categorical?

@Anonymous

 

Thanks for your reply. Actually, I don't see any Categorical or Continuous in the X-Axis, may be because of I am using Date Hirerachy just only Year and Month.

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.