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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
daniele_tiles
Helper III
Helper III

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.