Free Trial

Alteryx Designer Desktop Discussions

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

Multiplying numeric values and displaying them as percentage

SaiJanani
7 - Meteor

Hi,

 

I am trying to get the numbers in percentage format.

 

Few things to mention:

 

1. The data needs to be in the same order 

2. In Col B to Col G, need to multiply the numbers by 100 and need to display them in percentage format rounding off upto two decimal places.

3. The above holds good for all numeric values except Col B, 2nd row where I intend to keep the same number.

 

Sample Input:

 

Col ACol BCol CCol DCol ECol FCol GCol H
ABC123[Null][Null][Null]ABCABC[Null][Null]
USD-1.84198223468911e--0.04350.0498-0.004111011-0.04110.33204352212/31/2010
DEF187   DEFDEF[Null][Null]
EUR0.16731343-0.01141.9386030.1512519870.01751.3079643683/15/2012
GHF197   GHFGHF[Null][Null]
KWD0.123239227-0.08751.261440.15154788-0.01991.35720276/15/2012
HML321   HMLHMLHML[Null]
AUD0.1166764020.071.2731210.15154788-0.01991.12123560210/29/2012
LKH456   LKHLKHLKH[Null]
USD0.1639745730.14951.7149090.149998610.17751.8370337227/19/2013
LMB879   LMBLMBLMB[Null]
AUD0.165681037-0.01260.3348401970.152749754-0.01020.487656069/9/2015
URAS964   URSAURSAURSA[Null]
AUD0.158139794-0.01850.295378910.1523200790.00250.5131222169/9/2015

 

 

 

 

Sample Output:

 

Col ACol BCol CCol DCol ECol FCol GCol H
ABC123[Null][Null][Null]ABCABC[Null][Null]
USD(1.84)%(4.35)%4.98%(0.41)%(4.11)%33.20%12/31/2010
DEF187   DEFDEF[Null][Null]
EUR16.73%(1.14)%193.86%15.13%1.75%130.80%3/15/2012
GHF197   GHFGHF[Null][Null]
KWD12.32%(8.75)%126.14%15.15%(1.99)%135.72%6/15/2012
HML321   HMLHMLHML[Null]
AUD11.67%7.00%127.31%15.15%(1.99)%112.12%10/29/2012
LKH456   LKHLKHLKH[Null]
USD16.40%14.95%171.49%15.00%17.75%183.70%7/19/2013
LMB879   LMBLMBLMB[Null]
AUD16.57%(1.26)%33.48%15.27%(1.02)%48.77%9/9/2015
URAS964   URSAURSAURSA[Null]
AUD15.81%(1.85)%29.54%15.23%0.25%51.31%9/9/2015
2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @SaiJanani 

 

Here is how you can do it. Having issue with -1.84198223468911e- it seems to have too many digits. Can you provide this data in excel.

Workflow:

atcodedog05_0-1643551044171.png

 

Hope this helps : )

 

binuacs
21 - Polaris

@SaiJanani Similar to @atcodedog05 approach

binuacs_0-1643554812097.png

 

Labels
Top Solution Authors