Share via

Dynmic Logos based databse URL

Shanvitha 221 Reputation points
2020-10-19T14:11:30.75+00:00

Hi Team,

I need dymanic logos based on my Country filter

I have logo store in Azure blob after I have created Table Country and LOGO(Nvarchar(MAX) i have store the LINK URL in the LOGO colors

I have two dataset
1st dataset :Countrydetails
below is sample data
33367-image.png

I have logo are store in Azure blob and we create one table and stored those Link URL in table bleow
2nd dataset :LOGO

33368-image.png

When i am select the Country Filter its should display based logo in the SSRS report

Thanks
Shanvitha

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.

0 comments No comments

Answer accepted by question author

ZoeHui-MSFT 41,551 Reputation points
2020-10-20T03:09:38.52+00:00

Hi @Shanvitha ,

I found two ways to meet your needs.

(1)In the Dataset1 query, enter a query

where Country in (@country)

In the Dataset2 query, enter a query

where COUNTRY in (@country)

When you select the Country Filter,you may see logo as well.

(2)You may add a new right column besides Salary, we could named it as logo.

And then enter the expression using the lookup function.

=lookup(Fields!Country.Value,Fields!COUNTRY.Value, Fields!LOGO.Value,"DataSet2")  

In this way you could combine the two datasets and when you select the Country Filter, it will also show the related logo.

https://learn.microsoft.com/en-us/sql/reporting-services/report-design/report-builder-functions-lookup-function?view=sql-server-ver15

Regards,

Zoe


If the answer is helpful, please click "Accept Answer" and upvote it.

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.

Was this answer helpful?

0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Shanvitha 221 Reputation points
    2020-10-20T10:27:14.14+00:00

    Hi Zoehui,

    Thanks you replay and suggest and helping.
    I am happy you are solution.

    Thanks
    Shanvitha

    Was this answer helpful?


  2. Shanvitha 221 Reputation points
    2020-10-20T06:48:38.03+00:00

    Hi Zoehui-MSFT /SSRS export

    Thank you are replay but my image didnt display in the report.
    below is error(mean didnt display)
    33543-image.png

    My logo store in Azure Blob and I am create one table Country name and respective logo link (logo column is NVarchar(MX))
    like below
    33554-image.png

    after running my report i didnt display image.

    please any body help on this

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.