Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I like to have totals in linechart from more weeks. Is this possible ?
i included an good example with clear explanation
Well, you would need to adapt the advanced search for the Project_Code filter to the calculations you consider when telling me
3. Here 10 Projects because i see also projects with 0
I can only assume you want something like
count( {$<Project_Projectleider -= {'Bert Schilt'},Project_Code = {"=Sum ({<Jaar = {$(=max(Jaar))}>}Rangesum(Project_Aanneemsom,Meerwerk_Bedrag))"},AsOfWeek = p(Week)>} DISTINCT Project_Code)
Maybe like attached?
It works for my example. Bit in real i use set analyse.
Now i like to use to combine in Set analyses. See all directors but not Director 'AAAA'
See attachment example3
Not sure what Director 'AAAA' is in your sample data file, can't find a field like this.
Have you tried adding the set expression like
{<Director -= {'AAAA'}>}
to all aggregation functions (and replacing single field references with Only({<Director -= {'AAAA'}>} FieldName) )
for Project not AAAA try:
sum({<Project-={'AAAA'}>}Amount)/Count({Project-={'AAAA'}distinct Project)
you may include those which you donot want into a variable and place the variable in expresssion
I get not the right values. You have seen my attachment Example_Simple_3.qvw
Would be good to see an example with your required results for a chosen director (I've now found the Director field, but no 'AAAA' value).
Maybe like attached using
=Rangesum(Above(sum({$<Director -= {Bert}>}Amount) ,0,Rowno() )) /
rangesum(above(count(aggr( Only({$<Director -= {Bert}>}Project),Project) ), 0 ,RowNo() ))
Here i send you my original qvw. I describe my problem in two steps on the 2 worksheets.
I think we are close but we have not the result we want. I hop you can help me
On the first sheet, try
(Rangesum(Above(sum({$<Project_Projectleider -= {'Bert Schilt'}>}Project_Aanneemsom) ,0,Rowno() )) +
Rangesum(Above(sum({$<Project_Projectleider -= {'Bert Schilt'}>}Meerwerk_Bedrag) ,0,Rowno() )))
/
rangesum(above(count(aggr(Only({$<Project_Projectleider -= {'Bert Schilt'}, Project_Code = {"=Sum ({<Jaar = {$(=max(Jaar))}>}Project_Aanneemsom)"}>} Project_Code), Project_Code)) , 0 ,RowNo() ))
I must admit I haven't fully understood the issue on sheet 2.