Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

manipulate data based on dimension value.

Hello all,

I have a table and I want to manipulate its data based on the expression dimension value.

for example if my dimension value is "A" multipy the data by 100 and if the dimension value is "B" divide the data by 100.

any ideas can this be done?

I am think the best will be to manipulate the data on the loadscript so afterwards I will be easier to use them in different tables without having to write any complex formula every time.

Regards,

Savvas

1 Solution

Accepted Solutions
renjithpl
Specialist
Specialist

Hi Savvitos,

You can try something like this in the edit script

Sum(if(Dimension ='A', Value)) * 100 as XXX,

Sum(if(Dimension ='B', Value)) / 100 as YYY

Then you can select XXX or YYY in your dimensions.

Regards

View solution in original post

1 Reply
renjithpl
Specialist
Specialist

Hi Savvitos,

You can try something like this in the edit script

Sum(if(Dimension ='A', Value)) * 100 as XXX,

Sum(if(Dimension ='B', Value)) / 100 as YYY

Then you can select XXX or YYY in your dimensions.

Regards