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,
I am trying to created Weighted median where value is ageing and weight is the invoice value.
for example:
customer | ageing | inv amount |
A | -22 | 213,801.13 |
A | 12 | 142,515.40 |
A | 41 | 125,303.17 |
A | 68 | 120,897.10 |
A | 101 | 155,874.76 |
A | 109 | 165,717.30 |
A | 158 | 185,183.65 |
A | 173 | 179,651.59 |
A | 213 | 136,749.72 |
Hi, @Anonymous
You can check if the solutions in this thread help.
Weighted median as a measurement in DAX
Best Regards,
Community Support Team _ Eason
Hi, thanks for the link I am actually using one formula from the disscusion but the DAX is very slow. I would love to create the formula some how in PQ but could not find anything as well.
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 |
---|---|
113 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |