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 :
Small and medium business | Business Central, N...
Suggested Answer

Conditional Formatting in RDLC report layout in business central.

(0) ShareShare
ReportReport
Posted on by 153

Hi Guys,

For example : I want if my price are matches with selected price, then display red colour in price.

As shown below example.

i am writing below color expression but didn't get right result.

My matches value shows red color, but i want N/A value shows black color.

pastedimage1679888857970v3.png

pastedimage1679887746516v1.png

Is any way to do this.

  • Sejal Profile Picture
    99 on at

    Hello Nilam,

    You use below Expression 

    =IIF(Fields!price.Value = Fields!SelectedPrice.Value ,"Red","Black")

    pastedimage1679907065788v1.png

  • Nilam Bhor Profile Picture
    153 on at

    I have already used that expression, but I didn't get right result.i.e.my N/A values are also coming in red color.

    I want only, if price & selected price values are matches then only, price values show in red, otherwise remaining price values display as a black color.

  • Suggested answer
    Vaishnavi J Profile Picture
    3,096 on at

    Hi Nilam,

    You can use the below expression in color section.

    =Switch(Fields!Price.Value=Fields!Selected_Price.Value,"Red",IsNothing(Sum(Fields!Price.Value)),"Black",Fields!Price.Value<>Fields!Selected_Price.Value,"Black")

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much.

  • Nilam Bhor Profile Picture
    153 on at

    Thank you

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 796 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 481 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 377 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans