Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi i like to rename filed values
ex :
dalls to 001
houston to 002
and austin and elpaso has 003 how to get values by variable or expressions
dalls 001
houston 002
austin 003
elpaso 003
....................
Well, in the back end you should use ApplyMap:
In the back end in the Calculated dimensions use nested If statement:
Hi,
What is the output of renamed field you are expecting, your question is not clear.
Also, renaming of which axes are you referring in chart.
Well, in the back end you should use ApplyMap:
In the back end in the Calculated dimensions use nested If statement:
Hi Sanjeeva,
May be like this, i am not completely clear on your requirement.
Load
Yourfiled,
replace(replace(replace(replace(Yourfield,'dalls','001'),'houston','002'),'austin','003'),'elpaso','003') as NewField
from <>;
Hi Sanjeeva,
Mindagaus reply would help you. Try to use applymap(). Below is the sample script, pls modify according to your requirement, if it helps.
map:
Mapping LOAD * INLINE [
Month1, Month
1, Jan
2, Feb
3, Mar
4, Apr
5, May
6, June
7, July
8, Aug
9, Sep
10, Oct
11, Nov
12, Dec
];
table:
LOAD
applymap('map',Month) as Month,
FROM
[..\Downloads\data.xlsx]
(ooxml, embedded labels, table is data);