Column Visibility Expression help - SSRS

I have a report in SSRS that has 12 columns. On each column, I have a corresponding column visibility expression like so:
 =IIF(InStr(JOIN(Parameters!HideColumns.Value,
","),"01")=0, False, True)
Where I have the "01" I change to "02","03","04","05","06","07","08","09","10","11"
& "12" respectfully across my column. The intent is to pass a parameter and allow the end user to "Hide" the column from visibility to allow them the flexibility on printing records. The issue I am having is I need a default that allows
them to not hide anything, meaning print all 12 columns. Right now, its forcing me to pick one column to hide, is there something I could add to this to say, All? Hope this makes sense.

Hi,
For default value of this parameter(Parameters!HideColumns.Value)
add  a value that is not in 01 to 12 .
As an example if you  add 13 to the  default value   of the parameter, than  your expression will not hide the column 
   =IIF(InStr("13",
","),"01")=0, False, True) 
   =IIF(InStr("13",
","),"02")=0, False, True)  and so on.
Many Thanks
Chandra
Please mark the post has answered if this post helps to solve your issue

Similar Messages

  • Is column visibility based on the first page of the result set or the entire result set?

    I have tried, in vain, to play with the column visibility expression in my report. So where my Business Unit is "MC" or "FM", then I want to display column "HCFA Number"...otherwise hide it. If I run strictly for "MC"
    it works! If I run simply for "CO" it works! And doesn't show! But if I combine "CO" and "MC", it is hidden and I would expect it to be visible since "MC" is part of my entire report.
    Here's the expression I came up with for Column Visibility...
    =IIf((Fields!BUSINESS_UNIT.Value = "MC") OR
    (Fields!BUSINESS_UNIT.Value = "FM"),FALSE,TRUE)
    Am I missing something here or just being dense late on a Friday???
    Thanks for your review and am hopeful for a reply.

    Hi ITBobbyP,
    It seems you have add parameter based on the "Business Unit" which is multiple values and when you select the "CO,MC" the entire column "HCFA Number" is hide, but what you want is to hide the CO related "HCFA Number"
    and show the MC related "HCFA Number", right?
    The expression you are using to show/hide the column visibility will based on the current filtered entire result set. That is mean the entire column "HCFA Number" will be show when the result set contains "MC" or "FM"
    or both, otherwise, it will always hide.
    In your scenario, you can set the row visibility using the expression and you will get the result like below:
    You can set the visibility of the textbox "[HCFANumber]", but the CO related "HCFANumber" will be blank:
    If I have some misunderstanding, please try to provide more details information about the expect result you want.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Column Visibility in SSRS

    I am using SSRS 2012 for my report. I want to hide certain columns in the report. I don't want to see spaces between columns in my report when a middle column visibility is set to hide. I have an expression that hides or makes visible a certain
    column base on the value selected. But the issue I have with this is that I see spaces between columns in the table when the report is rendered.
    =IIF(CBool(Parameters!Column.Value)=True,True,False)
    In the image below, I want to be able to hide the Code column at the middle of the table without seeing any gap between columns in the table. Thanks for the help.
    Zionlite

    Hi Yokoos,
    According to your description, you have a parameter in your report to control the visibility of a column. Now you find there is blank space on the location of the column that is hidden. Right?
    In Reporting Service, if you just set visibility for the cells instead of the column/row, the space of the column/row will be reserved and that will generate/cause blank space at run time. So in your scenario, you just need to put your expression into column
    visibility to achieve your goal. Here are screenshots for your reference:
    Reference:
    Column Visibility Dialog Box (Report Builder)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
      

  • Visibility formula help

    Hi All,
     I want to calculate a formula, depending on that formula, I want to hide and make the column visible.  I have a column called
    SN. I want to make it visible when the value of the parameter called @section is “GCG” otherwise I want to make it invisible. Same thing with another columns, if @section parameter is “GED” then I want to make column 2  called PN visible and column SN
    invisible. I tried to calculate this formula and putting it in Visibility-hidden formula section
    IIF(INSTR(Join(Parameters!section.Value), "GCG") > 0 OR Parameters!section.Value(0) = "-1", false, true)
    the above formula didn’t make that particular columns visible/invisible
    Alternatively, I tried putting the formula in the XML file for the report.
    <TableColumn>
    <Visibility> <Hidden>=IIF(INSTR(Join(Parameters!comp.Value), "GCG") > 0 OR Parameters!comp.Value(0) = "-1", false, true)</Hidden> </Visibility>
    <Width>1in</Width>
    </TableColumn>
    The above formula seems to be working, but the problem is when I export the
    report to the Excel. The column that I am making visible by the above formula is not exported to excel.
    I am not sure what am I doing wrong, but I am struggling with this issue for
    past two days.
    The value in the @section parameter can be “GCG” or “GED” or “PED” or all three
    of them “GCG”,”GED”, “PED” or two of them “GCG”, “PED”, it can be any combination. If I am passing the combination of two parameters then I want two columns to be visible and other invisible.
    any help or hint will be greatly appreciated. I am struggling for a while with this issue.

    Hi Anjali100,
    According to your description, you have used expression to control the visibility of columns in your tablix. However, when exporting into CSV file, it still shows all columns which some of columns need to be hidden. Right?
    In Reporting Services, when exporting to CSV/XML file, as mentioned in the link you post, these two are only data renders, it will not render any interactivity like Hide, Hyperlink... Please refer to the "Interactivity" in the link below:
    Exporting to a CSV File (Report Builder and SSRS)
    And as we tested in our local environment, it doesn't automatically omit the data in those columns which has set Hide. So your requirement can't be achieved in CSV format currently.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Using an expression in SSRS to display rolling 12 month and year to date volumes

    I need some help in writing an expression in SSRS. I have a table that contains date columns and rows that contain different types of data groups. (e.g. total number of items received during the month, total dollars for the month, etc.) I want to add two
    new columns to the end of the report that will display a rolling twelve month total for each of the different rows of data. Plus a column that would show year to date totals for the same rows.
    I was thinking I could accomplish this by adding expressions for each row in the new 'rolling twelve month' and 'YTD' columns in my report however, I'm not sure how to structure the expressions to achieve this.
    Here is an example of how my report currently looks. (I added a pipe delimeter in case the formatting changes once this is submitted.)
                             Jan-2014 | Feb-2014 | Mar-2014 | Apr-2014 | Rolling 12 mth | YTD
    Items received     100 | 35 | 45 | 12 | 192 | 192
    Dollars                $50.00 | $25.00 | $120.00 | $15.00 | $210.00 | $210.00
    Any guidance you can provide would be appreciated.
    Thank you  

    This example shows how to get what you need. It'll take modifying your query to add two cased columns onto the end.
    DECLARE @forumTable TABLE (periodYear INT, periodMonth INT, periodMonthName VARCHAR(12), periodDollars MONEY, periodItems INT)
    DECLARE @i INT = 0
    SET NOCOUNT ON
    WHILE @i < 24
    BEGIN
    INSERT INTO @forumTable (periodYear, periodMonth, periodMonthName, periodDollars, periodItems)
    VALUES (YEAR(DATEADD(MONTH,-@i,GETDATE())), Month(DATEADD(MONTH,-@i,GETDATE())), DATENAME(MONTH,DATEADD(MONTH,-@i,GETDATE())), 1000-@i, 100-@i)
    SET @i = @i+1
    END
    SET NOCOUNT OFF
    SELECT *,
    CASE WHEN CONVERT(VARCHAR,periodYear) + '-' + CONVERT(VARCHAR,periodMonth) + '-01' > DATEADD(MONTH,-12,GETDATE()) THEN periodItems ELSE 0 END AS ytdItems,
    CASE WHEN CONVERT(VARCHAR,periodYear) + '-' + CONVERT(VARCHAR,periodMonth) + '-01' > DATEADD(MONTH,-12,GETDATE()) THEN periodDollars ELSE 0 END AS ytdDollars
    FROM @forumTable

  • How to use string as an expression in SSRS reports

    Hello all,
    I have created a SSRS report in which I have used a tablix and a single dataset (ds_test)
    Now the dataset use t-sql and  is calling a table in which has data as shown below:
    What I am trying to do is to use this as an expression inside the cell of the tablix. But when I run the report It give me:
    But It should show the result as "True", I know it is taking this as a string but is there any way so that we can use this as an expression in the report
    NOTE: We cannot use this directly in report , because this is generated dynamically and should always present in DB tables only
    Thanks in advance
    Pankaj Kumar Yadav-

    So your table has a varchar column with 'iif(1=1,True,False)'  in one of the records ?
    yes
    Pankaj Kumar Yadav-
    You wont be able to pass a value from db like this and use this as an expression inside SSRS.
    If you're using SQL 2012 you can exec this expression using dynamic sql and then show return value as is in a SSRS report.
    SSRS is a presentation tool with limited scripts and it cant do any query processing against database. that part have to be implemented using t-sql query on backend (dataset)
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Expression in SSRS Slowing down Report Rendering

    An expression in my report is making the report to run very slowly. The
    expression, set in a Row Column Visibility Property is like so:
    =IIF(Parameters!View.Value = 1 AND (Fields!PastVal.Value = 0)AND(Fields!DatePay.Value = 0) AND
    (Fields!Line.Value = 0),True, IIF(Parameters!View.Value = 2 AND Fields!TaxPaid.Value = "N",True, False))
    Now this expression returns the right result. The problem is that it makes the report run very slow. To test it, I took off the expression and reports are displayed in less than 3 seconds but with the expression on, report takes over 50 seconds to run.
    Any help on this? Thanks.
    Zionlite

    Hi Zionlite,
    After creation of that column just go to the row visibility property and use newly created calculated column directly as shown in below screen.
    I kept both tablix one is normal having expression in visibilty condition and another with calculated columnto verify the result. when I run the report result is like below:-
    I also attached the code for reference.
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
    <Body>
    <ReportItems>
    <Tablix Name="table1">
    <TablixBody>
    <TablixColumns>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    </TablixColumns>
    <TablixRows>
    <TablixRow>
    <Height>0.22in</Height>
    <TablixCells>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox3">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Tax</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>11pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox3</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>SteelBlue</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox4">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Past Val</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>11pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Right</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox4</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>SteelBlue</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox5">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Date Pay</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>11pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Right</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox5</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>SteelBlue</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox6">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Comment</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>11pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Right</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox6</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>SteelBlue</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    </TablixCells>
    </TablixRow>
    <TablixRow>
    <Height>0.21in</Height>
    <TablixCells>
    <TablixCell>
    <CellContents>
    <Textbox Name="TaxPaid">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!TaxPaid.Value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>TaxPaid</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="PastVal">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!PastVal.Value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>PastVal</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="DatePay">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!DatePay.Value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>DatePay</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="Line">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!Line.Value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Line</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    </TablixCells>
    </TablixRow>
    </TablixRows>
    </TablixBody>
    <TablixColumnHierarchy>
    <TablixMembers>
    <TablixMember />
    <TablixMember />
    <TablixMember />
    <TablixMember />
    </TablixMembers>
    </TablixColumnHierarchy>
    <TablixRowHierarchy>
    <TablixMembers>
    <TablixMember>
    <KeepWithGroup>After</KeepWithGroup>
    <RepeatOnNewPage>true</RepeatOnNewPage>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <Group Name="table1_Details_Group">
    <DataElementName>Detail</DataElementName>
    </Group>
    <TablixMembers>
    <TablixMember />
    </TablixMembers>
    <Visibility>
    <Hidden>=IIF(Parameters!View.Value = 1 AND (Fields!PastVal.Value = 0)AND(Fields!DatePay.Value = 0) AND (Fields!Line.Value = 0),True, IIF(Parameters!View.Value = 2 AND Fields!TaxPaid.Value = "N",True, False))</Hidden>
    </Visibility>
    <DataElementName>Detail_Collection</DataElementName>
    <DataElementOutput>Output</DataElementOutput>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    </TablixMembers>
    </TablixRowHierarchy>
    <DataSetName>DataSet1</DataSetName>
    <Top>0.37in</Top>
    <Height>0.43in</Height>
    <Width>4in</Width>
    <Style />
    </Tablix>
    <Textbox Name="textbox1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>SampleReport</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>20pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>SteelBlue</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox1</rd:DefaultName>
    <Height>0.37in</Height>
    <Width>5in</Width>
    <ZIndex>1</ZIndex>
    <Style>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </ReportItems>
    <Height>2.68in</Height>
    <Style />
    </Body>
    <Width>6in</Width>
    <Page>
    <LeftMargin>1in</LeftMargin>
    <RightMargin>1in</RightMargin>
    <TopMargin>1in</TopMargin>
    <BottomMargin>1in</BottomMargin>
    <Style />
    </Page>
    <AutoRefresh>0</AutoRefresh>
    <DataSources>
    <DataSource Name="DataSource1">
    <DataSourceReference>DataSource1</DataSourceReference>
    <rd:SecurityType>None</rd:SecurityType>
    <rd:DataSourceID>c74df62d-433f-4dae-a6b1-7387b9a36c1f</rd:DataSourceID>
    </DataSource>
    </DataSources>
    <DataSets>
    <DataSet Name="DataSet1">
    <Query>
    <DataSourceName>DataSource1</DataSourceName>
    <CommandText>SELECT 'N' TaxPaid,0 PastVal , 0 DatePay, 0 Line
    UNION
    SELECT 'N' Tax,0 PastVal , 1 DatePay, 0 Line
    union
    SELECT 'Y' Tax,1 PastVal , 0 DatePay, 1 Line
    UNION
    SELECT 'Y' Tax,1 PastVal , 1 DatePay, 1 Line</CommandText>
    <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
    </Query>
    <Fields>
    <Field Name="TaxPaid">
    <DataField>TaxPaid</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="PastVal">
    <DataField>PastVal</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="DatePay">
    <DataField>DatePay</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="Line">
    <DataField>Line</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    </DataSets>
    <ReportParameters>
    <ReportParameter Name="View">
    <DataType>String</DataType>
    <DefaultValue>
    <Values>
    <Value>="Green"</Value>
    </Values>
    </DefaultValue>
    <Prompt>View</Prompt>
    <ValidValues>
    <ParameterValues>
    <ParameterValue>
    <Value>1</Value>
    <Label>1</Label>
    </ParameterValue>
    <ParameterValue>
    <Value>2</Value>
    <Label>2</Label>
    </ParameterValue>
    </ParameterValues>
    </ValidValues>
    </ReportParameter>
    </ReportParameters>
    <Language>en-US</Language>
    <Variables>
    <Variable Name="v">
    <Value>abc</Value>
    </Variable>
    </Variables>
    <ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
    <rd:ReportUnitType>Inch</rd:ReportUnitType>
    <rd:ReportID>caef6cad-e332-404c-b665-ef6f64b7ae23</rd:ReportID>
    </Report>
    Thanks
    Prasad
    Mark this as Answer if it helps you to proceed on further.

  • Tabular form condition type value of item / column in expression 1

    Hi
    Question 1
    I was wondering if anyone can help with the necessary syntax so that I can set a Condition Type for a column in a Tabular Form.
    What I'm trying to do is show or hide a column based on the contents of another column in the same row for instance show column DETAIL or DETAIL_READ_ONLY if column READ_ONLY is set to 'Y'
    Value of item / column in expression 1 = #READ_ONLY# or READ_ONLY (alas neither works)
    Expression 2 = Y
    I can set all the DETAIL or DETAIL_READ_ONLY columns to either hide or show at the same time by
    Value of item / column in expression 1 = P100_READ_ONLY (works well but lacks granularity)
    Expression 2 = Y
    Question 2
    Are Tabular Forms such that all fuctionality has to be global, what effects one column must be the same for all
    I know that Oracle prefers that developers don't use tabular forms but they are usefull for data visability when setting up related data in the same table.
    e.g. surveys, questionnaires etc apps the web was made for
    Thanks
    Derek

    Hi Sandro
    Thanks for replying
    The problem I have is Tabular Forms
    Detail Text Detail Read Only Read only
    Event 1a Event 1b Y
    Event 2a Event 2b N
    Event 3a Event 3b Y
    What I want it to look like is
    Detail Text Detail Read Only Read only
    ___________Event 1b__________ Y
    Event 2a_____________________ N
    ___________Event 3b__________ Y
    This would mean that the Text Field containing Event 2 could be updated but the Display Only fields containing Event 1 and Event 3 cannot be changed.
    The trick is to be able to mix and match data types for the same data because Tabular Forms columns don't have a conditional read only choice.
    Sorry about the rudimentary diagram, but its the old 80 / 20 rule =>20 percent functional
    Edited by: derekf on 4/02/2013 17:50

  • Expression In SSRS 2008

    Hi...
    I am stuck with expression in SSRS. am writing this in expession :
    =IIF(Parameters!Month.Value = "1",  MonthName(Parameters!Month.Value + 11),
       MonthName(Parameters!Month.Value)
    when i run this expression and value  =  1 (mean true) then it run properly and show result "December" 
    but when value <> 1 (mean false) then it retruns error message "Error"
    further if i write like this :
    =IIF(Parameters!Month.Value = "1",  MonthName(Parameters!Month.Value + 11),
       MonthName(Parameters!Month.Value - 1)
    both true and false return "Error"
    what am doing wrong
    Please help... Urgent
    thanks

    So you show year in a different parameter? Assuming you've parameter named Year then it would be this
    =Parameters!Year.Value + (((Parameters!Month.Value-1)+11) / 12 )
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Af:column visible property

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF-BC in my application.
    I want to pragmatically control the visible property of the af:column inside the table.
    I have the following code for af:column.
    <af:column sortable="false" headerText="Impact Cat New" id="c7" visible="#{row.bindings.Selected.inputValue}">
    </af:column>
    Initially, the value of 'Selected' will be false when the table is first displayed and hence it should NOT be displayed.
    In the table selection listener,I set the property 'Selected' to true for the selected row and refresh the table[AdfFacesContext.getCurrentInstance().addPartialTarget(tblEmp)].
    But Even after refresh the table is never showing the column for which visible is set as true.
    The table is inside a panelCollection.
    Please advice.
    Regards,
    Praveen

    This won't work, as the column is the container for all rows and the row attribute is only available when the table rows arr stamped. I don't understand your use case. You want to show a column if one row gets selected? Sounds odd to me.
    If you really want to do this, you have to set an attribute outside the table and use the selection listener to switch this attrbute. Then use the new attribute in the columns visible property.
    Timo

  • How do I set my side column width & height - Help ?

    Please see my website I am building using a Dreamweaver template  - it has a spry accordian menu in the right column - I am not skilled enough to understand how to set the height and width of this column   Can someone help?

    Here is spry css:
    * SpryAccordion.css - Revision: Spry Preview Release 1.4 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    /* This is the selector for the main Accordion container. For our default style,
    * we draw borders on the left, right, and bottom. The top border of the Accordion
    * will be rendered by the first AccordionPanelTab which never moves.
    * If you want to constrain the width of the Accordion widget, set a width on
    * the Accordion container. By default, our accordion expands horizontally to fill
    * up available space.
    * The name of the class ("Accordion") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style the
    * Accordion container.
    .Accordion {
              overflow: hidden;
              width: 210px;
              border-bottom: 1px solid #ffffff;
              outline: none;
    /* This is the selector for the AccordionPanel container which houses the
    * panel tab and a panel content area. It doesn't render visually, but we
    * make sure that it has zero margin and padding.
    * The name of the class ("AccordionPanel") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel container.
    .AccordionPanel {
              margin: 0px;
              width: 210px;
              padding: 0px;
    /* This is the selector for the AccordionPanelTab. This container houses
    * the title for the panel. This is also the container that the user clicks
    * on to open a specific panel.
    * The name of the class ("AccordionPanelTab") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel tab container.
    .AccordionPanelTab {
              color: #ffffff;
              margin: 0px;
              cursor: pointer;
              padding: 5px 10px 5px 30px;
              font-weight: normal;
              font-family: "Trebuchet MS";
              font-size: 12px;
              text-transform: uppercase;
              -moz-user-select: none;
              -khtml-user-select: none;
              background-repeat: no-repeat;
              background-image: url(../images/accordion_plus_closed.png);
              background-position: 10px 7px;
              border: 1px solid #ffffff;
              border-bottom: none;
    /* This is the selector for a Panel's Content area. It's important to note that
    * you should never put any padding on the panel's content area if you plan to
    * use the Accordions panel animations. Placing a non-zero padding on the content
    * area can cause the accordion to abruptly grow in height while the panels animate.
    * Anyone who styles an Accordion *MUST* specify a height on the Accordion Panel
    * Content container.
    * The name of the class ("AccordionPanelContent") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel content container.
    .AccordionPanelContent {
              margin: 0px 0px 0px 0px;
              padding: 0px 0px 0px 0px;
              border-left: 1px solid #ffffff;
              border-right: 1px solid #ffffff;
              overflow: auto;
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open. The class "AccordionPanelOpen" is programatically added and removed
    * from panels as the user clicks on the tabs within the Accordion.
    .AccordionPanelOpen .AccordionPanelTab {
              color: #ffffff;
              background-image: url(../images/accordion_plus_open.png);
              border-bottom: none;
    /* This is an example of how to change the appearance of the panel tab as the
    * mouse hovers over it. The class "AccordionPanelTabHover" is programatically added
    * and removed from panel tab containers as the mouse enters and exits the tab container.
    .AccordionPanelTabHover {
              color: #95c8fc;
    /* This is an example of how to change the appearance of all the panel tabs when the
    * Accordion has focus. The "AccordionFocused" class is programatically added and removed
    * whenever the Accordion gains or loses keyboard focus.
    .AccordionFocused .AccordionPanelTab {
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open when the Accordion has focus.
    .AccordionFocused .AccordionPanelOpen .AccordionPanelTab {
    /* Custom classes */
    .acontent {
              padding: 5px 10px 10px 20px;
              font-size: 10px;
    .acontent p{
              font-size: 12px;
              color: #ffffff;
    .acontent li a { color: #fffff; font-size: 12px; text-decoration: none;}
    .acontent li a:visited  { color: #0CF; }
    .acontent li a:hover    { color: #5872f4; }

  • My macbook backlight of display is not glowing,icons are hardly visible please help me what can i do.......

    my macbook backlight of display is not glowing,icons are hardly visible please help me what can i do.......

    If its under warranty, its something that the applestore will fix fairly quickly. If not, it all depends on if you are willing to spend that amount of money to get it fixed.

  • Will an Airport Express help with the signal I am not receiving on my Smart TV?

    Will the Express help with internet issue's I have with my new Smart TV?

    If you already have another Apple AirPort router that is providing your wireless signal, then a new AirPort Express could extend that wireless signal to provide a stronger wireless signal to the TV....assuming that the TV connects using wireless.
    Is this what you are asking?
    Or, would the Express provide other services to "help"?

  • WPF Data Grid Column Visibility Toggle Issue

    I have a WPF control that is used in multiple dialog forms. In one of these, I want to include a checkbox column along with two buttons that fire a method to either include all (check all the boxes) or exclude all (uncheck all the boxes.)
    I setup a Boolean variable to control this "IsExcludeVisible"
    Here is a snippet of the xaml:
    <Grid>  
    <Grid.ColumnDefinitions>
       <ColumnDefinition Width="Auto" />
       <ColumnDefinition Width="*"/>
     </Grid.ColumnDefinitions>
           <common:BaseDataGrid
      Name="grd"
      AutoGenerateColumns="False"            
      ItemsSource="{Binding ExcludeRoundingIngredientList}">
       <DataGrid.Columns>
         <DataGridTextColumn Header="Code" Binding="{Binding IngredientNumber}" />
         <DataGridTextColumn Header="Ingredient" Binding="{Binding Name}" />
               <DataGridCheckBoxColumn Header="Exclude"
    Visibility="{Binding IsExcludeVisible,
                                         Converter={StaticResource VisibilityConverter}}"
                                       Binding="{Binding MillBatchMixExclude}" />
               <DataGridComboBoxColumn Header="Rounding"
        DisplayMemberPath="Name"
                                    SelectedValuePath="RoundingId"
        SelectedValueBinding="{Binding MillBatchMixRoundingId}"
        ItemsSource="{Binding DataContext.RoundingOptions,Source={StaticResource Spy}}" />
         </DataGrid.Columns>
            </common:BaseDataGrid>
      <StackPanel ......
       <Button
        Content="Include All"
                    x:Name="btnIncludeAll"
    Visibility="{Binding IsExcludeVisible, Converter={StaticResource VisibilityConverter}}"
        csla:InvokeMethod.MethodName="IncludeAll"
        csla:InvokeMethod.TriggerEvent="Click"
        />
       <Button
        Content="Exclude All"
    Visibility="{Binding IsExcludeVisible, Converter={StaticResource VisibilityConverter}}"
        csla:InvokeMethod.MethodName="ExcludeAll"
        csla:InvokeMethod.TriggerEvent="Click"
        />
      </StackPanel>
     </Grid>...
    The button visibility toggles based on the IsExcludeVisible value as expected but the column visibility is totally unaffected.
    Am I missing something here (which obviously I am.)
    Below is my code to determine the value of the Boolean variable.
    public bool IsExcludeVisible
    get { return (SelectedReport.Name ==
    "Horizontal Batch Mix"); }
    Tom Mann MCSD C#

    I think the best way is to make a label function something
    like this (just off the top of my head, not tested):
    public function rate_label(item:Object,
    column:DataGridColumn):String
    return "GBP"+item.prdt_rate;
    Then in the DataGridColumn add a property:
    labelFunction="rate_label"

  • I just loaded Lion oxs 10.71 and now my Logic 9 software wont show up it says its not compatible also i cant find my macintosh harddrive icon that is usually shown on dektop and device browser column can anyone help me with this problem

    I just loaded Lion oxs 10.71 on my I-mac computer, and now my Logic 9 software wont show up it says its not compatible also i cant find my macintosh harddrive icon that is usually shown on dektop and device browser column can anyone help me with this problem.

    Mike,
    I had a similar issue with Photoshop when I upgraded to both Snow Leopard and Lion.  it turned out to be Rosetta is no longer present in the newer OS.  Once I upgraded to Lion, Appleworks stopped working after all these years.

Maybe you are looking for