Message 1 of 5
DIESEL IN FIELD FORMULA

Not applicable
02-14-2017
12:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I started playing around with DIESEL but I'm not quite getting it.
I have a dynamic block with a few attributes and attribute "C" gets populated under certain conditions.
For instance IF attribute "A" = 1" the text should read NPT otherwise IF attribute "B" = A or B text should read RF otherwise IF "B" = C or D then the text should be RTJ.
This is easily done in EXCEL but I'm not understanding how it's done in DIESEL. What I have so far is this:
ATT-A = Attribute "A"
ATT-B = Attribute "B"
ATT-C = Attribute "C"
$(IF,$(=,ATT-A,1"),NPT,$(IF,$(=,ATT-B,$(or,A,B)),RF,RTJ))
Am I close?