Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
My dataset query in the advanced editor window looks like the following
let iterations = 20, url= "url", FnGetOnePage = (url) as record => let Response = Json.Document(Web.Contents( "https://client.product.com", [ RelativePath = url, Headers = [Authorization="bearer mytoken"] ] )),
and I want to hide mytoken from this dataset , how can I do it?
Thanks!
Web.Contents - PowerQuery M | Microsoft Learn
Usually, key value isn't explicitly put in query, just the name of the API key.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Hi @ThxAlot for the response but Sorry, I don't get what you mean. , this product (loggly) has an API token generator https://documentation.solarwinds.com/en/success_center/loggly/content/admin/token-based-api-authenti... only, so by adding
[Authorization="bearer mytoken"
I was able to pull the data from the product, but what I want is to hide this mytoken .
Any suggestions to hide this token in the query window? or different ways to do the data source connection?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
10 | |
8 | |
7 |
User | Count |
---|---|
17 | |
13 | |
7 | |
6 | |
6 |