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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

adding values in 2 dimensions in qlikview

I have 2 dimensions and would like to add values from both columns to create a third dimension. I tried using 'add calculated dimension' but the result is always error. Can somebody show me the formula to calculate this? its basically -----    dimension1 + dimension2 = dimension3

Thanx for your help.

2 Replies
swuehl
MVP
MVP

Are the values of dimension1 resp. dimension2 numericals? I think a calculated dimension using something like

=dimension1 + dimension2

should work if you want to add up numericals or

=dimension1 & dimension2

if you want to concatenate (like attaching a string value to another).

But the resulting lines will depend also on your data model (two fields located in one table or maybe in two unlinked tables etc.)

If you still run into errors, it might be helpful if you could create and post a small sample QlikView file (you can attach files in advanced editor, follow the link in the upper right corner in the forum editor).

Regards,

Stefan

Anonymous
Not applicable
Author

Thats exactly what i did.  =dimension1 +dimension2    but it gave error in calculation...

the 2 dimensions are in the same table side by side...I'll follow ur advice and post a sample qvw