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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
LotteLaugesen
Helper V
Helper V

How to create a fake id to get rid of big gaps in line chart

Hi 
How can I make a fake id to get rid of this

LotteLaugesen_0-1732195044603.png

and make it look like this but with out the scroll bar

LotteLaugesen_1-1732195201714.png

Is that possible?
The first chart is continuous and the second is categorical.

 

BR

Lotte



 

3 REPLIES 3
LotteLaugesen
Helper V
Helper V

Thank you all for your help, but now the user want something else 😉

Anonymous
Not applicable

Hi @LotteLaugesen 

 

Please check the following possible solution:

I tested with simple data and the table looks like this:

vxianjtanmsft_0-1732764188463.png

1. Create a new table to fill in the big gaps of ID.

NewTable = 
SELECTCOLUMNS(
    ADDCOLUMNS(
        GENERATESERIES(9105, 10765, 5),
        "Y", ROUND(RAND() * (75 - 74.5) + 74.5, 2)
    ),
    "X", [Value],
    "Y", [Y]
)

 2. Union the new table with the original table into a new table.

CombinedTable = 
UNION(
    SELECTCOLUMNS('Table', "X", 'Table'[X], "Y", 'Table'[Y]),
    SELECTCOLUMNS('NewTable', "X", 'NewTable'[X], "Y", 'NewTable'[Y])
)

3. Create a Line Chart with the CombinedTable.

vxianjtanmsft_1-1732764378556.png

 

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

 

Attaluri
Frequent Visitor

Hi,
Try creating column in your model with below definition. 

=RANDBETWEEN(70,75)

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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