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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Weather forecast

Hi All,

How do i add weather forecast into my qlikview application?

Please suggest.

Thanks !

1 Solution

Accepted Solutions
nathanfurby
Specialist
Specialist

Here is something I did just as an experiment - have never used it for anything. I'm pretty sure I copied it from someone else on QlikView but can't remember.

View solution in original post

11 Replies
ashfaq_haseeb
Champion III
Champion III

Hi

I have wonderful example from Rakesh.

Please find the attached file

hope that helps

Regards

ASHFAQ

Not applicable
Author

hey, this is not what i require although idea is the same. my company made a customized dashboard but i want to add a webservice on qlikview, it should be something like the file i have attached.

can u please suggest?

nathanfurby
Specialist
Specialist

Here is something I did just as an experiment - have never used it for anything. I'm pretty sure I copied it from someone else on QlikView but can't remember.

Not applicable
Author

oh this is so cool!! how do i use it in my application?

i want it for my country and city. i.e Country : Pakistan and City: Karachi>?

please help!

Not applicable
Author

can i use it as the exact code from weather tab in the edit script?

nathanfurby
Specialist
Specialist

It runs on a variable (vCity) which you can change - see the input box below the weather data. If you want to hard-code to Karachi then set the variable in the load script.

Not applicable
Author

Thank you so much Nathan, this was a great help. However I am new to Qlikview can you pleae elaborate it to me, if i was to do this from scratch how would i have to do this? just the weather part?

can you please put it in steps for me please? i know this is too much to ask but it will be a great help!

Maria

nathanfurby
Specialist
Specialist

Yes it is very simple. As you have said - just take the load script from the 'Weather' tab.

As I mentioned, if you want to hard-code it to Karachi then change the statement:

Let vUrl = 'http://www.google.com/ig/api?weather=' & vCity;

to

Let vUrl = 'http://www.google.com/ig/api?weather=Karachi';

The rest is then just formatting the controls on the page.

Not applicable
Author

i got it thanks! 🙂

also, where and how can we get google api? for instance for maps ?

are google api urls easily accessible to everyone? if so then how and from where?