Fusion Manage Forum
Welcome to Autodesk’s Fusion Manage (formerly Fusion 360 Manage) Forum. Share your knowledge, ask questions, and explore popular Fusion Manage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem using picklists in computed field

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Kedevlin
455 Views, 2 Replies

Problem using picklists in computed field

When a picklist field is pulling from a picklist that is "A list of values you define" (instead of records from a workspace), how is blank defined?

 

I'm created a computed field that shows "Incomplete" when certain picklist fields are blank and "Complete" when they are not blank.  Here's the formula I'm using:

 

case when PICKLIST_FIELD is null then 'Incomplete' Else 'Complete' END

 

This formula works when picklist type is "A list of records from a workspace" but does not work when picklist type is "A list of values you define". 

 

 

 

2 REPLIES 2
Message 2 of 3
dvirh
in reply to: Kedevlin

It depends on whether the item was saved with an empty Picklist or if the Picklist was added to the item after the item was created. In the former we use the value -999 and in the latter it would be null. As long as the Picklist was added to the workspace before any items were created, you can use the following computed field:

 

case when PICKLIST_FIELD=-999 then 'Incomplete' Else 'Complete' END

Hagay Dvir
Engineering Manager
Fusion Manage
Autodesk, Inc.
Message 3 of 3
Kedevlin
in reply to: dvirh

That works, thank you!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report