sahiljain001 commented on issue #9307: Jinja template not working in explore or 
dashboard view
URL: 
https://github.com/apache/incubator-superset/issues/9307#issuecomment-599905913
 
 
   Hi Villebro,
   
   We are using superset 0.35.2 version. So when in sql lab editor we are using 
jinja template i.e a query like select * from table where 
client_id='{{current_username()}}' then this is giving us result in sql editor 
itself.
   
   But when we are using this same jinja expression in filters section of any 
slice then it is not getting evaluated, no data is coming .
   
   
![jinja](https://user-images.githubusercontent.com/62089487/76829384-15734a80-6849-11ea-8215-1f7915b1df5e.png)
   
   You can see view query is not getting avaluated:
   
![view_query](https://user-images.githubusercontent.com/62089487/76829481-4bb0ca00-6849-11ea-998b-ec898ecd1666.png)
   Can you please share your views in this as this feature is really needed for 
us  because we need to show a user specific data only when he logs in to the 
application.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to