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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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/

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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