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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Cannot convert value of type text to type true false

Im utilizing a table with Alphanumeric item numbers (Item code) and I cannot get to calcuate due to the alpha number item nubmer. Can anyone offer a potential solution. 

 

calculate(sum(Dims[Cubic Ft])*sum(Inventory[Quantity On Hand]),Dims[Item Code])
2 REPLIES 2
Anonymous
Not applicable

When attempting to use both of these options im not getting this: 

 

A single value for column 'Cubic Ft' in table 'Dims' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.

 

With there being multiple locations we have cubic ft in multple locations but throwing a sum on the formula is summing all locations not just that sigular item number. 

 

Anonymous
Not applicable

Hi @Anonymous ,

Please have a try.

Total Cubic Feet = SUMX(Inventory, Dims[Cubic Ft] * Inventory[Quantity On Hand])

This measure will multiply the cubic feet and quantity on hand columns for each row in the Inventory table.

 

Another possible solution is to create a calculated column.

Cubic Feet On Hand = Dims[Cubic Ft] * Inventory[Quantity On Hand]

Then, you could use this formula to create a new measure called Total Cubic Feet:

Total Cubic Feet = SUM(Inventory[Cubic Feet On Hand])

 

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors