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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
tecumseh
Resolver II
Resolver II

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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.