Now Available in Community - New TechTalk Videos for 2020
2020 release wave 1 Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 Timeline
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I am working on a report in which the parameters are with multi-select support. The requirement is to display ALL for Selection of ALL parameter's values.
=IIF(Parameters!YourParameter.Count=Count(Fields!DataSetFieldName.Value, "Name OF Your DataSet"),"ALL",Join(Parameters! YourParameter.Value,","))
I know this thing works for AX 2012 Stored Procedure based reports but in AX 7 or RDP reportsthere are no such data-set for Parameters. So how could I compare the count to display All for all selection.
Hi Hamza Asghar,
Way you approaching this is good for pure SSRS reports but in AX we prefer to do all calculations on AX side.
Here is a blog article how to build multi select lookup on controller class dynamicsaxinsight.wordpress.com/.../ax-2012-multi-select-lookup-for-ssrs-report-dialog or this one
Now you can use this logic to add range on a query.
Thanks ievgen Miroshnikov for such good answer.
I had already made multi-select lookups for my reports the only issue i am facing is
How to guess that the users had selected all of the parameters that has been displayed in Lookup to Display "ALL" on my Report.
Why do you need to guess ? Just add "All" value to a list of multi selection and check if it was selected.
Second option is to get rid of this "All" and let user to select all options by marking all of them, In this case you will have range that includes all available values and it's effectively means that you don't have any range.
Business Applications communities