I have a user that would like his report to be able to suppress a comments field during run time.
I could just copy the report and remove the comments section and allow him to just run which ever one he needs as necessary, but I’m curious how I can just have the one report and allow him to choose when to suppress the field.
Is suppressing a field something that can be done by user’s choice prior to executing the report?
I didn’t find many search results that explained how to create a prompt that would hide/show the column or data section. Whether I’m just not searching on the right words or for whatever other reason. Can you provide a link that explains how to do that?
to do something like that you’d need to create the predefined condition as an object in the universe and add it to your report query. something like ‘YES’ IN @prompt(–prompt parameters here–)
another idea may be to use some code with the @bouser function in the universe object that would return the data for the section you want to suppress with a case or if statement. note - neither idea would work with OLAP universe