Is it possible to retrieve data from parameter table and pass into Query?

New Contributor

I have a parameter table defined that allows the user to define the filtering values.  I would like to take the data they've inputted and pass that into my query call.  I currently have it set to filter after the source but due to the amount of data, it's quite slow.  I'm hoping to limit the data returned for efficiency.


Ideally I'd like to use my current getParameterValue call to define the extra statements that would be appended on to the query (source). Is this possible? If yes, how?


I was thinking it would be something like this:

Source = query

#"Filter A" = query + 'and fieldA = ' + getParameterValue(FilterA)

1 Reply

In general yes. Implementation depends on what you query. You may add parameter directly into your query string and/or take care about query folding to improve performance (for example

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies