We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

referencing a formula within another

wonka1234
10 - Fireball

Hi,

 

I am trying to adjust my formula for this:

 

 

wonka1234_1-1671740495934.png

 

 

and when I transpose I get this:

 

wonka1234_2-1671740549973.png

 

 

But OE Conclusion should have "Field Requires a value" correspond to it in the Exception column.

 

My formulas

 

wonka1234_3-1671740637614.png

 

after i do this i transpose to the result you see above.

 

What am I doing wrong?

 

 

6 REPLIES 6
binuacs
21 - Polaris

@wonka1234 Can you replace the OR in the formula with AND and try again ?

martinding
13 - Pulsar

Hi @wonka1234 ,

 

Would you be able to provide some dummy data? 

 

It is a bit hard to diagnose the formula without understanding what's going on at the data level.

 

Cheers 

wonka1234
10 - Fireball

Sample data

 

Pass or FailTest 1Test 2Test 3Test 4Test 5Test 6CommentComment1Test 7Test 8Test 9Test 10Test 11Test 12Test 13Test 14Test 15
FAIL    Approval Completed DateRequires a Value OE ConclusionOE Conclusion     
wonka1234
10 - Fireball

@martinding @binuacs  There could be multiple values for a "test" in a row/record...  And some tests need a certain "comment" .

martinding
13 - Pulsar

Hi @wonka1234 

 

Thanks for the sample data.

 

I noticed that in your original question, the expected output contained multiple Completed Date values in the Exception column, in the sample data, there's only a single column (and single row) "Comment" that contains the "Completed Date".

 

wonka1234_2-1671740549973.png

 

May I ask how the transpose was done? Was it like this?

martinding_0-1671757522432.png

 

Because in the Formula tool, what we are updating is the Comment 1 field, so it is not actually changing the values corresponding to the Tests. If we want to update OE Conclusion corresponding to Test 8 and 9, we'd have to write something like this:

martinding_1-1671757624234.png

 

 

wonka1234
10 - Fireball

@martinding  adding some extra screenshots to add clarity/ Formulas Comment 1 and Comment come after thiese

 

 

 

 

wonka1234_0-1671805208662.png

 

wonka1234_1-1671805287714.png

 

 

does this help?

 

 

wonka1234_0-1671806480702.png

 

Labels
Top Solution Authors