Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

SSRS Cascading parameters with an In condition

(0) ShareShare
ReportReport
Posted on by 509

I'm writing a SSRS report using fetchxml which requires cascading parameters.

However

Condition 1 has 1 or more parameters

Condition 2 needs to accept these parameters in order to filter its results.

How do I pass multiple parameters into Condition 2? One parameter isn't an issue, but the in condition requires <value></value> conditions, not as I was hoping, being able to pass comma seperated list into a value="" condition.

Thanks
Lee

  • Lee-Martin Profile Picture
    Lee-Martin 509 on at
    RE: SSRS Cascading parameters with an In condition

    Yes, was an error with the data

  • erhan.keskin Profile Picture
    erhan.keskin 2,251 on at
    RE: SSRS Cascading parameters with an In condition

    So, that is sorted?

  • Lee-Martin Profile Picture
    Lee-Martin 509 on at
    RE: SSRS Cascading parameters with an In condition

    It looks like the solution of using value="typea,typeb" in an in condition does work.

    My error was in another part of what I was working on.

  • Lee-Martin Profile Picture
    Lee-Martin 509 on at
    RE: SSRS Cascading parameters with an In condition

    Thanks, I've seen that page and whenever I put in values in Fetchxmltester in xrmtoolbox I get an error if i use value="typea,typeb" instead of

    <value>typea</value>

    <value>typeb</value>

    an example of what I'm trying to do is this.

    In parameter 1 i have football teams

    In parameter 2 i have football players.

    If I select Manchester United in parameter 1, I want parameter 2 to show all players who play for Manchester United.

    however I also want parameter 1 to select multiple and for parameter 2 to show results for both parameters.

    for example

    if I select both Manchester United and Liverpool in parameter 1, parameter 2 will show me players who play for either Manchester United or Liverpool

    I also want to be able to select Manchester United, Liverpool and Arsenal, or Manchester United, Liverpool, Arsenal, and Manchester City and show all players who play for each team etc....

  • erhan.keskin Profile Picture
    erhan.keskin 2,251 on at
    RE: SSRS Cascading parameters with an In condition

    Hi,

    I am not sure if I understand what you are asking there. I'll share a link for what I understand. Please check this out if it helps for your situation. community.dynamics.com/.../sample-fetch-xml-report-using-multivalued-parameter-in-operator-in-crm

    If not, please explain more of what you ask by adding screenshots or giving examples.

    Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,759 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,468 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans