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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

How to make grid text bold in ssrs report using visual studio expressions

(0) ShareShare
ReportReport
Posted on by 3,110

Hi Experts,

I have a report and in the report there is a grid and in the grid i want to bold text using expressions only, all the texts no conditions simple bold text using visual studio expressions, please suggest.

Best Regards,

Shabir Ahmad

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    Just set an expression for the FontWeight property. For example:

    =iif(Fields!MyField.Value = "abc", "Bold", "Normal")

    Just note that I don't understand what you mean by "all the texts no conditions simple bold text using visual studio expressions". It may be missing some words.

  • Shabir Ahmad Profile Picture
    3,110 on at

    Martin "Goshoom" Dráb,

    sorry for late reply, in report design there is table grid and all the row and columns i want to be bold no condition but using expression is must. just simply bold the text in the report grid.

  • Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    If you want an expression but no condition, the expression will be the value, such as "Bold".

  • Shabir Ahmad Profile Picture
    3,110 on at

    Martin "Goshoom" Dráb

    ok thanks,

    let say, i have value  in grid  1 dicount , total amount etc  it would be like this   expression     = discount.value =Bold  2 = total Amount.Value=Bold

    Regards,

    Shabir Ahmad

  • Verified answer
    Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    No, your code doesn't look correct. It's trying to set a string (Bold) as a value of discount and Amount fields, which has nothing to do with your requirement.

    You want to set "Bold" as the value of FontWeight property of those two controls.

  • Shabir Ahmad Profile Picture
    3,110 on at

    font_2D00_size.png

    Please check i changed the property but no luck

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans