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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
salem_wafi
Frequent Visitor

Password.Type Usage in M Query Language

Hi,
While developing my M code in the Advanced Query Editor I noticed there is a property that have been suggested to me automatically called "Password.Type" please see attached images.
Does anyone knows what is the purpose of it? I googled about it a lot but with no luck.

22.png










11.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @salem_wafi ,

 

You can click on the exclamation mark to see the function. The type that represents a text password.

vstephenmsft_2-1639361091614.png

 

vstephenmsft_1-1639360833918.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
salem_wafi
Frequent Visitor

Thanks @lbendlin and @Anonymous 
but for some reason that type won't work! Do you have any idea?


salem_wafi_2-1641939622458.png

 

You can't use it like that. Password.Type is not an actual type, it is a facet of type text.

 

Power Query M Primer (Part 17): Type System II – Facets | Ben Gribaudo

 

You can test this by running 

Table.SingleRow(Table.Schema(#table(type table [a = Password.Type], {})))

 

lbendlin
Super User
Super User

It's a text format field where the text is not visible.

Anonymous
Not applicable

Hi @salem_wafi ,

 

You can click on the exclamation mark to see the function. The type that represents a text password.

vstephenmsft_2-1639361091614.png

 

vstephenmsft_1-1639360833918.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.