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 :
Microsoft Dynamics AX (Archived)

Color transparency in Textbox in Ssrs Report

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I want to add a color transparency in textbox on ssrs report on the basis of qty. Sample has been attached.

Any suggestion or anyone familiar with this would be appreciable.

Regards,
Zohan

*This post is locked for comments

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

    Hi Zohan, unfortunately your image hasn't been attached. Please try it once more.

  • Zohan Profile Picture
    2 on at

    Yes exactly but color temperature graph should be based on quantity of that textbox.

  • Zohan Profile Picture
    2 on at

    There might be some problem with attachment.

  • Zohan Profile Picture
    2 on at

    color.jpg

    I was talking about this. Color transparency depends on textbox Field quantity

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

    This isn't transparency. If you set background transparency based on the value, the background would have a solid color across the whole cell, which would be more or less transparent.

    What you're talking about are data bars.

  • Suggested answer
    guk1964 Profile Picture
    10,888 on at

    When you click view the cell's properties in the property window, there should be a Background Color property. Then you can create conditions. e.g =IIF(Fields!Column.Value = "Approved", "Green", "No Color") Here is an example:: 

    =iif(Fields!Date.Value < today() AND Fields!ID.Value = "a", "RED",

    iif(Fields!Date.Value < today() AND Fields!ID.Value = "b", "BLUE",

    iif(Fields!Date.Value >= today() AND Fields!ID.Value = "a", "GREEN",

    iif(Fields!Date.Value >= today() AND Fields!ID.Value = "b", "YELLOW","WHITE"))))

    This checks the date value of "Date" and compares it to today, as well as the text value of "ID" and compares it to "a" or "b".

    If the text value is a and the date is before today, make the field red, if its b and before today, then make it blue. If the date value is today or later and the text value is a, then make it green and if the date value is today or later and the text value is b then make it yellow. If none of the conditions match, then make it white.

    However when you have many conditions you might prefer 'switch' logic:

    =switch( Fields!Date.Value < today() and (Fields!ID.Value = "a" or Fields!ID.Value = "c"), "red",

    Fields!Date.Value < today() and (Fields!ID.Value = "b"), "blue",

    Fields!Date.Value >= today() and (Fields!ID.Value = "a" or Fields!ID.Value = "c"), "green",

    Fields!Date.Value >= today() and (Fields!ID.Value = "b"), "yellow")

    etc 

    (Why not create the report in Excel which has such conditional formatting features?)

  • Verified answer
    Hossein.K Profile Picture
    6,648 on at

    Hi Zohan,

    Using Sparklines & Data Bars to Visualize Data in SQL Server Reporting Services Reports

    dynamicsinsights.com/.../using-sparklines-and-data-bars-to-visualize-data-in-sql-server-reporting-services-reports

  • Zohan Profile Picture
    2 on at

    Do visual Studio 10 version also contains this data bar property ? What i've seen there's no such property related to data bar exists in visual studio 10 version

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans