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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ZLV
Frequent Visitor

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

@ZLV , 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/

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.