Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

In pie chart , how to do a calculated dimention ?

Dear sirs , in pie chart , how to do a calculated dimention from a certain field to pick several field value , and ,  how is the relative expressions. For example , I have 2 fields , category & amt. I want to show ca1 , ca2 for dimention , and , sum relative amt in expressions. Please help.

1 Solution

Accepted Solutions
Highlighted

Hi,

Assume this example with two fields

LOAD * Inline [

category , amt

ca1,10

ca2,20

ca3,30

ca4,24 ];

1. First way is

Dim:- =if(Match(category,'ca1','ca2'),category)

Expre:- sum(amt)

2. Second Way is

Dim:-  category//Without calculated dim

Expre:- sum({<category={'ca1','ca2'}>}amt) //With SET analysis expression

Regards

Anand

View solution in original post

2 Replies
Highlighted

Hi,

Assume this example with two fields

LOAD * Inline [

category , amt

ca1,10

ca2,20

ca3,30

ca4,24 ];

1. First way is

Dim:- =if(Match(category,'ca1','ca2'),category)

Expre:- sum(amt)

2. Second Way is

Dim:-  category//Without calculated dim

Expre:- sum({<category={'ca1','ca2'}>}amt) //With SET analysis expression

Regards

Anand

View solution in original post

Highlighted
Not applicable

Dear Anand , Thanks. I will try it.