Forum Discussion

jdata's avatar
jdata
Frequent Visitor
9 years ago
Solved

Combining Data and Dates from two different tables

Hi, I am looking to combine values and dates that are in two seperate tables.   In the first table, the rows contains time series data (fi data) for different companies (identifier in first column...
  • CahabaData's avatar
    CahabaData
    9 years ago

    you might try,

     

    in query editor to un-pivot both tables

     

    then merge tables

     

    in a database one can't do that but here in Power BI the simple ordering of the rows may allow that to work

  • dkay84_PowerBI's avatar
    9 years ago

    Assuming that your tables' layout will always match at a cell level (as you show it in your dummy data), I would unpivot both tables, add an index column, then merge on the index column.  This should get all the values for each date in the appropriate rows.

  • Sean's avatar
    Sean
    9 years ago

    jdata  assuming your data does match as dkay84_PowerBI says

    all you really need is the Index in each table - duh! :smileywink: