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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
rajveersinghsisodiya
Contributor III
Contributor III

Please Help Me

hi i need to create some table or chart like specified below:- 

Field NAmeAvgStdev
Name_of_field_110.22.5
Name_of_field_215.764.6
Name_of_field_316.565.6

all this feilds are from one table. 

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a calculated dimension:

  • =valuelist('Name_of_field_1','Name_of_field_2','Name_of_field_3')

and two expressions:

  • pick(match(valuelist('Name_of_field_1','Name_of_field_2','Name_of_field_3'),'Name_of_field_1','Name_of_field_2','Name_of_field_3'), avg( Name_of_field_1),avg( Name_of_field_2),avg( Name_of_field_3))
  • pick(match(valuelist('Name_of_field_1','Name_of_field_2','Name_of_field_3'),'Name_of_field_1','Name_of_field_2','Name_of_field_3'), stdev( Name_of_field_1),stdev( Name_of_field_2),stdev( Name_of_field_3))

talk is cheap, supply exceeds demand

View solution in original post

14 Replies
Not applicable

Do u have avg and stDev available or u want to calculate it.

What is the problem you are facing in creating above table

alexandros17
Partner - Champion III
Partner - Champion III

Load

[Field Name],

stdev(myField) as StandardDeviation ,

avg((myField) as average

from abc.xlsx group by [Field Name];

let me know

Not applicable

If u have already calculated then simply u can use table box

avinashelite

Hi Rajveer,

Use Straight table Chart, in dimension give your field name and in expression write Avg(filed name)

and add second expression , definition as Stdev(filed name)

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a calculated dimension:

  • =valuelist('Name_of_field_1','Name_of_field_2','Name_of_field_3')

and two expressions:

  • pick(match(valuelist('Name_of_field_1','Name_of_field_2','Name_of_field_3'),'Name_of_field_1','Name_of_field_2','Name_of_field_3'), avg( Name_of_field_1),avg( Name_of_field_2),avg( Name_of_field_3))
  • pick(match(valuelist('Name_of_field_1','Name_of_field_2','Name_of_field_3'),'Name_of_field_1','Name_of_field_2','Name_of_field_3'), stdev( Name_of_field_1),stdev( Name_of_field_2),stdev( Name_of_field_3))

talk is cheap, supply exceeds demand
rajveersinghsisodiya
Contributor III
Contributor III
Author

it not calculated i need to calculte it.

rajveersinghsisodiya
Contributor III
Contributor III
Author

data is already loaded and i need to calculate it with writing expressions.

avinashelite

Can you please post your qvw file

Not applicable

use straight table

Dimension - FieldName

Expression - Avg(Field)

Expression2-stdev(Field)