Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi,
i am looking to sum across all values in the last column (# of Ads)
my goal is to sum all values in the last column, like this:
is there a waqy to do this?
Perhaps sum(total aggr(count([# of Ads]),[QlickSourceDesc]))
sum( total [# of Ads])
it's an id column, so i would like to count it (instead of sum it),
but when i use count, results are the same...
Perhaps sum(total aggr(count([# of Ads]),[QlickSourceDesc]))
worked like a charm!
can you elaborate on it?
i understand the aggr function,
but i don't understand how it works when nested in a total function
The aggr function works exactly the same as without the total keyword. The total keyword just causes the sum to be calculated disregarding the dimension boundaries of your chart.
Hey,
count([# of Ads]) will be equal to number of [QlickSourceDesc] .
Isn't it ??
Thanks
now my problem is that it disregards other dimensions in my chart,
i have tried to drop the "tota" but it doesn't give me any result,
please see:
sum(aggr(count([Ad Counter]), ClickSourceDesc))
Maybe sum(total <[Year-Month]> aggr(count([Ad Counter]), ClickSourceDesc))