Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Administrator
4 years ago
Solved

Group data with DAX

Hello good morning, I would like to know if with DAX you can do a grouping of values as you would in Power Query with the grouping itself (I ask this because I can't edit Power Query queries), or...
  • amitchandak's avatar
    4 years ago

    Syndicate_Admin , a measure like this can help

    maxx(summarize(Table, Table[mater_product_id], "_sum", sum(Table[num_promos])), [_sum])

     

    You can create a table if needed using summarize or summarizecolumns

     

    summarize(Table, Table[mater_product_id], "_sum", sum(Table[num_promos]))