web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

GetFilters

(0) ShareShare
ReportReport
Posted on by 3,099

Hi

 In Reports in Datasource I Have 1 column GetFilters . I want if it is ShortCut Dimension1 Code it should be shown as Branch

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,237 Super User 2025 Season 2 on at
    RE: GetFilters

    I hope you are trying to get the caption based on what dimension you have selected in General Ledger Setup, please check the Table 85, there is a function to GetCaptionClass to return caption based on dimension code.

  • jsshivalik Profile Picture
    3,099 on at
    RE: GetFilters

    Hi

       Table 85 is Acc Schedule Line. But on Request Page it shows Branch . Why is it so. Can't the same name be displayed in RDLC.

    Thanks

  • Suggested answer
    Suresh Kulla Profile Picture
    50,237 Super User 2025 Season 2 on at
    RE: GetFilters

    Becauase it uses GetCaptionClass funciton to get the caption, you can use the same to get the value and use that in RDLC.

  • jsshivalik Profile Picture
    3,099 on at
    RE: GetFilters

    Hi

     Can u please guide me how to use in my report

    Thanks

  • Suggested answer
    Suresh Kulla Profile Picture
    50,237 Super User 2025 Season 2 on at
    RE: GetFilters

    What is GetFilters in your report, are you trying to find if there any filters applied on the table using GETFILTERS, if you it is only for shortcut dimension 1 code, you could check if Record.GETFILTER("Shortcut Dimension 1 Code")  <> '' THEN use CaptionClass to get the caption and display the filter or

    from GETFILTERS strings you could use string function to replace Shortcut Dimension 1 code with branch.

    Find if that exists using STRPOS, then delete the String using DELSTR and insert the string using COPYSTR

    forum.mibuso.com/.../replace-a-string-by-another

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#2
SC666 Profile Picture

SC666 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans