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.
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). The second table is structured the same (identifiers in first column), except the cells contains dates that correspond to the data in the first table.
Is there a way to combine these data so that I end up with a single table that has 3 colums as follows:
Column 1: company identifier
Column 2: date
Column 3: Fi data
Thanks!
Jonathan
Solved! Go to Solution.
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
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.
@jdata assuming your data does match as @dkay84_PowerBI says
all you really need is the Index in each table - duh!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
78 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |