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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
powerboss
Frequent Visitor

How To Differentiate 2 Different Items On Line Chart With Same Date?

Hey all,

 

I am plotting out a series of averages for part numbers. However, some of them have the exact same date and time. When I plot this on a line chart with Date as the X-axis as Categorical type, it combines both instances in the same plot point. 

 

Thank you. 

1 ACCEPTED SOLUTION
mwegener
Most Valuable Professional
Most Valuable Professional

And if you place the date and "order #" on the x-axis and then click on "Expand all down one level in the hierachy".

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


View solution in original post

11 REPLIES 11
powerboss
Frequent Visitor

two-x-axis.PNG

So this is an example. The data point that is 33.80 is actually 2 different instances, however they are being combined because they have the exact same date. How do I fix this?

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @powerboss ,

 

but if you don't filter or structure according to the instance, how should it be represented?
Could an aggregation of MAX, MIN, AVG instead of SUM be a solution?

 

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


I need it to plot the 2 instances separately, as they are 2 separate orders, even if they are on the same date. I don't know if this is possible. 

 

As of now, the only way that I can differentiate each order separately is by making the X-axis "Order #".

mwegener
Most Valuable Professional
Most Valuable Professional

Can you give more information, what you analyze and which values you show on the axis and in the legend?

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


We are looking at labor data for manufacturing orders. The y-axis is labor hours. The x-axis should be chronological. We want to see the trend over time. The only way I can separate out each manufacturing order is if I make the x-axis "order #", which sorts them numerically, which is kinnnnnnnnda chronological, but not perfect, as some orders completed faster than others. 

mwegener
Most Valuable Professional
Most Valuable Professional

And if you place the date and "order #" on the x-axis and then click on "Expand all down one level in the hierachy".

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


This worked! Thanks a lot. The x-axis is pretty stuffed, but I got the data points to plot correctly. 

Where do I see that option to "expand down one level"? 

mwegener
Most Valuable Professional
Most Valuable Professional

https://docs.microsoft.com/en-us/power-bi/desktop-inline-hierarchy-labels#how-inline-hierarchy-label...
Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


V-lianl-msft
Community Support
Community Support

 
Is this the case with you?test_linechart.PNG When the values of x-axis and y-axis are the same, the points of the line graph will coincide, which is caused by the principle.
 
If not, please upload your data and screenshot.(Please mask any sensitive data before uploading)
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @powerboss ,

 

could you share a screenshot?

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors