Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a non aggregated table that is transactional based on event that has duplicated ID's and Amounts similar to column a/b and I would like to have a measure to apply in my visualizations that shows the uniqe amount by order ID and then I can roll up to Vendor. How would I write a formula to do this on the report side? One of my attempts is:
Order ID | Vendor | Amount | ID | Vendor | Amount |
417306 | A | 67.80 | 417306 | A | 67.80 |
417306 | A | 67.80 | 503477 | B | 269.85 |
417306 | A | 67.80 | 525849 | C | 204.53 |
417306 | A | 67.80 | |||
417306 | A | 67.80 | |||
417306 | A | 67.80 | |||
417306 | A | 67.80 | |||
417306 | A | 67.80 | |||
503477 | B | 269.85 | |||
503477 | B | 269.85 | |||
503477 | B | 269.85 | |||
503477 | B | 269.85 | |||
525849 | C | 204.53 | |||
525849 | C | 204.53 | |||
525849 | C | 204.53 | |||
525849 | C | 204.53 | |||
525849 | C | 204.53 | |||
525849 | C | 204.53 | |||
525849 | C | 204.53 | |||
525849 | C | 204.53 | |||
525849 | C | 204.53 | |||
525849 | C | 204.53 | |||
525849 | C | 204.53 | |||
525849 | C | 204.53 |
Solved! Go to Solution.
Hello @Anonymous
Give this a try, you will just have to change the name of your table in the measure.
Measure = VAR XTable = SUMMARIZE(Table1,Table1[Vendor],Table1[Order ID]) RETURN SUMX(XTable,MAX(Table1[Amount]))
Hello @Anonymous
Give this a try, you will just have to change the name of your table in the measure.
Measure = VAR XTable = SUMMARIZE(Table1,Table1[Vendor],Table1[Order ID]) RETURN SUMX(XTable,MAX(Table1[Amount]))
Thank you @jdbuchanan71 for the quick reply, this gave me exactly what I was looking for.
User | Count |
---|---|
91 | |
73 | |
68 | |
63 | |
55 |
User | Count |
---|---|
98 | |
89 | |
73 | |
63 | |
61 |