Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 453
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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