Conditional formatting in ssrs

NishchalG 41 Reputation points
2021-11-07T16:05:26.91+00:00

Hello :)
I have two questions.

1] In SSRS can we have conditional formatting ?

Also suppose there is a table

SR.NO. PRODUCT QUANTITY RATE TOTAL

1 LED BULB 10 100 1000

2 LED TUBE ITEM CANCELLED *** CANCEL ORDER NUMBER CO-0125

3 LED SPOT LIGHT 05 250 1250

If 2nd item is cancelled then I need to print text as shown above....

2] A SQL Server stored procedure returns two tables.

can we have data from both tables? In two different data regions ?

Warm regards..
Nishu

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,813 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Joyzhao-MSFT 15,566 Reputation points
    2021-11-08T03:37:45.663+00:00

    Hi @NishchalG ,
    Usually we use IIF Fuction and Switch Fnction in SSRS to set the color, visibility, etc. of the report. Please see: Conditional Formatting for SQL Server Reporting Services Reports.

    A report can have multiple data regions, but one data region corresponds to a dataset. If you want to obtain data from multiple datasets at the same time, you can use Lookup Function or LookupSet Function, etc. For more information, please refer to: Expression examples in paginated reports (Report Builder).
    At the same time, we can use Subreports , Nested data regions , Drillthrough report and Drilldown action in the report. For more information, please see: Drillthrough, drilldown, subreports, and nested data regions in a paginated report (Report Builder).
    Best Regards,
    Joy


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.