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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Zepox
Frequent Visitor

Formula becomes slow after connecting string

Hello,

 

I have the following formula:

 

Order Status = 
[Columns Tested] 
//& " / "
& [Order quantity]

 

Which works fine, but when I uncomment the & " / " part it becomes slow to the point where it throws an error which says there is not enough memory to complete this operation. The formula works when I place it in a table with 1 column but when I add more columns it starts giving an error. It might be worth noting that the referenced measures work no matter what when I place them in the table.

Columns tested counts the rows of a FACT table with transactions
Order quantity is a simple sum

Any idea why this happens? Suggestions would be greatly appreciated.

1 REPLY 1
Anonymous
Not applicable

Hi @Zepox 

You can try to use CONCATENATE() function.

e.g 

Order Status = CONCATENATE([Columns Tested],"/"&[Order quantity])

And many factors may result in the slow performance  such as complex relationship between data model. You can refer to the following link to optimize the perform of calculated column.

Optimization guide for Power BI - Power BI | Microsoft Learn

Speed/Performance aspects – The BIccountant

 

Best Regards!

Yolo Zhu

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors