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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi all,
Would you pls help me with this one.
I have multiple entries of data for several dates (Observation Date). What I want to do - is to create a calculated column with the first date of occurence (First Occurence) for each of those entries. Would you pls help me with the correct logical expression for that column. Many thanks in advance!
Example:
Observation Date | Entry # | First occurence |
1-Jan-2022 | Entry1 | 1-Jan-2022 |
15-Jan-2022 | Entry1 | 1-Jan-2022 |
20-Jan-2022 | Entry1 | 1-Jan-2022 |
10-Jan-2022 | Entry2 | 10-Jan-2022 |
22-Jan-2022 | Entry2 | 10-Jan-2022 |
5-Jan-2022 | Entry3 | 5-Jan-2022 |
6-Jan-2022 | Entry3 | 5-Jan-2022 |
7-Jan-2022 | Entry3 | 5-Jan-2022 |
8-Jan-2022 | Entry3 | 5-Jan-2022 |
30-Jan-2022 | Entry4 | 30-Jan-2022 |
Solved! Go to Solution.
@Serj , a new column
minx(filter(data, Data[Entry #] = earlier(Data[Entry #])), Data[Observation Date])
a new measure
minx(filter(allselected(data), Data[Entry #] = max(Data[Entry #])), Data[Observation Date])
@Serj , a new column
minx(filter(data, Data[Entry #] = earlier(Data[Entry #])), Data[Observation Date])
a new measure
minx(filter(allselected(data), Data[Entry #] = max(Data[Entry #])), Data[Observation Date])
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.