Forum Discussion

gluizqueiroz's avatar
gluizqueiroz
Icon for Resolver I rankResolver I
7 years ago
Solved

How to create a table with 2 columns from another table, something like VALUES(), but with 2 columns

I have the following table:   ALL DATA Team Name Age Country NYG Jonh Doe 17 USA NYG Jonh Doe 22 Canada NYG Claire 13 Bolivia DAL James 34 Mexico DAL James 74 C...
  • Zubair_Muhammad's avatar
    7 years ago

    gluizqueiroz

     

    One way is to create a calculated table from modelling tab

     

    Calculated Table =
    ALL ( Table1[Team], Table1[Name] )
    

     

     

    or in the query editor...Duplicate the Query..select the 2 columns and choose GroupBY