• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 454
  • Last Modified:

Expression for Go to report action property for group values

I have dataset group in SSRS called Sales_Type and values could be "Online", "Phone" or "Walk in" . I have an action property go to report on this group. I need an expression on the action property that will open different reports for values; Online", "Phone" or "Walk in" . Who can help me the the expression?
0
Projack
Asked:
Projack
1 Solution
 
chrismcCommented:
If the Action is on the cell with the value in it then you can use Me.Value in the expression to test for or use that cells value;

For instance;
=Switch(Me.Value = "Online","OnlineReport", Me.Value = "Phone", "PhoneReport", Me.Value = "Walk in", "WalkinReport")

If not you can access the field directly, Fields!theField.Value.
If you do that from a group as your title suggests it should still work.

Cheers
Chris
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now