Qlik Sense Drawing multi line graph

时间:2015-06-26 09:54:24

标签: mongodb linegraph qliksense

I'm new to Qlik Sense. I've data from MongoDB and trying to visualize data using Qlik Sense.

Data:

Name    Time                 Value
Sig0    1434443400061   0.78535046693984389
Sig0    1434365571861   0.47410865876843988
Sig0    1434367800061   0.52816115795111507
Sig1    1434443400062   0.54981022370331589
Sig1    1434365571862   0.48053196850949664
Sig1    1434367800062   0.28258334531262386

How to draw Multi Line Graph?

X Axis - time
Y Axis - Line 1 - Sig0
Y Axis - Line 1 - Sig1

Currenty, im connecting to QV Source MongDBConenctor to load data.

Any suggestions would be greatly appriciated.

2 个答案:

答案 0 :(得分:0)

将数据拆分为Sig0和Sig1的简单操作是使用度量表达式中的if语句完成的。

sum(if(Name='Sig0',Value))

Add a measure

Sig1相同。 这将绘制此图表。您自己必须花时间进行正常日期转换。 enter image description here

答案 1 :(得分:0)

正确的SET分析语法是sum({} Value)而不是上面的答案。