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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Forecasting

Hi

I have a table as below

MonthYearReferralsDischargesExtra Patients
Apr-1165860850
May-11825715110
Jun-1186680957
Jul-11564569-5
Aug-11660690-30
Sep-1168662264
Oct-1161958930
Nov-1153348746
Dec-1137134130
Jan-1248039981
Feb-1250348122
Mar-1251947742
Apr-12523537-14
May-1238932267
Jun-1212511015

For the referrals column, how can I calcualte in Qlikview a percentage increase/decrease for each month?

Cheers

Labels (1)
13 Replies
Not applicable
Author

THank you so much for all your help and assistance. Its been very helpful.

However I'm thinking a different approach now.

Month20102011% Increase
Apr32938015.50%
May32938015.50%
Jun32938015.50%
Jul32938015.50%
Aug32938015.50%
Sep32938015.50%
Oct32938015.50%
Nov32938015.50%
Dec32938015.50%
Jan32938015.50%
Feb32938015.50%
Mar32938015.50%

Its just dummy data, I can do this for one month by using creating an expression:

  count({<Referral.MonthYear={'Apr-10'}>} Referral.PatientId_Value)

But how would I do this for every month?

Sorry for changing my approach but its all good learning

Cheers

whiteline
Master II
Master II

But how would I do this...

Could you explain a little ?

Maybe, this one could help:

=count({<Referral.MonthYear={'Apr-10'}>} total Referral.PatientId_Value)

Not applicable
Author

Hi,

Sorry I'll start again:

I have data in this format:

PaitientIDReferralDate
110/04/2010
211/05/2010
311/06/2010
412/07/2010
512/08/2010
612/09/2010
713/10/2010
813/11/2010
914/12/2010
1014/01/2011
1114/02/2011
1217/03/2011
1317/04/2011
1418/05/2011
1518/06/2011
1619/07/2011
1719/08/2011
1819/09/2011
1920/10/2011
2020/11/2011
2121/12/2011
2221/01/2012
2321/02/2012
2423/03/2012
2523/04/2012
2624/05/2012
2724/06/2012

And I want to reporesent the data in this format Counting the number of referrralds (this dummy data which I have just copied hence all rows the same numbers)

Month20102011
Apr329

380

May329380
Jun329380
Jul329380
Aug329380
Sep329380
Oct329380
Nov329380
Dec329380
Jan329380
Feb329380
Mar329380

Hope this helps.

Cheers

whiteline
Master II
Master II

First, you have to load Years as a separate field in the script:

Year(ReferralDate) as Year

Then create chart with dimensions:

Month: =Date(MakeDate(0,Month(ReferralDate)), 'MMM')

Year: Year

Expression: =Count(total<Year>PaitientID)

Then pull the year dimension so that the blue arrow become horizontal.

You need a separate year field for total<Year>