Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Tiles problem

terrellchong
8 - Asteroid

I know that alteryx have this tiles function but I would like to ask how does it apply on my use case

 

I attached the file with expected output in book1.xlsx

 

It was basically referring to the "Amount" and "Name" column

 

when the "amount" is null, the expected output will be 1, when "amount" is !null, then it will start to count according to "Name"

 

and when the name change, the cycle starts again.

 

How do I apply tiles in the following file?

9 REPLIES 9
Pingu
10 - Fireball

Tile tool.

 

Tile method Unique Value.

 

Unique Column: Name , Amount

Group by: Name


Edit: Sorry this does not work according to your use case, as both null and the first value will get a value of 1... trying to fix it, but I must be missing something 🙄

 

Added a solution. Bit ugly so I am open to better solutions 😅.

terrellchong
8 - Asteroid

ya, that's what im facing

PhilipMannering
16 - Nebula
16 - Nebula

A couple more solutions attached,

PhilipMannering_0-1641383831563.png

 

PhilipMannering
16 - Nebula
16 - Nebula

If you want to start counting from 2 (and not 1) on the first non-null value then this should work..

binuacs
20 - Arcturus
terrellchong
8 - Asteroid

@Pingu @binuacs @PhilipMannering what if i make the "amount" row to zero by default? does that make me able to use the tile tool?

binuacs
20 - Arcturus

@terrellchong it should work but i dont think you will get the expected result

terrellchong
8 - Asteroid

yea you're right, im not getting the result im looking for... still searching tho

Pingu
10 - Fireball

@terrellchong  Did you open any of the attachment workflows? 

 

What is different about this result than the one you need?

Labels