Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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)
| Id | Amount | Date |
| 1 | 201007 | 31-Dec-19 |
| 1 | 175947 | 30-Sep-19 |
| 1 | 198300 | 30-Jun-19 |
| 2 | 7872 | 31-Dec-19 |
| 2 | 7551 | 30-Sep-19 |
| 2 | 6946 | 30-Jun-19 |
| 3 | 24087 | 31-Mar-20 |
| 3 | 24087 | 31-Dec-19 |
| 3 | 22513 | 30-Sep-19 |
| 3 | 32767 | 30-Jun-19 |
| 4 | 32260 | 31-Dec-19 |
| 4 | 44933 | 30-Sep-19 |
| 4 | 37113 | 30-Jun-19 |
| 5 | 12707 | 31-Dec-19 |
| 5 | 21533 | 30-Sep-19 |
| 5 | 15347 | 30-Jun-19 |
Required Table
| Id | Amount | Date |
| 1 | 201007 | 31-Dec-19 |
| 2 | 7872 | 31-Dec-19 |
| 3 | 24087 | 31-Mar-20 |
| 4 | 32260 | 31-Dec-19 |
| 5 | 12707 | 31-Dec-19 |
@calculated table
Solved! Go to Solution.
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]))
Proud to be a Super 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]))
Proud to be a Super User!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 134 | |
| 111 | |
| 50 | |
| 31 | |
| 29 |