Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2720

Re: Report Filter & User Response

$
0
0

Hi Piyush,

 

It's possible. You just have to check if the Userresponse() value is equal to Reportfilter() value, if yes, that means Input controls haven't been touched yet, in that case the header needs to show Userresponse() value, else if the input controls were touched, then the header needs to show the reportfilter() value. Makes sense?

 

This is what I did to recreate your scenario and resolve the issue, you can try too:

  1. Create a report using eFashion universe, just pull State, Sales Revenue and create a prompt on State
  2. Select California, New York, Texas in prompt and run the report
  3. Create a variable p_State = Userresponse("Enter State(s):") and put it in the report header, header will display California;New York;Texas
  4. Create multi select Input control on State (object from the query, not a variable)
  5. Select California and Texas only in the Input Control
  6. Create a variable rf_State =Reportfilter([State])
  7. Create a variable State_Header =If([p_State]=[rf_State]) Then [p_State] Else [rf_State]
  8. Update the header with formula for State_Header and you'll see California;Texas only as you wanted.

 

Check out these snaps before and after making selection in Input Controls:

 

Before

Snap 01.png

 

After

Snap 02.png

 

Hope that helps, let me know if you have any questions or concerns.


Thanks,
Mahboob Mohammed


Viewing all articles
Browse latest Browse all 2720

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>