Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello everyone,
can you help me with the following topic?
I have two tables:
DimOutlet
OutletKey | Outletname |
1 | Outlet1 |
2 | Outlet2 |
3 | Outlet3 |
4 | Outlet4 |
FactMessageDetails
MessageId | OutletKey | MessageCreationDate |
1 | 1 | 04-08-2022 13:00:00 |
2 | 1 | 03-08-2022 13:00:00 |
3 | 1 | 01-08-2022 13:30:00 |
4 | 2 | 01-08-2022 13:00:00 |
5 | 3 | 20-07-2022 13:00:00 |
6 | 4 | 03-08-2022 13:00:00 |
7 | 4 | 04-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:
OutletKey | Outletname | FirstSentMessage |
1 | Outlet1 | 01-08-2022 13:30:00 |
2 | Outlet2 | 01-08-2022 13:00:00 |
3 | Outlet3 | 20-07-2022 13:00:00 |
4 | Outlet4 | 03-08-2022 13:00:00 |
Can somebody help me creation this column?
Thanks a lot in advance 🙂
Solved! Go to Solution.
@lulubrinki 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
@lulubrinki 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
@lulubrinki 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
@lulubrinki 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
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
21 | |
20 | |
19 | |
13 | |
12 |
User | Count |
---|---|
42 | |
27 | |
23 | |
22 | |
22 |