In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

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
binu_acs
21 - Polaris

@sislam11 You don't need a macro for this

 

binuacs_0-1665583989886.png

 

 

 

binu_acs
21 - Polaris

@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
Top Solution Authors