Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi @v-juanli-msft ,
This is in continuation to the solution you provided for my post:
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:
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
Solved! Go to Solution.
@Anonymous
You may take a look at the links below.
@Anonymous
You may take a look at the links below.
Hi @v-chuncz-msft ,
These documents are indeed very helpful.
Using Var function resolved my memory issue.
Thanks,
Tejaswi
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 61 | |
| 45 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 108 | |
| 39 | |
| 30 | |
| 27 |