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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
MattPike
Frequent 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
Frequent 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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