cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Surya1
Helper I
Helper I

Help needed in power query

Hi 

 

Can some one helpme.I am new to powerBI.I have a scenario explained below.

 

I have two tables 

 

Table 1

 

col 1    col 2    col3

abc

bnn

fffg

hhh

 

Table 2

 

col 1

 

04/04/2018

12/04/2018

 

desired output

 

Table1

Table 1

 

col 1    col 2    col3 col4

abc                         abc_04/04/2018

abc                         abc_12/04/2018

bnn                         bnn_04/04/2018

bnn                          bnn_12/04/2018

fffg                         fffg_04/04/2018

fffg                          fffg_12/04/2018

hhh                        hhh_04/04/2018

hhh                        hhh_12/04/2018

 

Someone please help to get it done using powerquery/DAX

1 ACCEPTED SOLUTION
Hardik
Continued Contributor
Continued Contributor

Screenshot_2.pngI feel this is the solution you want ,you can concatenate the columns for the appropriate output

View solution in original post

5 REPLIES 5
Hardik
Continued Contributor
Continued Contributor

Screenshot_2.pngI feel this is the solution you want ,you can concatenate the columns for the appropriate output

Thank You So much for your help.

 

For each entry in col 1 of table1 i have different patterns to follow while concatenating.So i may need an IF to concatenate.

Can we do the cross join and if conditions in one step.

Hardik
Continued Contributor
Continued Contributor

I am not aware about your exact requirements for concatenation ,but this is what you can do . Screenshot_3.png

Surya1
Helper I
Helper I

@ImkeF

 

Power query xpert,kindly help ..

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors
Top Kudoed Authors