Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.

Use base64_decode PHP function in Qlikview

Hello all,

I need to decode a field in mij databasetable. It is filled with a value like:


In PHP you can use the function unserialize(base64_decode("<tekst>")).

Can anyone help me to do this in QlikView/Qlik Sense?



3 Replies

Re: Use base64_decode PHP function in Qlikview

This binary size is long. This will run as False. Or would you describe more with output

Life is so rich, and we need to respect to the life !!!

Re: Use base64_decode PHP function in Qlikview

The first step is to decode the string.

I found out that you can do that with SQL:

FROM_BASE64(<field>) AS Field

But, the array that you get is a different story....

Re: Use base64_decode PHP function in Qlikview

You cannot use PHP script code in a QlikView document without spending a lot of time and energy trying to glue the pieces together. But you can decode a Base64 encoded field value using a comparable VBScript macro that is called in your LOAD script.

See the first function (appropriately called "Base64Decode") in Re: How to generate xuser &amp; xpassword in txt file



Community Browser