Unable to pass parent id to popup

In case you have not tried:

If you are trying to pass the parameter from a model with 1 row, you can use that as a query:

{{{$Model.YOURMODELNAME.data.0.FIELDNAME}}}

replace yourmodelname and fieldname by appropriate values