โ05-04-2023 12:52 PM
Hello,
I would like to know if it is possible to filter a dashboard by the current user email?
For example, I have a table result of a group of people with the following columns: user_id, user_email, date, productivity. So with this table I create some views that show the productivity of each user and I want to create only one dashboard that any user can go and check theirs results. For this, I would need to filter the current user logged on Databricks to filter the dashboard and show only their result.
โ05-19-2023 06:25 AM
Hey guys,
After some research on the documentation, I found out that if a filter the query using the current_user() function, I will get the result that I was looking for.
If anyone need look at this:
https://docs.databricks.com/sql/language-manual/functions/current_user.html
โ05-05-2023 09:48 PM
Hi, Could you please try https://docs.databricks.com/sql/user/queries/query-filters.html#query-filters.
Please let us know if this helps. Also, please tag @Debayan Mukherjeeโ with your next comment so that I will get notified. Thank you!
โ05-19-2023 01:10 AM
Hi @Luiz Felipe Moriondo Alves Filhoโ
Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!
โ05-19-2023 06:25 AM
Hey guys,
After some research on the documentation, I found out that if a filter the query using the current_user() function, I will get the result that I was looking for.
If anyone need look at this:
https://docs.databricks.com/sql/language-manual/functions/current_user.html
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now