9 Replies Latest reply: Sep 8, 2010 5:31 AM by Matt Sweeney RSS

    Trouble Using a Variable in Set Analysis

      I have created a variable "vSelection" in my QVW, which is currently set to "USMC." Using a text box with the expression =$(vSelection), USMC appears as expected. The trouble comes when using the variable in set analysis.

       

      This set analysis expression will work:

      TextCount ({<FIELD_1= {USMC}>}FIELD_2)

       

      But this one won't, even though I've confirmed above that $(vSelection) = USMC

      TextCount ({<FIELD_1= {$(vSelection)}>}FIELD_2)

       

      Any thoughts?