Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
atin
Advocate III
Advocate III

MdxScript(Model) (6, 48) Calculation error in measure 'Live_Files_ Billings'[Billings Live]: The fun

Hi everyone 

 

I have just had to refresh one of the visuals I created and getting this error message:

 

MdxScript(Model) (6, 48) Calculation error in measure 'Live_Files_ Billings'[Billings Live]: The function SUM cannot work with values of type String

 

Please can you advise on possible solutions

many thanks 

 

 

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @atin ,

 

According to the error message, you are summing a column of text type in your measure formula. So please check the data type of the fields.

 

Best Regards,
Winniz

View solution in original post

2 REPLIES 2
atin
Advocate III
Advocate III

Many thanks @v-kkf-msft for your assistance.
I checked the data and was able to detect that the column which I had used to create the measure had some texts in it. I have about 208 queries in the file and saw when unpivoting the columns during the transform process, I had not selected all the columns
However It works now  - Happy days 😊

v-kkf-msft
Community Support
Community Support

Hi @atin ,

 

According to the error message, you are summing a column of text type in your measure formula. So please check the data type of the fields.

 

Best Regards,
Winniz

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.