Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
dear all,
I have the following table:
Order | Orderline | Q |
A | 1 | 1000 |
A | 2 | 500 |
A | 3 | 10000 |
B | 1 | 5000 |
B | 2 | 2500 |
C | 1 | 400 |
C | 2 | 200 |
C | 3 | 600 |
C | 4 | 600 |
average = | 2311,1 |
The average of the lines is 2311, but i want an order average, which would look like this, with the following outcome:
Order | Orderline | Q | Order Q |
A | 1 | 1000 | 16500 |
A | 2 | 500 | |
A | 3 | 10000 | |
B | 1 | 5000 | 7500 |
B | 2 | 2500 | |
C | 1 | 400 | 1800 |
C | 2 | 200 | |
C | 3 | 600 | |
C | 4 | 600 | |
average = | 2311,1 | 8600 |
So where all the Q's are summed together, and then taken the average, so you know the average Q per order.
Solved! Go to Solution.
@Anonymous ,
Try like
AverageX(Summarize(Table,Table[Order], "_1",sum(Table[Q])),[_1])
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
71 | |
70 | |
42 | |
42 |
User | Count |
---|---|
49 | |
42 | |
29 | |
28 | |
27 |