Forum Discussion
hiren89vora
4 years agoFrequent Visitor
Calculate Table Formula
Hi All, Can you please help me with the below requirement. I have existing table(Table_1) with below details but need to create calculated table which has max date from each id. (Table_1)...
- 4 years ago
pls try this
Table 2 = ADDCOLUMNS( SUMMARIZE('Table','Table'[Id],"date",max('Table'[Date])),"amount",maxx(FILTER('Table','Table'[Id]=EARLIER('Table'[Id])&&'Table'[Date]=EARLIER([Date])),'Table'[Amount]))
ryan_mayu
4 years agoSuper User
pls try this
Table 2 = ADDCOLUMNS( SUMMARIZE('Table','Table'[Id],"date",max('Table'[Date])),"amount",maxx(FILTER('Table','Table'[Id]=EARLIER('Table'[Id])&&'Table'[Date]=EARLIER([Date])),'Table'[Amount]))