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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Want to Concatenate the data

Hi ,

I am very new to Qlikview. I have the requirement as below: I want to filter the data coming in excel which is marked in RED for the columns applicable as shown below.

The Aggregated values taken for (Average,Stdev, Average Wt. +  (3  * Stdev), Average Wt. -  (3  * Stdev) ) should be concatenatedas shown in the Result:

For ex: If I want to take the above Aggregated Calculations for Column StartWt.

  

Start Wt
Average Wt.39.358625
Stdev0.194965153
+3 Sigma39.94352046
-3 Sigma38.77372954

    

Data:
            Start Wt      OOI2nd OOI
39.5328.90128.373
39.61629.76229.016
39.06428.07527.761
39.11628.90328.426
39.12828.87528.284
39.25129.13528.542
39.37329.44128.822
39.43529.35428.713
39.47228.4228.083
Result:
          Start Wt OOI 2nd OOI
Average Wt.39.35862528.9988828.3755
Stdev0.1949651530.5516070.341234
Average Wt. +  (3  * Stdev) +3 Sigma39.9435204630.653729.3992
Average Wt. -  (3  * Stdev)-3 Sigma38.7737295427.3440527.3518

Could you please help me in this asap. Please help me sending the answer for this post to harvarinf1531@gmail.com

Labels (1)
3 Replies
sunny_talwar
MVP
MVP

May be like this:

Table:

LOAD * Inline [

Start Wt, OOI, 2nd OOI

39.53, 28.901, 28.373

39.616, 29.762, 29.016

39.064, 28.075, 27.761

39.116, 28.903, 28.426

39.128, 28.875, 28.284

39.251, 29.135, 28.542

39.373, 29.441, 28.822

39.435, 29.354, 28.713

39.472, 28.42, 28.083

];

Concatenate(Table)

LOAD Avg([Start Wt]) + (3*(Stdev([Start Wt]))) as [Start Wt],

  Avg([OOI]) + (3*(Stdev([OOI]))) as [OOI],

  Avg([2nd OOI]) + (3*(Stdev([2nd OOI]))) as [2nd OOI],

  'Average Wt. + (3 * Stdev)' as Flag

Resident Table;

Concatenate(Table)

LOAD Avg([Start Wt]) - (3*(Stdev([Start Wt]))) as [Start Wt],

  Avg([OOI]) - (3*(Stdev([OOI]))) as [OOI],

  Avg([2nd OOI]) - (3*(Stdev([2nd OOI]))) as [2nd OOI],

  'Average Wt. - (3 * Stdev)' as Flag

Resident Table;

Concatenate(Table)

LOAD Avg([Start Wt]) as [Start Wt],

  Avg([OOI]) as [OOI],

  Avg([2nd OOI]) as [2nd OOI],

  'Average Wt.' as Flag

Resident Table;

Concatenate(Table)

LOAD Stdev([Start Wt]) as [Start Wt],

  Stdev([OOI]) as [OOI],

  Stdev([2nd OOI]) as [2nd OOI],

  'Stdev' as Flag

Resident Table;


Capture.PNG

Not applicable
Author

Thanks Sunny for your quick response. It helped me in time.

sunny_talwar
MVP
MVP

Awesome, I am glad it did.

Please close this thread if you got what you wanted by marking the correct answer.

Qlik Community Tip: Marking Replies as Correct or Helpful