Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Bring in rows from one table into a new table

I need help creating a new table based off data from my original.  Here is the current state and desired tables.  Thanks in advance!

5 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      How would it work in DAX once I click New Table.  The "Quarter Account New" and "Quarter Account Drop" are calculated columns, not in the imported data.

      • amitchandak's avatar
        amitchandak
        Icon for Super User rankSuper User

        Anonymous , That is power Query.

         

        In DAX

        union(

        summarize(Table, Table[Account], Table[Quater Account New], "New/Drop", "New") ,

        summarize(Table, Table[Account], Table[Quater Account Dropped], "New/Drop", "Dropped")

        )