Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Liniendiagramm - If Bediengung

Hallo zusammen!

Ich habe ein kleines Problem mit Qlikview und ich brauche eure Hilfe! Ich habe eine Tabelle mit 5 Spalten. Die erste Spalte ist das Datum (mit Hour und Minute). Die andere 4 Spalten haben einfach Werte.

Ich möchte pro Tag zwei Mittelwerte für jede Spalte erzeugen. Die Bedingungen für die zwei MW sind:

MW1: Hour>=6 and Hour<<15

MW2: Hour>=15 and Hour<<23

Dann möchte ich pro Spalte zwei Linien plotten, und als X-Axis möchte ich Tags haben.

Ich habe in Liniendiagram diese Formeln versucht, aber leider hat es nicht funktioniert. 

Avg(if ((Hour>=6)AND(Hour<<15),Z1V1niO)

if ((Hour>=6)AND(Hour<<15),Avg(Z1V1niO))

Vielen Dank für eure Hilfe!!!!!


Eduardo

1 Solution

Accepted Solutions
Not applicable
Author

It finally worked with this expression:  avg({<Hour = {6,7,8,9,10,11,12,13,14}>}Z1V1niO)

View solution in original post

5 Replies
Not applicable
Author

hey,

die community ist eigentlich auf englisch solltest dir vl überlegen das auf englisch zu posten dann bekommst du mit sicherheit eine antwort.

lg

Not applicable
Author

Thank you for the information. I didn't know it. I will post in English next time.

Best regards,

Eduardo

Not applicable
Author

you should try it with set analysis.

avg({<Hour = {>=$(=6)<=$(=15)}>}Z1V1niO)

hope this helps

regards,

MT

Not applicable
Author

Hey! Thank your for helping me but I still don´t plot anything... For Dimension I have "Month" and "Day", and in Formel I have:

avg({<Hour = {>=$(=6)<=$(=15)>}}[Z1V1 iO&niO])

But it still doesn't work... Can you please help me? I don't knwo what set analysis is...

Thank you very much!

Eduardo

Not applicable
Author

It finally worked with this expression:  avg({<Hour = {6,7,8,9,10,11,12,13,14}>}Z1V1niO)