 Rank: Member
Groups: extranet\Forum
Joined: 12/2/2013(UTC) Posts: 6
|
Hi guys, I've encountered a problem that i'm unable to solve. I've added an extra measure to the advanced calculations. What i'm trying to achieve is that I can calculate the percentage of sold items per Size (xs-s-m-l-xl ....) This is what I already have :  What I'm trying to achieve :  So as you can see I'm trying to get the percentage of both sizes on the total per line Thanks in advance , Kevin
|
|
|
|
 Rank: Administration
Groups: extranet\Forum
Joined: 4/7/2011(UTC) Posts: 505
|
Hi Kevin,
You will need a calculation like this:
sum(0, 0, m1) / sum(all, 0, m1)
And for numbers formatting, you should select the pre-defined "Percent" format.
BR / Ole |
Ole Dyring |
|
|
|
 Rank: Member
Groups: extranet\Forum
Joined: 12/2/2013(UTC) Posts: 6
|
od@targit.com wrote:Hi Kevin,
You will need a calculation like this:
sum(0, 0, m1) / sum(all, 0, m1)
And for numbers formatting, you should select the pre-defined "Percent" format.
BR / Ole Hi Ole, Thanks for your response , thanks for the solution ;-) Val:(sum(0, 0, m1)) % if T:(sum(all, 0, m1)) <> 0 then T else if Val <> 0 then Val else 1 kind regards
|
|
|
|
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.