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

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.

Reply
nelson777
Frequent Visitor

Summarize Bringing Max and Min Dates

Hi, legends,

 

I'm trying to summarise a table and get the first and last date of the occurrence I'm grouping by.

I tried to get there through similar solutions for older posts here, but couldn't make it work properly.

 

The formula I'm using is bringing the overall min and max date, and I need it to iterate by rows.

This is what I did: 

 

Table = SUMMARIZE(test, test[Name], "First Seen", MIN(test[First Seen]), "Last Seen", MAX(test[Last Seen]))

and the result I got:
nelson777_0-1658104006724.png

which, as you can see, all the dates are the same for "first seen" and "last seen"

How do I bring the min and max dates for each of the names I'm summarizing?

TIA,

Nelson

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @nelson777 ;

I tested it and it works well.

1. orginal table.

vyalanwumsft_0-1658284861221.png

2.new table.

vyalanwumsft_1-1658284896150.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples.

 

Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

VahidDM
Super User
Super User

Hi @nelson777 

 

Can you post sample data as text and expected output?
Not enough information to go on;

please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
4. Relation between your tables

Appreciate your Kudos!!
LinkedIn:www.linkedin.com/in/vahid-dm/

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.