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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
daniele_tiles
Advocate II
Advocate II

Decrypt JSON compressed with lz-string

Hi to all,

we have to prototype a dashboard based on a Postgres DB.

The data is saved in JSON format, but unfortunately is also compressed with lz-string:

 

json_encrypted.png

Has anyone experienced this before? Is there some function to call, or should I make a python script and call it?

Best regards

 

Daniele Tiles

1 ACCEPTED SOLUTION

Hi I've solved it with Python.

View solution in original post

4 REPLIES 4
v-xicai
Community Support
Community Support

Hi @daniele_tiles ,

 

Maybe you need to decompress fist.

 

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".

 

Best Regards,

Amy

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

Hi I've solved it with Python.

Hi 
I would be very grateful indeed if you could share the code you used to decompress values compressed with lz-string as I need it for a business critical application

If possible, Can you please share the python code to Decrypt JSON compressed with lz-string for the column mentioned.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.