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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Get Earliest Date of a Group across several Tables

Hello everyone,

 

can you help me with the following topic?

I have two tables:

 

DimOutlet

OutletKeyOutletname
1Outlet1
2Outlet2
3Outlet3
4Outlet4

 

FactMessageDetails

MessageIdOutletKeyMessageCreationDate
1104-08-2022 13:00:00
2103-08-2022 13:00:00
3101-08-2022 13:30:00
4201-08-2022 13:00:00
5320-07-2022 13:00:00
6403-08-2022 13:00:00
7404-08-2022 13:00:00

 

 

What I need is the date where an Outlet sent their FIRST message. I was thinking about adding a column to the "DimOutlet" Table:

OutletKeyOutletnameFirstSentMessage
1Outlet101-08-2022 13:30:00
2Outlet201-08-2022 13:00:00
3Outlet320-07-2022 13:00:00
4Outlet403-08-2022 13:00:00

 

Can somebody help me creation this column?

Thanks a lot in advance 🙂

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

@Anonymous  you are absolutely right 🙂
Create this calculated column:

 

 

FirstSentMessagee = CALCULATE(MIN(FactMessageDetails[MessageCreationDate]))

 

 

 

Solution file to download:
Get Earliest Date of a Group across several Tables 2022-08-04.pbix


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report –Contosoo BySpartaBII

View solution in original post

4 REPLIES 4
SpartaBI
Community Champion
Community Champion

@Anonymous  you are absolutely right 🙂
Create this calculated column:

 

 

FirstSentMessagee = CALCULATE(MIN(FactMessageDetails[MessageCreationDate]))

 

 

 

Solution file to download:
Get Earliest Date of a Group across several Tables 2022-08-04.pbix


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report –Contosoo BySpartaBII

Anonymous
Not applicable

Hi @SpartaBI ,

WORKS! Thanks a million 🙂

 

Best,
Luisa

@Anonymous my pleasure :))

Do check out my showcase report - got some high level stuff there. Sure you will find there a lot of cool ideas. Please give it a thumbs up over there if you liked it 🙂
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543

@Anonymous got your Kudos now.
my pleasure 🙂
Please don't forget to accept the previous message as a solution for community visibility.
P.S. Check out my showcase report - got some high level stuff there. Sure you will find there a lot of cool ideas. Please give it a thumbs up over there if you liked it 🙂
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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