In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

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

Alteryx - dynamically selecting filtering for certain rows based on text

sislam11
7 - Meteor

Hello,

 

Please could you help me to dynamically filter rows based on headings and text values. Please see attached file which has a tab with the input and another tab with the desired output.

 

In column1 we have the headings and text. Headings are in bold (e.g. Bananas, Oranges, Grapes, Apples). In column2 we have the values.

 

sislam11_0-1666803869093.png

 

 

I would like to output only the "Example text two" and "Example text three" rows for "Bananas" and "Apples" along with the associated values.

 

The output should also append the heading to the example text.

 

It will need to be dynamic as the headings could be in different orders (e.g. Oranges could be first instead of Bananas)  but the text under each heading will remain the exact same.

 

sislam11_1-1666803899873.png

 

 

I am having trouble as it would be easy if the text under each heading was different but now the text is the same under each heading.

 

Many thanks in advance!

4 REPLIES 4
Carlithian
11 - Bolide
11 - Bolide

Just checking, will there always be the null rows between each group? Or is it only the bolding that identifies a new grouping?


Happy Alteryxing
Luke_C
17 - Castor
17 - Castor

Hi @sislam11 

 

You can leverage a multi-row formula tool to get the header info for each row:

Luke_C_0-1666804755345.png

 

 

Felipe_Ribeir0
16 - Nebula

Hi @sislam11 

 

One way of doing this

 

Felipe_Ribeir0_0-1666805321981.png

 

sislam11
7 - Meteor

There could no null rows in between however the headings will always be the same (i.e. Bananas, Apples, Oranges etc)

Labels
Top Solution Authors