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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi all,
I have a table in my Power BI Report
Name | Score |
John | 10 |
Sue | 20 |
Kelly | - |
and what I want to make it into is as following:
Name | Score |
John | 10 |
Sue | 20 |
Kelly | - |
Average | 15 |
I've tried using quick measure, but it says that it is unable to calculate as the column contains type string.
Hope to get some advice here.
Many thanks.
Solved! Go to Solution.
@jinweitan , Create a new column like this and use that
new Score =if([Score] ="-",blank(),[Score]) //Change data type as whole number
@jinweitan , Create a new column like this and use that
new Score =if([Score] ="-",blank(),[Score]) //Change data type as whole number
User | Count |
---|---|
97 | |
78 | |
77 | |
49 | |
26 |