Forum Discussion
shahid_tanmoy
Helper I
3 years agoHow do I append two sources in DAX code instead of the append button?
Hi All, I have two JSON sources. Normally I would have to create two seperate JSON sources and append the 2nd to the first. Can someone write me out the code to do it all in one? Thanks! ...
jennratten
Super User
3 years agoIt looks like your source step returns a record, so you can combine Source1 and Source2 like this:
CombineRecords = Record.Combine ( { Source1, Source2 } ),
#"Converted to Table" = Table.FromRecords ( CombineRecords )
shahid_tanmoy
Helper I
3 years agoTried this, only gives me the second record