- Weatherford Knowledge Base
- P#
- Logic Functions
-
Getting Started
-
Customer Training
-
Customer Success
-
Updates
-
Production Optimization
-
Artificial Lift Optimization
-
Completion Optimization
-
Environmental, Social & Governance
-
Development, Acquisition & Divestitures
-
Enhanced Oil Recovery
-
Admin
-
P#
- Getting Started with P#
- Data Cleansing
- String Functions
- Scenario Functions
- Regression Functions
- Placeholder Functions
- Mathematical Functions
- Logic Functions
- Entities Function
- Moving Window Functions
- Time and Date Functions
- Statistical Functions
- Economic Functions
- Data Handling
- Additional Functions
- Directional Functions
- Machine Learning Functions
- DCA Functions
- Neighborhood Functions
-
Packages
IIf
Returns the first value if the condition is true, if the condition is false, the second value is returned(immediate if).
Syntax
IIf(condition, true case, false case)
Example
IIf("oil production rate" in "m3/h" >5.5, 10, 0)