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!
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
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 |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 130 | |
| 111 | |
| 48 | |
| 30 | |
| 28 |