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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Anonymous
Not applicable

Can't fix Error - "Cannot convert value '003.101.170052' of type Text to type True/False.

Capture.PNG

 I've been able to use this same type of formula with the same table to sum filtering on different columns getting the expected result. When I try to filter using CostCenterID it doesn't work. Can someone explain why?

 

Thanks!

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , all the columns in calculate after sum() are the filter. means they should return true and false.

What are you trying to do here

 

refer: https://www.sqlbi.com/blog/marco/2010/01/03/how-calculate-works-in-dax/

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

I am trying to sum the BudgetHours column in MfgActualsView based on the columns listed after the sum function. The MfgActualsView table is daily data and I would like to summarize it as monthly data in this new table. If I remove the CostCenterID column I don't get the error but then the data is not summarized the way I would like.

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors