Forum Discussion

Earkkaperk's avatar
Earkkaperk
Frequent Visitor
2 years ago
Solved

SUMMARIZE, GROUP BY without generate calculated table

Hi, I need you guys help with this topic. First, my datasource is the dataset that was provided with direct query. I successfully find the max value group by datekey & skuid. It went well if I cre...
  • amitchandak's avatar
    2 years ago

    Earkkaperk , You can use measures if needed

     

    MaxPlanned = Maxx( SUMMARIZE('Fact Product Details Shift View','Fact Product Details Shift View'[DateKey],'Fact Product Details Shift View'[skuId],"Planned",MAX('Fact Product Details Shift View'[Planned])), [Planned])

     

    If needed you can use sumx

     

    Also, calculated table should work after publish.