Forum Discussion

yyhk123's avatar
yyhk123
Frequent Visitor
3 years ago
Solved

distinct table with more than 1 fields

  Hi, How can i recreate a table from step 1 to step 2 below? (in DAX) 1. Customer ID | Price | Program Name | Date ABC                 $100    Show                 10/1/2022 ABC     ...
  • ppm1's avatar
    3 years ago

    I would do this in the query editor, but you can do it in DAX too with this table expression

     

    NewTable = SUMMARIZE(Table, Table[CustomerID], Table[Date])

     

    Replace Table with your actual table name.

     

    Pat