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

Memory Error

Hi @v-juanli-msft ,

 

This is in continuation to the solution you provided for my post:

https://community.powerbi.com/t5/Desktop/Can-we-have-this-Dynamic-instead-of-Hard-code/m-p/747278#M3...

 

your code worked well when we have a small data.  

I now added the similar other critierias in the same code which went really very long since we have multiple criterias in this. I now get this Memory error:

Capture123.PNG

Since my Material type is alwasys going to be ZHWA, can we have it common somewhere instead of repeating it several times.?

I believe this should solve the memory error.

 

Or any other alternative would be  greatly appreacited!

 

Thanks,

Tejaswi

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may take a look at the links below.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may take a look at the links below.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-chuncz-msft ,

 

These documents are indeed very helpful. 

Using Var function resolved my memory issue.

 

Thanks,

Tejaswi

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.