Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
SOLVED

i can't find answer for this ques,i don't know how this question was related to alteryx

Highlighted
Alteryx Certified Partner

16oz of alteryxium decays and losses 30% of its weight every second.how many seconds will it take until alteryxium weigh less than 1/100th of an ounce ?

Highlighted
Alteryx Certified Partner

I'd build an iterative macro that reduces 16 by 30% until it equals the 1/100th of an ounce. Count the number of iterations it takes and thats your answer..

 

Something like this:

 

weight.PNG

Alteryx Certified Partner

thanks a lot for your answer .......can i know what is input for this work flow 

Highlighted
Alteryx Certified Partner

@haroon_sa the input was a text input with 16 as the only field

Highlighted
Alteryx Certified Partner

 

Weight  iteration
1612

 

@LordNeilLord.This is output for me,iteration was 12,but for my question there is only option is 19sec,20sec,21sec,22sec.can you please give solution  for my question..

Highlighted
Alteryx Certified Partner

@haroon_sa

 

If you set the filter tool to [Remaining Weight]<=0.01. it should work I used the same approach as @LordNeilLord, however with my change on the filter.

I came to an answer of 21 sec.

Highlighted
Alteryx Certified Partner

@ReinierK

Thank you......very useful

Highlighted
Alteryx Certified Partner

@ReinierK, I got 19 when I ran it :)

Highlighted
Alteryx Certified Partner

Here is my file,it is still 12, however i changed a lot

Highlighted
Alteryx Certified Partner

Here's my version

Labels