This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I am pulling some data from SAP BW andtry to achieve query folding as possible as I could.
I try to filter a column (Work Operation Center) by string that contains "/MA" and "/MB" but this step cannot be query-folded. The whole datasets has probably tens of thousands of rows, with only a few hundres rows (those /MA and /MB) are required. It is not efficient to pull the entire dataset into Power BI and before filtering.
Is there any alternative I can use?
Thanks @AlexisOlson It does not fold with one Text.Contains function. I guess transformation like Text.Contains cannot be fold with SAP BW.
I am not familiar with MDX, so I hope to find a solution using M query,
It seems like it should be able to handle that. Will it fold if you have just one Text.Contains function (remove the second one)?
If you can't get it to fold, then one possibility is to connect using a query string. I don't know much about SAP BW, but this documentation suggests to me that it's possible to use an MDX statement for a query string.
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-sap-bw-connector
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 |