Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have to concatenate 4 tables.
Turn this
Table: 2014
Column: ID, Year, Value
Table: 2015
Column: ID, Year, Value
Table: 2016
Column: ID, Year, Value
Table: 2017
Column: ID, Year, Value
in
Table: Years
Colum ID = ID of 2014,2015,2016,2017
Colum Year = Year of 2014,2015,2016,2017
Colum Value = Value of 2014,2015,2016,2017
If is possible in power query
Ty
Solved! Go to Solution.
Hey,
You can Append as well as Merge using the query-editor ( See image)
Alternatively you can use a DAX formula using the concatenate function.
For more info on this function use this link: https://msdn.microsoft.com/en-us/library/ee634811.aspx
Good luck
Hi @Anonymous
Are you asking how to achieve this in SQL?
No, in power bi
Can I solve with append?
Is it the better pratice?
I am not sure what are you aiming for then.
Can you please eablorate?
What i understand is that you have 4 tables in powerbi model, and you want to union them into a single one using DAX?
Hey,
You can Append as well as Merge using the query-editor ( See image)
Alternatively you can use a DAX formula using the concatenate function.
For more info on this function use this link: https://msdn.microsoft.com/en-us/library/ee634811.aspx
Good luck
Or just combine the tables in Power Query (M):
= #"2014"&#"2015"&#"2016"&#"2017"