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
Hi, I need help with the following:
Have numeric column named Bid#. Each Bid# can be repeated n times.
Many tks for the help.
Solved! Go to Solution.
Thk Greg for the tip. i did the following and it worked.
averagex bid =
AVERAGEX (
ADDCOLUMNS ( SUMMARIZE ( Datos, Datos[Bid #] ), "Promedio", [Count Bid#] ),
[Promedio]
)
Hi @Chapin4u,
You may not need the ADDCOLUMNS() function. Try this
=AVERAGEX(VALUES(Datos[Bid #]),COUNT(Bid #))
or
=AVERAGEX(SUMMARIZE(VALUES(Datos[Bid #]),[Bid #],"Promedio",COUNT(Bid #)),[Promedio])
Hope this helps.
Check out SUMMARIZE coupled with AVERAGEX or other "X" functions. Alternatively, check out GROUPBY with the "X" functions. Sample data and such would be helpful. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Thk Greg for the tip. i did the following and it worked.
averagex bid =
AVERAGEX (
ADDCOLUMNS ( SUMMARIZE ( Datos, Datos[Bid #] ), "Promedio", [Count Bid#] ),
[Promedio]
)
Hi @Chapin4u,
You may not need the ADDCOLUMNS() function. Try this
=AVERAGEX(VALUES(Datos[Bid #]),COUNT(Bid #))
or
=AVERAGEX(SUMMARIZE(VALUES(Datos[Bid #]),[Bid #],"Promedio",COUNT(Bid #)),[Promedio])
Hope this helps.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 144 | |
| 123 | |
| 103 | |
| 79 | |
| 54 |