Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
Here is the challenge;
I have a customer who would like to run a sales model but he has two conditions that I need to apply for calculating the sales per rep, per channel and per product correctly:
The idea is to allocate evenly the total sales that were defined “Wholesaler” between all reps, (for the sake of simplicity he decided that even allocation should be fine enough).
The second condition is to exclude any rep that is defined [Wholesaler Rep] = “False, which in our case currently it is 10 reps overall instead of 11.
So basically what I’m required to implement is dynamically calculate the sum of: (275,830 + 882 + 8,887 + 14,362 = 299,961) divide it by 10 and the result allocate back to each rep (including those who are “Wholesaler” ) but except the one who is “False”.
Any assistance would be highly appreciated!
Thanks!
NH
Solved! Go to Solution.
Hi @NirH_at_BITeam,
Please create a measure below:
Hi @NirH_at_BITeam,
Please create a measure below:
Thank you Qiuyun Yu!
This seems to work but only partially and I believe that my client would like to restructure the AN_Sales[Volume Sales] per the new allocation and not just creating a measure.
In other words I think the idea was to recreate a revised [Volume Sales] under the AN_Sales which will represent the new allocation methodology per customer per product.
Pls. note that creating the measure you suggested didn’t allow to reaggregate the data per Chanel or per Products, or did I miss something.
I wrote it is a challenge 😊
Best,
NH
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |