Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have a table (attached) where I have some transactions duplicated....My chalenge is by power BI try to find the average ticket, but by function "AVG" or by "sum spent / sum transactions) is delivering wrong values....
Can you help me, please?
Many thanks in advance,
Rui
Solved! Go to Solution.
SUMMARIZE by transaction ID and then add MIN, MAX or AVERAGE aggregation of Spent (but not SUM)
Then COUNTROWS , SUMX and AVERAGEX the result.
Hi,
Thanks for your answer. Following this example, can you please help me to write the code (I'm a beginner in PBI 🙂 )
Thanks
Rui
many thanks!!!😃
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 8 | |
| 7 |