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 have physical date, Price Approved Date and workflow status. I am needing the MAX "physical date", "Price Approved Date" with the workflow status not including "received pricing".
How many days between the max "physical date" to 'Price Approved Date" not including the workflow status "received pricing."
Please advise. Thank you!
I tried this code but got an error:
Solved! Go to Solution.
Hi @Anonymous ,
This dax function error occurs because you have added two fields to the Max() function.
You can use the following dax:
Measure =
IF(
MAX('cr93f_cpsoo'[Workflow.Status])="-Received Pricing",
DATEDIFF(
MAX('cr93f_cpsoo'[Physical Date]),MAX('cr93f_cpsoo'[PriceApproved.date]),DAY))
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
This dax function error occurs because you have added two fields to the Max() function.
You can use the following dax:
Measure =
IF(
MAX('cr93f_cpsoo'[Workflow.Status])="-Received Pricing",
DATEDIFF(
MAX('cr93f_cpsoo'[Physical Date]),MAX('cr93f_cpsoo'[PriceApproved.date]),DAY))
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hi, @Anonymous
can you clear your requirnment becuase
one you mention MAX "physical date" to "Price Approved Date" and "physical date" to todays date with condition
not including "received pricing" .
and in above code you did not mention TOADY() date in entire code so i'm little confuse here
I apologize. It is Max "Physical Date" to "Price Approved Date" not including the status from workflow status "-Received Pricing" in Days.
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.