Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
lawrance
Creator II
Creator II

Scatter with Line chart in qlikview

Hi,

Please help me how to do scatter with line chart in qlikview.

Please find the image for expected ouput, I got output from excel but i don't know in QlikView.

Thanks,

Lawrance. A

1 Solution

Accepted Solutions
lawrance
Creator II
Creator II
Author

Hi all,

Thanks for your response and I got the output.

View solution in original post

10 Replies
marcus_sommer

I don't think that's possible to build such chart but there might be other visualizations which are suitable for you. Maybe someone could help you further if you elaborate your task in more detail and provide a sample application.

- Marcus

MarcoWedel

please provide some sample data.

thanks

regards

Marco

lawrance
Creator II
Creator II
Author

Hi,

Please find the sample data.

   

Request TypeTerminationTimeMeter IDExecution StartExecution End
Connect5/24/2016 5:232722412615/24/2016 5:235/24/2016 5:23
Connect6/8/2016 16:342702311756/8/2016 16:346/8/2016 16:34
Connect6/17/2016 11:492705049626/17/2016 11:496/17/2016 11:49
Connect6/17/2016 11:492705049626/17/2016 11:496/17/2016 11:49
Connect6/28/2016 12:122719899796/28/2016 12:126/28/2016 12:12
Connect7/1/2016 22:432712980807/1/2016 22:437/1/2016 22:43
Disconnect7/7/2016 7:402721295287/7/2016 7:407/7/2016 7:40
Disconnect7/8/2016 3:192720977547/8/2016 3:197/8/2016 3:19
Disconnect7/18/2016 10:062707863897/18/2016 10:067/18/2016 10:06
Disconnect7/18/2016 11:542701112267/18/2016 11:547/18/2016 11:54
Connect7/20/2016 10:072712024367/20/2016 10:077/20/2016 10:07
Disconnect7/20/2016 15:002420667097/20/2016 15:007/20/2016 15:00
Disconnect7/21/2016 9:432705021067/21/2016 9:437/21/2016 9:43
Disconnect7/21/2016 11:232722692027/21/2016 11:237/21/2016 11:23
Disconnect7/22/2016 8:422420667097/22/2016 8:427/22/2016 8:42
Disconnect7/25/2016 15:542703684907/25/2016 15:547/25/2016 15:54
Disconnect7/25/2016 15:552703684907/25/2016 15:557/25/2016 15:55
Connect7/26/2016 11:342719969717/26/2016 11:347/26/2016 11:34
Disconnect7/27/2016 12:252709078347/27/2016 12:257/27/2016 12:25

Thanks,

Lawrance. A

MarcoWedel

Can you describe how your sample data are to be interpreted to get the result you posted?

Maybe you can provide your Excel solution?

thanks

Marco

lawrance
Creator II
Creator II
Author

Hi all,

Thanks for your response and I got the output.

MarcoWedel

Hi,

I just was about to post this example when reading your solution:

QlikCommunity_Thread_242938_Pic2.JPG

QlikCommunity_Thread_242938_Pic1.JPG

QlikCommunity_Thread_242938_Pic3.JPG

QlikCommunity_Thread_242938_Pic4.JPG

QlikCommunity_Thread_242938_Pic5.JPG

QlikCommunity_Thread_242938_Pic6.JPG

table1:

LOAD *, Interval([Execution End]-[Execution Start]) as Duration;

LOAD *, Time(RangeMin(1,[Execution Start]+RangeMax('00:10',pow(Rand(),100)*(1-[Execution Start])))) as [Execution End];

LOAD *, Time(Match([Request Type],'Connects','Cut-Ins','Cut-Outs','Disconnects','MIs')/12+Rand()*(1-Match([Request Type],'Connects','Cut-Ins','Cut-Outs','Disconnects','MIs')/12)) as [Execution Start];

LOAD Pick(Ceil(Rand()*5),'Connects','Cut-Ins','Cut-Outs','Disconnects','MIs') as [Request Type],

    100000000+RecNo() as [Meter ID]

AutoGenerate 10000;

(Just creating some test data, the only relevant part here is the precalculation of the duration)

hope this helps nevertheless

regards

Marco

P.S.:

Can you post your solution as well for others to learn from?

thanks

lawrance
Creator II
Creator II
Author

Thanks Wedel. It's really good work. This discussion I learned lot

MarcoWedel

You're welcome.

Please close your thread if your question is answered:

Qlik Community Tip: Marking Replies as Correct or Helpful

thanks

regards

Marco

lawrance
Creator II
Creator II
Author

How I can close the this thread. Please help me.