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.
I was trying to convert this dax column in to measure which I'm failing, Can anyone of you help me on this?
IF(ISBLANK([Ship Date]),BLANK(),
CALCULATE(MIN('Table A'[Ship Date]),
FILTER('Table A','Table A'[Customer]=EARLIER('Table A'[Customer])),
FILTER('Table A','Table A'[Status]="Shipped"),
FILTER('Table A','Table A'[Item]<>"TAP")))
Solved! Go to Solution.
HI,
I am not sure how your semantic model looks like or how your expected outcome of the visualization looks like, but please try something like below whether it suits your requirement.
expected result measure: =
CALCULATE (
MIN ( 'Table A'[Ship Date] ),
FILTER (
'Table A',
'Table A'[Ship Date] <> BLANK ()
&& 'Table A'[Customer]
IN VALUES ( 'Table A'[Customer] )
&& 'Table A'[Status] = "Shipped"
&& 'Table A'[Item] <> "TAP"
)
)
Hi @Sri57 ,
You can create a measure as below to get it, and the precondition is the field [Ship Date] and [Customer] need to be applied on the visual.
Measure =
VAR _shipdate =
SELECTEDVALUE ( 'Table A'[Ship Date] )
VAR _customer =
SELECTEDVALUE ( 'Table A'[Customer] )
RETURN
IF (
ISBLANK ( _shipdate ),
BLANK (),
CALCULATE (
MIN ( 'Table A'[Ship Date] ),
FILTER (
ALLSELECTED ( 'Table A' ),
'Table A'[Customer] = _customer
&& 'Table A'[Status] = "Shipped"
&& 'Table A'[Item] <> "TAP"
)
)
)
Best Regards
Hi @Sri57 ,
You can create a measure as below to get it, and the precondition is the field [Ship Date] and [Customer] need to be applied on the visual.
Measure =
VAR _shipdate =
SELECTEDVALUE ( 'Table A'[Ship Date] )
VAR _customer =
SELECTEDVALUE ( 'Table A'[Customer] )
RETURN
IF (
ISBLANK ( _shipdate ),
BLANK (),
CALCULATE (
MIN ( 'Table A'[Ship Date] ),
FILTER (
ALLSELECTED ( 'Table A' ),
'Table A'[Customer] = _customer
&& 'Table A'[Status] = "Shipped"
&& 'Table A'[Item] <> "TAP"
)
)
)
Best Regards
HI,
I am not sure how your semantic model looks like or how your expected outcome of the visualization looks like, but please try something like below whether it suits your requirement.
expected result measure: =
CALCULATE (
MIN ( 'Table A'[Ship Date] ),
FILTER (
'Table A',
'Table A'[Ship Date] <> BLANK ()
&& 'Table A'[Customer]
IN VALUES ( 'Table A'[Customer] )
&& 'Table A'[Status] = "Shipped"
&& 'Table A'[Item] <> "TAP"
)
)
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 |
---|---|
10 | |
9 | |
7 | |
4 | |
4 |