Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tecumseh
Helper V
Helper V

DAX Create Summary Table With Max Date

Hi all,

How can I create a summary table from a fact table that return only the Row with the Max Date for each set of criteria?
Here is what I have so far, but I I haven't been able to get just the Max Date.

Data Summary =
SUMMARIZE(
    Data,
    Data[Co],
    Data[Division],
    Data[Region],
    Data[District],
    Data[Center],
    Data[Date],
    Data[Amount]
)

summary table.PNG


Thanks
-w
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Data Summary =
var a = SUMMARIZE(
    Data,
    [Co],
    [Division],
    [Region],
    [District],
    [Center],
    [Date],
    [Amount]
)
RETURN MAXX(a,[Date])

View solution in original post

2 REPLIES 2
VilmarSch
Post Partisan
Post Partisan

Veja se ajuda

 

Tabela2 = 
SUMMARIZE(
    Tabela,
    [Co],
    [Division],
    [Region],
    [District],
    [Center],
    "Date", MAX(Tabela[Date])
)
lbendlin
Super User
Super User

Data Summary =
var a = SUMMARIZE(
    Data,
    [Co],
    [Division],
    [Region],
    [District],
    [Center],
    [Date],
    [Amount]
)
RETURN MAXX(a,[Date])

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.