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 Team,
Please help me out below
I am expecting Cat wise MinDate but Status is closed just we have to ignore the line item and only consider Open Status.
Thank you
@ Greg_Deckler @Fowmy
Solved! Go to Solution.
Hi @Anonymous ,
Try to create a calculated column or meausre like below.
Columns:
MinDatebyCat_Column1 =
CALCULATE (
MIN ( 'Table'[Date] ),
FILTER (
'Table',
'Table'[Cat] = EARLIER ( 'Table'[Cat] )
&& 'Table'[Status] = "Open"
)
)
MinDatebyCat_Column2 =
CALCULATE (
MIN ( 'Table'[Date] ),
FILTER ( ALLEXCEPT ( 'Table', 'Table'[Cat] ), 'Table'[Status] = "Open" )
)
Measure:
MinDatebyCat_Measure1 =
CALCULATE (
MIN ( 'Table'[Date] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Cat] = MAX ( 'Table'[Cat] )
&& 'Table'[Status] = "Open"
)
)
MinDatebyCat_Measure2 =
CALCULATE (
MIN ( 'Table'[Date] ),
FILTER ( ALLEXCEPT ( 'Table', 'Table'[Cat] ), 'Table'[Status] = "Open" )
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Try to create a calculated column or meausre like below.
Columns:
MinDatebyCat_Column1 =
CALCULATE (
MIN ( 'Table'[Date] ),
FILTER (
'Table',
'Table'[Cat] = EARLIER ( 'Table'[Cat] )
&& 'Table'[Status] = "Open"
)
)
MinDatebyCat_Column2 =
CALCULATE (
MIN ( 'Table'[Date] ),
FILTER ( ALLEXCEPT ( 'Table', 'Table'[Cat] ), 'Table'[Status] = "Open" )
)
Measure:
MinDatebyCat_Measure1 =
CALCULATE (
MIN ( 'Table'[Date] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Cat] = MAX ( 'Table'[Cat] )
&& 'Table'[Status] = "Open"
)
)
MinDatebyCat_Measure2 =
CALCULATE (
MIN ( 'Table'[Date] ),
FILTER ( ALLEXCEPT ( 'Table', 'Table'[Cat] ), 'Table'[Status] = "Open" )
)
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I need "Result Column", Cat wise "min date" if status is "Open"
Hi @Anonymous .
Can you please elaborate what exactly your requirement is or provide an expected output?
Regards,
Sanket
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
11 | |
10 | |
10 |