Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Is there a way to.........
Post Body

Hey experts.

I have a tricky one for you.

I have access to power query but read-only access to native server, so I can't create views in SSMS - fml.......

I use Power BI query folding as my initial step to push most of the ETL back to the server, however sometimes I only want to grab region 6, sometimes region 5, sometimes region *

My query fold includes WHERE in which I specify my region. The problem is that this is static, so I would like a PBI parameter to control this so that if I go into power query, change the number, then hit refresh, I draw out a different subset (or all) of the data.

Is there a way I can assign a parameter in power query and assign it a value, then use that WITHIN the initial query fold.

For example something like this:

" SELECT * FROM a WHERE REGIONID = " & [powerbi parameter] & ";" "

Thanks for any help you are able to provide!!

Author
Account Strength
50%
Account Age
2 years
Verified Email
Yes
Verified Flair
No
Total Karma
180
Link Karma
48
Comment Karma
67
Profile updated: 5 hours ago
Posts updated: 1 day ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago