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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Ssrs report design expression with Or condition .

(1) ShareShare
ReportReport
Posted on by 1,836
I am working on report which is having the Expression in text box which makes the text visible on when the report opens on specific menu item i want to add my condition in or expression how can i achive this in ssrs report , can plz anyone one guide me on this . 
 
this is the text box expression , 
 
//=iif(Parameters!POHeader_strMenuName.Value=/IM_VendPurchaseOrder/,/Note: this purchase order is approved electronically by Bahra Electric management and does not require any signature/ & Vbcrlf & Vbcrlf & /Best regards,/ & Vbcrlf & Vbcrlf & /Bahra Electric - Procurement Department/,//)
 
this is the expression i need to add in or case 
//=iif(Parameters!DTPurchStatus =1,true,false ,/Note: this purchase order is approved electronically by Bahra Electric management and does not require any signature/ & Vbcrlf & Vbcrlf & /Best regards,/ & Vbcrlf & Vbcrlf & /Bahra Electric - Procurement Department/,//)
 
but i am getting error if i put both expression using /OR/
I have the same question (0)
  • Suggested answer
    Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 on at
    Hi Dinesh
     
    Can you please show us the full expression you wrote including the OR to know what the issue is.
     
    Maybe also check this link to see how to do an OR expression
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Dineshkarlekar Profile Picture
    1,836 on at
    but how can i enter these lines /Note: this purchase order is approved electronically by Bahra Electric management and does not require any signature/ & Vbcrlf & Vbcrlf & /Best regards,/ & Vbcrlf & Vbcrlf & /Bahra Electric - Procurement Department/,//) that is still my problem .
  • Verified answer
    Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 on at
    Hi Dinesh,

    You didn't share the current expression that you wrote which errors so that we amend it for you. Can you please share it? Or please type what is the exact requirement, If sth, then you need this and this Else you need that (as didn't quite understand from your question)

    Did you try sth similar to this? (of course replace it with your field values)

    =IIF(Parameters!Name.Value="Value1" OR Parameters!Name.Value="Value2", "Print what you would like to see when condition is met", "")

    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans