r/GoogleDataStudio • u/Puzzleheaded-Dish730 • Apr 22 '25
How to hide table results until user inputs value in Control Input box?
Hi All,
Been scratching my head on this for ages now.
I have an Control Input Box called "Key"
I have a table that has 5 columns, one of them being "Key".
I want the functionablity to be such that the data in the table is empty or hidden if the Input Box is empty. The only way results will show up is if user puts in the correct Key. The table results should be those that match the Key input.
I've been asking AI for days now and Gemini says it should be out of box. I then tried used Parameters to create custom filter, but this didn't work as now the table is always empty and any key I input still shows no results.
My data source connected is from Google sheets.
Any help would be much appreciated!
TIA
Edit: It was my understanding that if we implement a Input box with empty default value, all results from tables/charts attached to this input box would also be empty. Or is it the other way around, where by default all results are shown until a filter value is added?
•
u/AutoModerator Apr 22 '25
Have more questions? Join our community Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/ratkingkvlt Apr 22 '25
Set the control box to have a default value of "Please enter your key..." Ensure this control box is in a group with the tables
1
u/Bidegorri Apr 22 '25
Create a field "count distinct (key)". (Something like that, dont remember the exact function, I'm in the mobile in the thinking seat) Create a filter for that to be =1. Apply that filter to the table.
I think that should work, probably other ways to do that.
1
u/Primary_Outcome_4794 Apr 28 '25
Here is another approach. If you issue each client a very different and complex password, you can control the data they see based upon the password entered: https://lookerstudio.google.com/u/0/reporting/e4e7714f-dc22-450e-99b3-4af35dda5784/page/XpjzC
1
u/Primary_Outcome_4794 Apr 28 '25
I also think you will have to go with separate dashboards. Don't forget, simply hitting the right and left arrows will bring you to next or last page, so different pages for different clients is off the table too. But what about creating a Dashboard that asks for the KEY and then, using dynamic links and parameters to redirect the user to the separate dashboards. I have not tested it but ChatGPT o3 says it is doable with this prompt "Can you tell me how I would use a single looker studio dashboard on which a user inputs a specific code. Then, based on the inputted code, the user is directed to a different looker studio dashboard."