Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |