Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Qualube
Helper II
Helper II

Filter Columns

Hi

 

I am trying to set weighted targets for some sales people based on a straight divison of the overall volume increase by the number of sales people.

This is fine except my products are in different categories and so when I try to create the following measure:

 

WM2 = CALCULATE(SUM('FRY Data'[Target]), 'FRY Data'[Pack Size.1.Product])

 

I get the following error:

 

Capture.JPG

6 REPLIES 6
kamran_bsh
Regular Visitor

There is not enough information on what you are trying to do. If you want to take some of all product sales then try wrapping second part of calculate inside ALL function.

Please provide images of data

Stachu
Community Champion
Community Champion

I'm not clear on what you try to achieve with 'FRY Data'[Pack Size.1.Product] - is it supposed to be filter, or something else?
from your description I would assume that the measure should be something like:
[volume increase]/[number of sales people]

but I don't see any relation to that in the code you posted



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Many thanks for your reply, what I am trying to do is determine an equal volume target per sales person.

That in itself is relatively straight forward however I have 4 product categories that require different targets.

So in essence what I want to do it take the target value for each product type, divide this by the number of sales people and add that number to their target, seems simple when I write it down!!!

 

Hi @Qualube,

 

We need more detailed information, including sample data and desired output, so that we can test for you.

How to Get Your Question Answered Quickly

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi thanks for the reply I think I will end up dividing the total target equally across the sales team

Many thanks for your reply, what I am trying to do (not very well) is determine an equal volume target per sales person.

That in itself is relatively straight forward however I have 4 product categories that require different targets.

So in essence what I want to do it take the target value for each product type, divide this by the number of sales people and add that number to their target (seem simple when I write it down!!!)

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.