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
MattPike
Regular Visitor

Line Chart, Target Vs Actual

Hi everyone,

 

I am trying to plot a line chart with 2 lines. One showing the Target, the other showing actual, of an item through a manufacturing line. Filterable by a Shop Floor Code slicer.

 

The target is in its own table, and only has 2 datapoints, its the start date, at step 0, and the end date at the final step, e.g. 2340.

 

The actual has its own table, and has many many datapoints, whenever manufacturing operators log a step as complete, it adds a new datapoint detailing the date, and the step number completed in amongst a whole load of other data! 

 

I can get them working in independant line charts, but when I start try and put them onto 1 line chart, some weird things start happening. 

 

Below is the Target Line chart;

MattPike_0-1711478536629.png

 

 

And below is the actual line chart

MattPike_1-1711478601379.png

 

When I try to put them onto the same chart, I get the below;

MattPike_2-1711479080108.png

 

I am also using a custom date table. 

1 ACCEPTED SOLUTION

All you need is a data model.

 

lbendlin_0-1713921187595.png

 

View solution in original post

4 REPLIES 4
MattPike
Regular Visitor

Hi, apologies for the delay - here is a link to some sample data, and a sample report showing what I have tried to do:

https://we.tl/t-zUXREZDnZR

 

All you need is a data model.

 

lbendlin_0-1713921187595.png

 

Thank you!! I did have the data model setup... just incorrectly. I didnt make a separate table for shop orders. 🙂 

 

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

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.