I am new to Qlikview and the Scenario is as follows:
Basically there are 4 tables Week,partner,sales,quarter
sales and partner are related,
sales and quarter are related,
Quarter and Week are related,
Below table is the result from our database for the query
'select count(Id) from partner_c where createddate>=2012-03-31T00:00:00Z and createddate<=2012-04-06T00:00:00Z"
In the query the date 2012-03-31T00:00:00Z is weekstart date and 2012-04-06T00:00:00Z is Weekenddate.
We manually changed the date during the query, bcoz there is no direct relationship btw partner and Week tables
Coming to the Qlikview,
In the script level, I loaded Sales,partner,quarterand week tables.
I have taken Week as dimension and the expression for partner is "Count (If(PartnerCreateddate>=Week_Start_Date__c and PartnerCreateddate<=Week_End_Date__c,Partner_Id__c))"
and I am getting the below results:
Is there any solution to the above issue?
Awaiting for your reply.