The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have to create the difference between the physical date and the created on date, using the the "received pricing" status in the workflow status.
I am needing to know how many days it took to get to that specific status("Received pricing" in the workflow status columns-which has multiple different status types).
so basically how many days between physical date to created date with the filter "received pricing" in the workflow status column.
Please advise.
Look at you status it look like you have a "-" before
Hi
Try this as a measure :
in text form :
Hi,
I put this code:
NBDays =
var statusG=SELECTEDVALUE(cr93f_cpsoo[Workflow Status])
return
if(statusG="Received Pricing",DATEDIFF(SELECTEDVALUE(cr93f_cpsoo[createdon.date]),SELECTEDVALUE(cr93f_cpsoo[Physical Date]),DAY),0)
All the days just show as 0. Please advise.
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
22 | |
14 | |
14 | |
9 | |
7 |