Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I want to calculate the average units per month. The formula I have is
Measure = AVERAGEX(VALUES(Dates[Month], 'Shipped Sales Detail'[Units]))
I get the error message "too many arguments were passed to the VALUES function. The maximum argument count for the function is 1. Can someone assist? Thank you!
Solved! Go to Solution.
Hi @Anonymous ,
Please update the formula of Measure as below, the part with red font is updated one...
| Measusre = AVERAGEX ( VALUES ( Dates[Month] ), 'Shipped Sales Detail'[Units] ) |
If the above one can't help you get your expected result, please provide some sample data(exclude sensitive data) and your expected result with backend logic and special examples. Thank you.
Best Regards
Hi @Anonymous ,
Please update the formula of Measure as below, the part with red font is updated one...
| Measusre = AVERAGEX ( VALUES ( Dates[Month] ), 'Shipped Sales Detail'[Units] ) |
If the above one can't help you get your expected result, please provide some sample data(exclude sensitive data) and your expected result with backend logic and special examples. Thank you.
Best Regards
Hi @Anonymous
It because of ), try this:
Measure = AVERAGEX(VALUES(Dates[Month]), 'Shipped Sales Detail'[Units]))
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 13 | |
| 10 |