Forum Discussion

PeteyG's avatar
PeteyG
Helper I
2 years ago
Solved

Relating 3 columns together in single table.

I have a single table that has three different Finish Dates.  Actual Finish, Forecast Finish and Baseline Finish.  All three are tied to an Activity ID.  I am trying to get all three on to one line chart where the Y-axis is number remaining at a given date and x-axis is the date.  I want them to lay on top of each other to show how close they are to being ontrack.  I can get each graph to work by itself but I am unable to join all three.  Below is a small sample.  IS there a way to get the three columns to relate even though they need to be their own line on same graph.

 

 

Activity IDActual FinishForecast  FinishBL Finish
ACT-Con-0013/13/20223/13/20223/8/2022
ACT-Con-0023/14/20223/14/20223/11/2022
ACT-Con-0037/15/20227/15/20227/14/2022
ACT-Con-00411/15/202211/15/202211/16/2022
ACT-Con-00511/14/202211/1/202211/19/2022
ACT-Con-0061/19/20231/17/20231/22/2023
ACT-Con-0073/15/20233/20/20233/27/2023
ACT-Con-0085/18/20235/21/20235/30/2023
ACT-Con-0095/22/20235/22/20238/2/2023
ACT-Con-0109/28/20239/22/202310/5/2023
ACT-Con-01111/23/202311/23/202312/8/2023
ACT-Con-0121/24/20241/24/20242/10/2024
ACT-Con-0133/29/20243/26/20244/14/2024
ACT-Con-0146/1/20245/27/20246/17/2024
ACT-Con-015 7/28/20248/20/2024
ACT-Con-016 9/28/202410/23/2024
ACT-Con-017 11/29/202412/26/2024
ACT-Con-018 1/30/20252/28/2025
ACT-Con-019 4/2/20255/3/2025
ACT-Con-020 6/3/20257/6/2025

 

It would be like the chart below but left is number of activities remaining and bottom in date.  The yellow bar graph is not important.

 

 

  •  

    Open Power Query Editor.

    Select the columns Actual Finish, Forecast Finish, and BL Finish.

    Right-click and choose "Unpivot Columns".

     

3 Replies

  • aduguid's avatar
    aduguid
    Memorable Member

     

    Open Power Query Editor.

    Select the columns Actual Finish, Forecast Finish, and BL Finish.

    Right-click and choose "Unpivot Columns".

     

    • PeteyG's avatar
      PeteyG
      Helper I

      Awesome that puts them all into a related single Column.  Any idea how I now make three lines with them onto a single line chart?  It now groups them into one line.

      • aduguid's avatar
        aduguid
        Memorable Member

        Add the finish type (Actual, Forecast, and Baseline), as the legend of the chart