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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.