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: 
ab92
Creator II
Creator II

Condition

Good afternoon every one !

Please, see below my request :

In one field, I have this :

the result end to : +375

I would like to sort the numbers present : create a condition to show the numbers between

0 to -9

-10 to -149

-150 to -499

-500 to -700

-700 to the ends from the numbers present...

I tried this but unfortunatly is not wrking : could you help me please :

load*,
if(TDM6_R<0 and TDM6_R<-10,'0 à -10',
if(TDM6_R<=-10 and TDM6_R<-150,'-10 à -149',
if(TDM6_R<=-150 and TDM6_R<-500,'-150 à -499',
if(TDM6_R<=-500 and TDM6_R<=-700,'-500 à -700','Résultat inf à -701'
)
)
)
)
as Distance_Parcourue_Inf,

Many thanks for your help.

Best regards,

Axel

16 Replies
ab92
Creator II
Creator II
Author

I using this in front in simple table :

sunny_talwar

What dimensions do you have?

ab92
Creator II
Creator II
Author

many I took valuelist rowno ..

in total 15 but I want just  the deviation regarding each field : but the result means not good

=if(rowno()=1,Stdev([Age du patient]),

if(rowno()=2,'',

if(rowno()=3,Stdev(TDM_E1_DIST_PARCOURUE_M94),

if(rowno()=4,Stdev(TDM_E1_O2_DEBIT_DUPLIV277),

if(rowno()=5,Stdev(CSV_TDM_E2_DIST_PARCOURUE_DUPLI24),

if(rowno()=6,Stdev(CSV_TDM_E2_ENTREE_DEBITO2_DUPLI76),

if(rowno()=7,Stdev(TDM_BILAN_DISTANCE_PARCOURUE_ENTREE40),

if(rowno()=8,Stdev(TDM_BILAN_DYSPNEE_FIN_TEST_ENTREE_V268),

if(rowno()=9,'',

if(rowno()=10,Stdev(CSV_TDM_SORTIE_DISTANCE_PARCOURUE65),

if(rowno()=11,Stdev(CSV_TDM_SORTIE_DBIT_DUPLI79),

if(rowno()=12,'',

if(rowno()=13,Stdev(CSV_TDM_BILAN_DIFFER_DISTANC_ENTRE_SORT57),

if(rowno()=14,Stdev(CSV_TDM1_DYSPNEEDELTA110),

if(rowno()=15,Stdev(CSV_TDM_SORTIE_DYSPNE_653) )))))))))))))))

sunny_talwar

Try adding TOTAL and see if that works

ab92
Creator II
Creator II
Author

I tried and it's change nothing maybe I need to arrange something ...

Because it look extrange when the average it 425.03 and the deviation 133.45

sunny_talwar

What is strange about having an average of 425.03 and stdev of 133.45? What do you think it should be?

ab92
Creator II
Creator II
Author

Hi Sunny,

I just did not calculate well by my side...

Sorry for my mistake.

Thanks a lot for your help Sunny !

Great week end,

Axel