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! It's time to submit your entry. Live now!
Hi Experts
I cannot see my error i am sure that my column is Whole Number in Data Type and Format is Whole Number.... But i keep on getting the following message
The function SUM cannot work with values of type String
my measure is
Solved! Go to Solution.
@Anonymous , is it measure or column
if measure
New meansure=
DIVIDE(
sum(SampleData[Allocation in Month]),
CALCULATE(
SUM(SampleData[Net Amount]),
ALLEXCEPT(SampleData,SampleData[Date] )
)
)
Also, make sure Allocation in Month and Net Amount are both numbers
@Anonymous , is it measure or column
if measure
New meansure=
DIVIDE(
sum(SampleData[Allocation in Month]),
CALCULATE(
SUM(SampleData[Net Amount]),
ALLEXCEPT(SampleData,SampleData[Date] )
)
)
Also, make sure Allocation in Month and Net Amount are both numbers
Calculated Column - Sorry
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 31 | |
| 24 | |
| 22 |
| User | Count |
|---|---|
| 134 | |
| 111 | |
| 57 | |
| 44 | |
| 38 |