Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi,
I'm trying to pass multiple values parameters to SAP BW by usig a text parameter.
If i write the multiple values hard in "Cube.ApplyParameter" like
{Cube.ApplyParameter, "[P_PRJ]", {{"ProjA", "ProjB", "ProjC"}}},
It works, but if i decline a variable or parameter with the same text and pass it into Cube.Applyparamter, error messages appear, that multiple values are not allowed or it is a invalid MDX command.
#"var Proj" = Text.Combine({"ProjA", "ProjB,", "ProjC"},","),
"""ProjA"", ""ProjB"", ""ProjC""" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=false]
I would be very thankful for tips or solutions!
Hi Winniz,
thanks für your anwer, but if use a list instead of the parameter it appears following error:
Expression.Error: We cannot convert a value of type List to type Text.
Details:
Value=[List]
Type=[Type]
Hi @tb86 ,
{{"ProjA", "ProjB", "ProjC"}} is a list, but the output value of your variable is not a list.
Best Regards,
Winniz
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 4 | |
| 4 | |
| 4 |