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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Dear All, @
I am working on a table having five columns containing numeric values.
I am interested in calculating the average score of an individual based upon those five columns. Then, I would like to calculate
Total score individual / Avg score
and then plot it.
Any help will be appreciated.
Regards,
Umer
Solved! Go to Solution.
Hi @mukhan
to get the average, you could duplicate the initial query ( assume name table2), group by the individual ID and calculate the average (assume column name is avgcolumn) .
for the total, in the first query by creating a measure:
Measure =
var _totalscore =Calculate( sum('Table'[ColumnName]) , All (Table))
var _avgscore =selectedvalue('Table2'[AvgColumn])
var _output = _totalscore/_avgscore
return
_output
plotting the measure on values with individual id/name, might give the result.
If it doesn't ,could you provide sample input data and sample output removing sensitive data ?
Appreciate a thumbs up if this is helpful.
Thanks
You'll likely want to unpivot those 5 columns. Sample data (inserted as a table, not an image) and expected output will help you get a specific solution.
Pat
Thanks for replying. How can we embed pbix to the topic?
You can insert the data by adding a table from the ribbon, or you can upload your pbix to OneDrive or Google Drive and share link here.
Pat
Hi @mukhan
to get the average, you could duplicate the initial query ( assume name table2), group by the individual ID and calculate the average (assume column name is avgcolumn) .
for the total, in the first query by creating a measure:
Measure =
var _totalscore =Calculate( sum('Table'[ColumnName]) , All (Table))
var _avgscore =selectedvalue('Table2'[AvgColumn])
var _output = _totalscore/_avgscore
return
_output
plotting the measure on values with individual id/name, might give the result.
If it doesn't ,could you provide sample input data and sample output removing sensitive data ?
Appreciate a thumbs up if this is helpful.
Thanks
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 6 | |
| 6 | |
| 6 |