en
Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
Kevin Kuijsten  
#1 Posted : Monday, December 2, 2013 10:29:03 AM(UTC)
Kevin Kuijsten
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 :

UserPostedImage

What I'm trying to achieve :

UserPostedImage

So as you can see I'm trying to get the percentage of both sizes on the total per line

Thanks in advance ,

Kevin
Ole  
#2 Posted : Monday, December 2, 2013 11:35:34 AM(UTC)
Ole
Rank: Administration

Groups: extranet\Forum
Joined: 4/7/2011(UTC)
Posts: 320

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
I work as an employee with TARGIT A/S. Any statement made by me in this forum represents my own opinion and state of mind, and is not necessarily related to or representative of TARGIT A/S.

UserPostedImage Ole Dyring
Kevin Kuijsten  
#3 Posted : Monday, December 2, 2013 11:52:23 AM(UTC)
Kevin Kuijsten
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
Users browsing this topic
Anonymous
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.

Notification

Icon
Error