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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
tecumseh
Resolver III
Resolver III

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.