March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Dear All BI Expert,
As per screenshot attachment I am trying to total sum sales target by sales rep but when I create the measure below, it's not by sales rep and get the grand total. Could you please kindly assist to check and advise?
Measure: Total Sales Target = SUM('Sales Target'[Target_Amount])
Solved! Go to Solution.
Hi @ADSL ,
According to your statemenet, I know that you want to sum the sales target grouping by Sales Rep. Here I suggest you to try ALLEXCEPT() function in your code.
Total Sum Sales Target by Sales Rep =
CALCULATE (
SUM ( 'Sales Target'[Target_Amount] ),
ALLEXCEPT ( 'Sales Target', 'Sales Target'[SalesRep Name] )
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ADSL ,
According to your statemenet, I know that you want to sum the sales target grouping by Sales Rep. Here I suggest you to try ALLEXCEPT() function in your code.
Total Sum Sales Target by Sales Rep =
CALCULATE (
SUM ( 'Sales Target'[Target_Amount] ),
ALLEXCEPT ( 'Sales Target', 'Sales Target'[SalesRep Name] )
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-rzhou-msft ,
Thank you for your feedback. For your measure I have been tried but it's not working.
After review and try again then it's working now.
Best Regards,
We want to help you but your description is too vaugue.
There is no such column as " sales target by sales rep" in you exmple !
Also you are asking us to provide a solution without providing the underlying dataset structure ... we are not mind readers and dont know how your data is organised, which will determine the solution
Please write it again clearly.
Provide example input data as table text (not a screen print) so we can import the data to build a soution for you.
Also provide the example desired output, with a clear description of the process flow.
Don't care not to share private data.
Take care to use the same table and field names in the input, output and description so we can understand your problem and help you.
You will get a quick response if you put time and effort into writing clear problem descriptions.
Vaugue descriptions waste your time and ourtime.
Look foward to helping you when the above information is forthcoming.
Hi @speedramps ,
Thank you for feedback and advise. I will follow for next ticket/request.
Best Regards,
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
87 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |