The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi I have the first table
Order number | Sales person |
1 | A |
1 | B |
2 | C |
3 | D |
I have another table where I can calculate the sum value of the order. I would like to show on matrix levels.
Order number | Amount |
1 | 200 |
2 | 300 |
3 | 400 |
I want to get this matrix the amount on sales order amount = sum(amount)/distincount of sales person.
Solved! Go to Solution.
Thank you @tharunkumarRTK @tharunkumarRTK. Just want to add some more details for the calculation
I have another table where I can calculate the sum value of the order. I would like to show on matrix levels.
Order number | Amount |
1 | 200 |
2 | 300 |
1 | 400 |
I have many to many relationship between Orders and Sales Persons
Order number | Sales person |
1 | A |
1 | B |
2 | B |
3 | D |
I want the end result look like this
I have many to many relationship between Orders and Sales Persons
Don't do that. Use a proper data model.
You may want to add a Sales Person Dimension table to your data model.
Then you can use your preferred DAX to calculate the mapping.
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
28 | |
17 | |
12 | |
7 | |
5 |