cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jvidge
Frequent Visitor

Merging multiple fields into a single line on a chart

I am looking for a way to take 3 columns, each from different tables and show them as a single line on a single chart. For example the values would be.

 

Past Inventory Levels 

Current Inventory Levels

Projected Inventory Levels

 

So idealy there would be a single line chart with Date on the X axis ranging from past into future, and Dollar ammount on the Y axis. I have played with append and merge with no success so far, perhaps a dax cusom measurment would work for this? Any insight is appreiciated.

3 REPLIES 3
sornavoor
Resolver I
Resolver I

Not sure we understand the question -  Are you looking for a line chart  with 3 lines representing the the 3 measures from separate tables?   I would guess,  these 3 tables all have dates  (past, present and future).  If so, create a day table and relate all the 3 tables and then create a line chart  using date from day table and the 3 measures  from the separate tables.

 

Regards,

Sornavoor 

Jvidge
Frequent Visitor

Thanks for your insight. We were able to achieve this with the append function after all. What we were looking for was 3 sources of data coming together to form a single line. One table has past dates, one is a snapshot of today and one has future dates. We were able to create a key consisting of a combination of material number and plant to form the relationship. A date formatting error threw us off at first but it is working now.

 

Thanks everyone.

Greg_Deckler
Super User
Super User

Can you provide any insight into what your relationships are between those 3 tables? Is there something that relates then to one another? If your relationships are configured correctly, you should be able to do exactly what you are talking about. If they are not related to one another, you are going to have issues.


@ me in replies or I'll lose your thread!!!
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Learn Power BI 2nd Edition

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!