Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

I need regular expression in reporting to populate column value on report

Posted on by 340

I need regular expression in reporting to populate column value on report . If (solved on– created on ) is greater than number of hours represented by "state" field values 24 hrs or 72 hrs then populate “Yes” in columnA else populate blank. In this process in need convert 24 hrs string to integer and compare with date values difference.

*This post is locked for comments

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: I need regular expression in reporting to populate column value on report

    And other mentioned details? Query, field types? I don't have superpowers to get those details without your help.

  • Sandy Hello Profile Picture
    Sandy Hello 340 on at
    RE: I need regular expression in reporting to populate column value on report

    Hi Andrii thanks for your reply. Report type is FetchXml

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,397 on at
    RE: I need regular expression in reporting to populate column value on report

    Hi

    Please use this regular expression to get the numbers at the beginning.

    ^[0-9]*

     

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: I need regular expression in reporting to populate column value on report

    I believe you don't need regular expression for that.

    What you need is expressions for SSRS.

    I'm afraid that it's a bit complicated to help you with exact formula without knowing details of your report - query, report type (SQL or FetchXml), e.t.c.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans