I was wondering what the best way would be to associate each key and value with the remaining columns of the row. Would it be possible to dynamically create calculated fields based on the keys?
Thanks @Brett. I’ve tried using this function during data prep and analysis but it doesn’t work for me. The column is empty during data prep and I get Your calculated field expression contains invalid syntax during analysis
Hi @quicksight-user001 - Looks like the issue is happening due to “-” in the column name. Is it possible to replace by underscore (“_”) and test it.
Hi @DylanM - Looks like parseJson is not working if the column name contains _. can you please check whether we have any work around for the same or raise it as a feature request.
Nice catch @Sanjeeb2022, that fixed it for me. Thanks a lot!
My keys can vary between rows, so I cannot create calculated fields for them.
Is there any other way to associate the key-values to the rest of the row?
Sure @Sanjeeb2022. One of my rows look like this. I’m trying to get each key in the base_data column to be a new field that is associated with the rest of the row. Keys can differ between rows.
To put it simply, I want to be able to chart what bases(base_data keys) and its version(base_data value) an asset_id is using.