Forum Discussion
SAP HANA Message Server - Using list declared list elements as parameter for query
- 5 years ago
Hello,
So it turns out I was on a right track to resolve it. What finaly worked was:
1. create a query that contained values I wanted to act as parameters, make sure at the end of the transformation you change it to list:2. Replace text parameter with query in code:
{Cube.ApplyParameter, "[!V000003]", {#"Period list"}},
This worked like a charm, and using simple logic based on DateTime.IsNow() you can easily make the list self updated.
Hi, KrzysztofK
I’m not very familiar with connecting to SAP HANA Message Server and using list declared list elements as a parameter for the query, you can check these cases and documents and find if it can make any help:
https://docs.microsoft.com/en-us/power-query/connectors/sap-bw/message-setup-and-connect
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-sap-bw-connector
If they can’t help you, I suggest you to @ some top kudoed/solution authors to help you so that your case can get more attention.
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello,
So it turns out I was on a right track to resolve it. What finaly worked was:
1. create a query that contained values I wanted to act as parameters, make sure at the end of the transformation you change it to list:
2. Replace text parameter with query in code:
{Cube.ApplyParameter, "[!V000003]", {#"Period list"}},
This worked like a charm, and using simple logic based on DateTime.IsNow() you can easily make the list self updated.