Forum Discussion

E5254730's avatar
E5254730
Icon for Helper II rankHelper II
4 years ago
Solved

Merge 2 excel files into one for Power BI report

Hello,

 

I'm creating a Power BI dashboard by connecting 2 excel files.

Challenge over here is that in both the excel files there are more or less columns. But there are around 20 columns which are same within both the excel files.

 

I want this 20 columns running Power query to develop the dashboard.

Please advise. Thanking you in advance.

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi E5254730 .

    Load both the tables in Power BI and merge on the basis of any common column.

    If this post helps, then mark it as 'Accept as Solution' and give it a thumbs up.

  • Hi E5254730 

     

    For both queries, first remove the auto generated "Changed Type" step in Applied Steps pane. Then click Home tab, use "Choose Column" to select the common 20 columns. Only these selected columns will be remained. Then merge two queries into one query. Use it for your report. 

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.

2 Replies

  • v-jingzhang's avatar
    v-jingzhang
    Icon for Community Support rankCommunity Support

    Hi E5254730 

     

    For both queries, first remove the auto generated "Changed Type" step in Applied Steps pane. Then click Home tab, use "Choose Column" to select the common 20 columns. Only these selected columns will be remained. Then merge two queries into one query. Use it for your report. 

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi E5254730 .

    Load both the tables in Power BI and merge on the basis of any common column.

    If this post helps, then mark it as 'Accept as Solution' and give it a thumbs up.