title: Accessing variable in SSRS function
body: <p>I have a report which lists items from different categories. Need to display category name only when it changes from the previously listed one. My approach is using a custom function to generate appropriate text, however need to persist the previous value somehow. Wanted to use report variable for that, but I'm not sure how can I set its value and access it within the function? Also, does my approach make any sense, or is there any simpler way of doing it?</p>