Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Variable of password type in power query

I need to pass a variable of type password to a function, which reflects a login - kind form

 

How to create a variable of password type in power query?

Any suggestions ? Thanks!

Status: New
Comments
v-qiuyu-msft
Community Support

Hi @Anonymous, 

 

Which data source do you want to get data from? 

If using web data source, you can refer to this similar thread: https://social.technet.microsoft.com/Forums/en-US/11d4347c-0332-4dea-b270-a2dcd911c8b0/passing-username-and-password-in-basic-authentication?forum=powerquery

 

Best Regards,
Qiuyun Yu

Anonymous
Not applicable

Hi  @v-qiuyu-msft,

Thanks for the reply.

 

I am already getting the data from REST API source, no issue with that.

The simple issue is I have built a custom login form with text fields. Among them Username and password is also present, which is of text type.

 

How can I encode the raw text in password field using power query, like you have seen in other login forms.

 

Do I have some data type close to password type, just like we have text type?

 

Please find attached screenshot:

 

Thanks!passwordpassword

 

salem_wafi
Frequent Visitor

It is suppose to be "Password.Type" but for some reason it doesn't work unfortunately.


salem_wafi_0-1641939424567.png

 

salem_wafi_0-1641939365394.png