Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 30991

Select view header from REST API using query parameter

$
0
0

Ok, so I am customizing a URL for a REST API service to use query input parameters that limit the data pulled in. It works for filters (e.g. '&$filter=region eq '[user input parameter]') but when I try to add a SELECT statement to the URL to limit the data headers pulled in, the table doesn't parse correctly in my report. The "&$select=company_name,country_name,[user input parameter for header]" does work, but the change doesn't flow through the Expand Columns step to repopulate my report.

 

So, to rephrase, the problem is that when a user edits the parameters in the report, selects a new menu item from "select company stats" under 'Edit Parameters', the table in the report doesn't update. If I go back to my query editor, I can see that the change was indeed implemented into the URL query successfully, but the change doesn't get incorporated into the Expanded Column. I have to go back to Converted to Table, re-expand the columns to get the new column of data and then 'close and apply' to repopulate my report. This is not acceptable. I have to make it automatic.

 

So, how can I use this query parameter approach to define my table headers. Ideas? This table is WAY TOO HUGE to import all headers and clients needs to be able to choose from all of them for maximum flexiblity.

 

Thanks,

Angela 

user parameter.jpgUser parameter changes END at Converted to Table step. The newly selected header doesn't flow through the Expand operation...

 

So, the table in my report doesn't update dynamically... HELP! Thanks! This is a biggie for me to figure out. There are loads of reports I'd like to format this way. Smiley Happy

 


Viewing all articles
Browse latest Browse all 30991

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>