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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
skitovich
Helper I
Helper I

help with markup

Hello everybody. You do not know how to put the marking 40,41,42 and so on instead of 40, 42, 44?
1.png

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

@skitovich 

Where are the values from the x-axis coming from?

You can make the axis sequential by setting it as "Continuous" under the x Axis formatting options:

Format axis type.JPG

And enable Show Items with no data:

Inked2020-02-29 (1)_LI.jpg

This will give you this (I've included a combined bar chart and line chart to illustrate the problem of using a line chart visual: namely, the actual lines are misleading.

From Fact Table.JPG

 

As an alternative, create a Dim table of your x-axis values with a continuous series using something like:

 

Ref series = GENERATESERIES(MIN(XAxis[Ref]); MAX(XAxis[Ref]); 1)

 

And set the model like this:

2020-02-29.png

 You can then use the field from the Dim Table as your x axis. Here are the same charts as above, but using the Dim Table field as the axis: (note the difference both line chart visuals; the one on the right is the actual true representation of the data since there are blank values in the dataset)

From Dim table.JPG

 

 So it is up to you which you use of course. But depending on which visual you choose, you may be in effect inducing "wrong" insights





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

1 REPLY 1
PaulDBrown
Community Champion
Community Champion

@skitovich 

Where are the values from the x-axis coming from?

You can make the axis sequential by setting it as "Continuous" under the x Axis formatting options:

Format axis type.JPG

And enable Show Items with no data:

Inked2020-02-29 (1)_LI.jpg

This will give you this (I've included a combined bar chart and line chart to illustrate the problem of using a line chart visual: namely, the actual lines are misleading.

From Fact Table.JPG

 

As an alternative, create a Dim table of your x-axis values with a continuous series using something like:

 

Ref series = GENERATESERIES(MIN(XAxis[Ref]); MAX(XAxis[Ref]); 1)

 

And set the model like this:

2020-02-29.png

 You can then use the field from the Dim Table as your x axis. Here are the same charts as above, but using the Dim Table field as the axis: (note the difference both line chart visuals; the one on the right is the actual true representation of the data since there are blank values in the dataset)

From Dim table.JPG

 

 So it is up to you which you use of course. But depending on which visual you choose, you may be in effect inducing "wrong" insights





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.