Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi there,
Can someone please help me here to calculate the minimum date in a separate column based on the security column.
sample input data:-
| SECURITY | DATE |
| Amazone | 6/30/2024 |
| Flipkart | 6/30/2024 |
| Myntra | 6/30/2024 |
| Ajio | 6/30/2024 |
| Alibaba | 6/30/2024 |
| Flipkart | 3/31/2024 |
| Amazone | 3/31/2024 |
| Myntra | 3/31/2024 |
| Alibaba | 3/31/2024 |
| Ajio | 3/31/2024 |
Expected output:-
| SECURITY | DATE | MIN_DATE |
| Amazone | 6/30/2024 | 3/31/2024 |
| Flipkart | 6/30/2024 | 3/31/2024 |
| Myntra | 6/30/2024 | 3/31/2024 |
| Ajio | 6/30/2024 | 3/31/2024 |
| Alibaba | 6/30/2024 | 3/31/2024 |
| Flipkart | 3/31/2024 | 3/31/2024 |
| Amazone | 3/31/2024 | 3/31/2024 |
| Myntra | 3/31/2024 | 3/31/2024 |
| Alibaba | 3/31/2024 | 3/31/2024 |
| Ajio | 3/31/2024 | 3/31/2024 |
Solved! Go to Solution.
hello @Bansi008
please check if this accomodate your need.
MIN_DATE =
MINX(
FILTER(
'Table',
'Table'[SECURITY]='Table'[SECURITY]&&
'Table'[DATE]<=EARLIER('Table'[DATE])
),
'Table'[DATE]
)
Hope this will help you.
Thank you
hello @Bansi008
please check if this accomodate your need.
MIN_DATE =
MINX(
FILTER(
'Table',
'Table'[SECURITY]='Table'[SECURITY]&&
'Table'[DATE]<=EARLIER('Table'[DATE])
),
'Table'[DATE]
)
Hope this will help you.
Thank you
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.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |