Forum Discussion

medonication's avatar
medonication
Icon for Helper I rankHelper I
5 years ago
Solved

CROSS JOIN TWO TABLES using MERGED QUERIES

Good Morning dear PBI Community,

 

is there any way to merge two queries using CROSS JOIN. The two tables (Country and Product) doesn't have any key Column to match.
It would be great to do it directly in PBI.

 

Thank You

  • Payeras_BI's avatar
    Payeras_BI
    5 years ago

    @medonication

    En Power Query Editor:

    Payeras_BI_0-1604836553759.png

    Payeras_BI_1-1604836567659.png

    In Table1 add Custom Column being the formula - Table2

    Payeras_BI_2-1604836602256.png

    In Table1 ExpandTableColumn

    Payeras_BI_3-1604836609511.png

    Get the CrossJoin

    Payeras_BI_4-1604836621273.png

7 Replies