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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors