Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to calculate the % sales per customer compared to the total sales of his country ?¨
Please can someone advise how to do this ?
If I understand your task, you can create expression like this:
sum(Amount) / sum(TOTAL <Country> Amount)
and dimensions: Country, Customer
I do not want to use country as dimension ? Because he want a list of customers.
They want also to select sometimes one customer ?
so you shoul use AGGR function , see in attachment example
THX It's working correctly.
I think this may be the solution:
sum(Amount) / aggr(sum(Amount), Country)