Alteryx Designer Desktop Discussions

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

Macro split by company name

sislam11
7 - Meteor

Hi,

 

I am new to using macros in Alteryx and would appreciate some help.

 

I am unsure how to create a dynamic macro which can split the attached file based on company name.

 

Please see attached file.

 

The macro should take the data from the 'Data' tab and create the three output tabs by splitting the data by 'Company' column and also create a 'Total' which is the sum of the 'Net' and 'Tax' columns.

 

The macro should by dynamic as the number of companies can increase or decrease.

 

Many thanks in advance for your help!

3 REPLIES 3
binuacs
20 - Arcturus

@sislam11 You don't need a macro for this

 

binuacs_0-1665583989886.png

 

 

 

binuacs
20 - Arcturus

@sislam11 If you are still looking for a macro, here is one way of doing this

 

binuacs_0-1665584299680.png

binuacs_2-1665584323777.png

 

 

 

 

Emmanuel_G
13 - Pulsar

@sislam11 

 

You don't need a macro for this case.

 

Find in attachement the way of doing that.

 

Emmanuel_G_0-1665584388534.png

 

 

 

Labels