Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello I am trying to get the % of a column when this column values are the average.
Basically want for my Avg of Days to be summed out (Total should be = 156.27) and then in the next column where I underlined the number for it to be 17.47 / 156.27 = 11.18%
Solved! Go to Solution.
Avg as % =
var summaryTable = ADDCOLUMNS( ALLSELECTED('Table'[Request PBI]), "@val", CALCULATE(AVERAGE('Table'[Days])))
var currentValue = CALCULATE(AVERAGE('Table'[Days]))
return DIVIDE( currentValue, SUMX(summaryTable, [@val])
Avg as % =
var summaryTable = ADDCOLUMNS( ALLSELECTED('Table'[Request PBI]), "@val", CALCULATE(AVERAGE('Table'[Days])))
var currentValue = CALCULATE(AVERAGE('Table'[Days]))
return DIVIDE( currentValue, SUMX(summaryTable, [@val])
Thank you so very much!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
6 | |
3 | |
3 | |
3 |
User | Count |
---|---|
11 | |
10 | |
8 | |
8 | |
7 |