Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

% Calculation

BRRLL99
11 - Bolide

Hi Team,

 

I have following dataset

 

DATASSRRCCTOTAL
A10102040
B15203065

 

Expected output:

 

DATASSRRCCTOTAL
A10102040
A ( %)25%25%50% 
B15203065
B ( %)23%31%46% 

 

While using formula tool I would like to have total's should be picked dynamically.

7 REPLIES 7
FinnCharlton
13 - Pulsar

Hi @BRRLL99 , you can do this with some creative cross-tabbing and transposing:

FinnCharlton_0-1681902371721.png

Hope this helps!

BRRLL99
11 - Bolide

is it possible to build same workflow dynamically with less tools

Christina_H
14 - Magnetar

How about this?

Christina_H_0-1681903974898.png

 

BRRLL99
11 - Bolide

IF I'm using Round in my original data set I have percentage values less than 1

like 0.81 or 0.99 etc it is showing as "0"

and I would like to have percentage sign shown instead of

 

expected output:

 

A --   8% ,  0.86%, 15% etc

B --   0.67% , 5.4% etc

 

BRRLL99
11 - Bolide

I'm looking for decimal places 

ex: instead of 52% it should be 51.6% etc

Christina_H
14 - Magnetar

Updated

Christina_H_0-1681906003831.png

 

binuacs
20 - Arcturus

@BRRLL99 Another method

binuacs_0-1681913780821.png

 

Labels