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
SandyBL
Advocate II
Advocate II

How to Transform an IP to MD5 Hash

Hey guys I want to md5 hash IP addresses I have in a database 

 

Column1: IP address

New Column 2: MD5 Hash IP address

 

I've done this in sql but can't find the DAX version to do that

 

Thanks

1 REPLY 1
Anonymous
Not applicable

@SandyBL,

According to my knowledge, no DAX functions could be used to hash string directly. In your scenario, you can write T-SQL to hash your columns when you import data from SQL database to Power BI Desktop.
1.PNG

Regards,
Lydia

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.