The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
Solved! Go to Solution.
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
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 😊
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