Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I need to append two columns from two separate tables into one new calculated column using DAX
Example:
Table1:
Table2 (with records starting from 1 to 24)
I need to append the value of 01 till 24 to each record of the Table1,
the Calculated Column should look like below:
2010070501
2010070502
and so on till 2010070524
and then 2010070601 and so on till 2010070524
and so on for other records.
Solved! Go to Solution.
Hi @Surabhi1711 ,
You need to use crossjoin to create a new table base on the two table , refer:
TableC = CROSSJOIN(TableA,SELECTCOLUMNS(TableB,"column2",RIGHT(TableB[Column2],2)))
Column3 = TableC[DateID]&""&TableC[column2]
Best Regards
Lucien
Hi @Surabhi1711 ,
You need to use crossjoin to create a new table base on the two table , refer:
TableC = CROSSJOIN(TableA,SELECTCOLUMNS(TableB,"column2",RIGHT(TableB[Column2],2)))
Column3 = TableC[DateID]&""&TableC[column2]
Best Regards
Lucien
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
90 | |
89 | |
79 | |
70 | |
68 |
User | Count |
---|---|
226 | |
129 | |
120 | |
84 | |
78 |