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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors