Can i use global variable or login id in Query parameters?

Issue Summary


Can I use userid in query?

I want to show different results for each user.

I know I can create a separate Data Sources, but I’m looking for a simpler way.


Technical details:

  • Redash Version: Version: 8.0.0+b32245
  • Browser/OS: Chrome/ win10 64
  • How did you install Redash: Following Docker Based developer installation guide.

Welcome to the forum!

No, this isn’t supported. But it would be a cool feature.

An alternative way we could implement it is user credential passthrough, so you wouldn’t even need conditional statements in your SQL.

1 Like