Previous 4 months column need to be displayed based on prompt selection

Hi,
I have prompt named
JAN
FEB
DEC
and i have 12 columns from month1 to month 12(jan to dec)
when i select august from prompt i need to display 4 month previous of august
so my result should be
apr,may,jun,jul and august
if i select february then my result should be
jan and feb
basically i need to hide columns based on prompt selection
can i know how to do this

Hi
I think you have to go for Data level Security in this case.
You have to set that Session variable in the Group/User Permissions tab so that the Group members can see only those regions data only, even if they go for a
search.
Otherwise there is nothing to restrict the user in all the directions.
You have to apply that filter on all the tables in that Subject area.
Hope this will help you.
Guys, Please correct me if I am wrong
thanks
Anand

Similar Messages

  • Hiding columns in list based on prompt selection

    Hi,
    Question with me here is How to show the details only for selected Years in the prompts.
    Users have to select a range of years for which they want to see the data and based on this selection, the columns should appear. more importatnly, there are other surrounding columns which should appear always on the result screen (that restricts me to use pivot instead).
    e.g. Case 1 - User selected Year Range = 2011 to 2014 -
    Result set columns should be
    ID, CODE, DESC, VALUE_2011, VALUE_2012, VALUE_2013, VALUE_2014, Contact Person, Mail, Phone
    Case 2 - User selected Year Range = 2011 to 2016 -
    Result set columns should be
    ID, CODE, DESC, VALUE_2011, VALUE_2012, VALUE_2013, VALUE_2014, VALUE_2015, VALUE_2016, Contact Person, Mail, Phone
    Did anyone have a solution for such case?
    Thanks in advance.

    user1997473 wrote:
    Limitation I have is - I can not rearrange columns. I have to have initial few columns static, next few based on Years selected and last few static columns in same order. So I can not use pivot per my understanding. Any alternate approach?I don't understand your situation fully, but to answer your requirement, "I have to have...last few static columns in same order.," do this:
    1) Put the dimension columns you need at the end of the report in the Measures section, on the bottom.
    2) Change the Aggregation Rule to Max and the values will appear.
    So you can have dimension columns at the end of a pivot table; you just have to do a little trickery.

  • Column display based on Prompt value ( Urgent Please)

    Hi Gurus,
    I have requirement to create the prompt based on the column, if i selected perticular column heading then i have to see the data of that column otherwise not.
    Example.
    column names: call attended, call droped, call time, service
    Report columns
    Region, call attended, call droped, call time, service, Fiscal Month
    east 100 10 23 20% Jan
    west 230 5 24 30% Jan
    east 120 10 23 20% Feb
    west 200 5 24 30% Feb
    Client want to have a pivot table view and want to have the call attended, call droped, call time as values in the prompt
    example if i selected in the prompt Call attended then i should report display like this
    ______ Jan 2011 : Feb 2011
    Region
    East 100 120
    West 230 200
    I am kind a confused and i am looking on web i didnt get any info. Please help me
    Regards
    Ali

    Hi Gurus,
    I got my answer. I followed the content of the link and i am able to slove my issue. Thought to share with communite members.
    http://www.biconsultinggroup.com/obiee-tips-and-tricks/using-a-dashboard-prompt-as-a-column-selector-for-multiple-r.html
    Regards
    Ali

  • How to show the columns dynamically in OBIEE report based on the selection?

    Hi,
    I have a requirement where the columns should be dynamically shown in report based on what we select in propmt page.
    I'm creating a report in OBIEE where i want to give an option to the end user to select the columns whichever he wants to see in the report.
    For example I have the following columns in the report already:
    Customer Name,
    Customer Number,
    Bank Account,
    Address
    I want to give an option to the user to select 'Customer Mail ID' dynamically and see the column to be displyed in the report along with the existing columns.
    Through 'Column Selector' user can select a single column at a time, but if he want to select more than one column, how can we do this ?
    Please help me out in resolving this issue.
    Thanks,
    Chaithanya.

    Hi Chaithanya,
    there's not a straight solution for this. You can create different analysis containing different number of columns and then directing the user to this analysis using Action Links or you can also use View Selector to switch from one view (analysis) to the other. But it's not going to be very flexible nor dynamic.
    J.

  • How do you get different check box fields to display based upon a list box selection?

    I am a relative newbie with LifeCycle Designer ES using v.8.2.1 to create interactive forms to replace manual hardcopies.  I am working on a form that has a few pull down list boxes.  I want different check box fields to display based upon the selection of an item from one of the pull down lists.
    Any guidance on the best way to accomplish this would be greatly appreciated.

    Hi,
    Here is a sample with script in the change event of the dropdown. You may want to clear previous checkbox choices once the subform is hidden.
    It is good to group objects in a subform - that way you only need to hide the subform and not each object in turn.
    Good luck,
    Niall

  • With 'Revenue' Fact Column how can i calculate 'Previous 3 Months Revevue'

    Hi All ,
    i have a Column Called Revenue from Fact Table. i need to calculate Previous 3 Months Revevue
    How can i achive this ? please help me
    Thanks in advance

    Hi,
    Create one new logical coloumn bmm layer and
    1.Check Use existing logical columns as the source
    2.Click the Expression Builder button (three dots) to open the Expression Builder
    3.Select Functions > Time Series Functions > Ago.
    by using this u can create 3 months year ago revenue coloumn and use this coloumn in your formula
    hope this will help for you
    Naresh

  • How to display 3 month columns and YTD column

    Hello,
    I need a help. My report layout requires to display the data in 3 dynamic month columns and one Fiscal year Year-to-date column for a period of time. For example, ending month is FEB:
    Items : DEC : JAN : FEB : FY YTD
    A     : $10     : $11     : $12     : $100     
    B     : $1     : $2     : $3     : $10
    (Note: FY YTD is the total sum from OCT to FEB (5 months), not 3 months to be displayed)
    I tried to create a query and use Matrix with group, but the report always display five (5) month columns
    from OCT to FEB instead of displaying three (3) month columns. If the query is limited to display
    three months as desired, then the total sum will be 3 displayed months only (instead of 5 months).
    How to create a query or how to display three months and FY YTD or do anything else with Oracle Builder9i?
    Thanks,

    You could use the DECODE function and variables
    i.e. have a four column report
    in your query use somthing like
    , decode(period,:P_PERIOD1,1,0)* amount as period1
    , decode(period,:P_PERIOD2,1,0)* amount as period2
    , decode(period,:P_PERIOD3,1,0)* amount as period3
    , amount as ytd
    In your before report trigger poulate the variables with your required values

  • Need help in displaying Rows to Columns

    Hi,
    I am facing problem in displaying Rows to Columns
    I am using pivot function:
    select *
    from
    (select vendor_name
    from tablea)
    pivot
    (count(vendor_name)
    for vendor_name in ('a,b,'c'));
    its working fine showing vendor_name and count
    but when i want to display the output as:(How to include the Salalry column in the query?)
    Name:{a b c}
    Sal Total:(400,600,800}
    Any help will be needful for me

    Not sure what you mean:
    select  *
      from  (select deptno,sal from emp)
      pivot(sum(sal) for deptno in (10,20,30))
            10         20         30
          8750      10875       9400
    SQL> SY.

  • Need to Display columns depending on the prompt selection

    I  need to show the only the columns as per the prompt selection given by the user.
    Suppose there are 5 prompts say (first name, last name, phone number, address, DOJ). All the prompts should be optional. If the user gave input for first name and last name then only this two columns must be displayed in the report.

    Yes it is possible but you will have to write down formulas for these columns.
    First add all required object in your report and format them in your report.
    Now say you want Last name to appear when you user enters last name in prompt.
    Write down following formula
    Report Detail Area
    =If(UserResponse("Last Name"))="USER INPUT" Then [LNAME]
    For column Heading you can use
    =If(UserResponse("Last Name"))="USER INPUT" Then "Column Heading"
    The same pattern may be applied for other columns.
    Regards,
    Bashir Awan

  • Previous Quarter / Month Issue

    Hi
    We have a requirement in which we need to display the previous quarter calculations.
    We have two prompts Year and Quarter , and we have Objects like Month , Current Month Count(count of profile_id), Previous Month Count(count of proifle id).
    Now suppose user selects Year = 2007 and Quarter = Q1 , then the output should look like:
    Month Current Month Count Previous Month Count
    Jan                       150                   ? 
    Feb                       250                  150
    March                    350                   250
    The value for Jan ( Previous Month Count) is not coming properly.
    As when we enter year = 2007 andquarter = Q1 , the data of December 2006 should come in the previous month count of Jan.
    Can anyone suggest me how to solve the problem?

    Hi
    The below given is the prompt query :
    @Select(Time\Year) = @PROMPT('1. Enter Year','N','Time\Year',mono,free) OR
    @Select(Time\Year) = (@PROMPT('1. Enter Year','N','Time\Year',mono,free)-1).
    The output is :
    Month--Current--
    Previous
    1--3688--
    Null
    2--4000--
    3688
    3--5000--
    4000
    For Previoous(variable) , Previous(Current) query is used.
    But for the month=1 , it is not displaying the previous value as the user Enters Year = 2006 and Quarter = Q1 , but for January both the values changes means the data of Dec-2005 should be displayed in the previous column.

  • How to configure 3 different members under a single Month column

    Hi SAP Gurus,
      My client requirement is to show the report in following format, where under a Month column 3 different columns having
    1) Quantity (Number of unit ) of a product,
    2) its rate (Amount per unit), and
    3) Total (amount)    will appear in a single report.
       I have Month as a Time Dim, while Qty, Rate and Total are members of account dim.
    Que: How to configure such scenario in a single report?
    Jan.2011
    Product Category:            Qty (Input)   Rate (Input)   Total (Output)                    
    Product 1                                               
    Product 2                                             
    Product 3                                             
    Product 4                                             
    Group1                                             
         Where: Total = Qty X Rate                                        
    Thanks and Regards,
    SouarbhD

    Hi,
    Use an EVDRE to create your input schedule. You need to have one row with products and 2 columns with time and account. Choose the memberset options as per the requirement. For the accounts, is total calculated with a dimension formula? If yes, then you just need to enter the values for quantity and rate and send the data. The total will be calculated by the system and will be displayed automatically.
    Hope this helps.

  • I see people from different ages at my work and every month I need to count how many people from each age I've seen that month. How can I do to give the entries to numbers in a single cell and make numbers count them for me?

    I see people from different ages at my work and every month I need to count how many people from each age I've seen that month. How can I do to give the entries to numbers in a single cell and make numbers count them for me? The final result would be a spreadsheet telling there were 8 people from 20 to 39 years old, 14 peolple from 40 to 59 and so on...

    jpqcampos wrote:
    This appears to be an 'input form' using 'Radio Buttons' to select the category. Neither of these features are supported in Numbers '09.
    You can input the data on one table and summarize it on a second table, but the input table will continue to hold data for each event.
    And by using the Reorganize button, you can hide all but two rows of that table to approximate the appearance and performance of an input form.
    Here are the two tables, Data on the left and Summary on the right. Notes below.
    The grey-filled columns in both tables are 'working' columns, and may be hidden (as shown in the image below).
    Data table:
    D1 contains the word "TRUE" (in capital letters). (This row is always shown.)
    D2 is empty, or may contain any value except "TRUE" (This row is always hidden under the Reorganize rule.)The rest of Row 2 of this table requires the data shown: a number outside the range to be counted (999), and two checkboxes, both checked.
    D3 (and filled down the rest of column D):   =AND(OR(B2,C2),NOT(OR(B3,C3)))
    The formula returns TRUE only for the first unused row in the table (ie. the first row for which neither checkbox has been checked)
    Summary table:
    Column A contains labels for the age ranges to be counted.
    Column B contains the same information in the form necessary for the formulas in columns C and D. They need a numeric value, and that value must be the largest acceptable value in the range to be counted.
    C2 (and filled right to column D, then both filled down to row 5):
        =COUNTIFS(Data :: $A,"<="&$B,Data :: B,TRUE)-SUM(C$1:C1)
    Two changes from the previous example:
    COUNTIFS is used to separate the Native and Foreign counts as well as the age range to be counted.
    The amount subtracted from each result is the SUM of the earlier results, and includes the text value in the first cell of the column (which is interpreted by SUM as a zero).
    See note below regarding my earlier formula.
    When the greyed columns are hidden and the checkbox in the Reorganize pane is checked, the two tables will appear as shown below:
    Close the reorganize pane, and the 'data entry form' is ready to use.
    To use, enter the age first, then check one of the boxes.
    As soon as one box is checked, the row will be hidden, and the next (unused) row will be shown.
    Regards,
    Barry
    Note regarding formula in my earlier post:
    The earlier formula will give erroneous results as it subtracts only the count directly above it from its count of persons in the age range 0-n.
    In E2 of that table, replace "-E1" with "-SUM(E1:E$1)
    Fill down to E8.
    Ignore the instructions (in that post) following "Fill down to E8."
    B

  • Previous month end based on prompted values

    Hello All,
    I need to create a SR report that shows:
    Received in current month: count of Service requests recorded in current month selected. For instance if date prompt selection was March 2010 then count of SR recorded from Mar 1- 31,2010
    Open Service Requests at month end Count of SRs where "Date Completion entered in system" is null as last day of month selected(eg March 31)
    Carry over from Previous month: same as Open Service Request as month end less one month.( eg Feb 28)
    I currently have a prompt which lets the end user choose the Month and Year they want to run the report for. I am getting the right values in my first two columns but my carry over is giving me problems. Any idea how I can write a formula for 'Carry over from Previous month'??
    Any help is appreciated!
    Sonia

    Hi Max,
    The carry over is causing problems. However, the formula for the month end chosen is
    SUM(CASE WHEN CAST ("Service Request"."Closed Date and Time" AS DATE) IS NULL OR CAST ("Service Request"."Closed Date and Time" AS DATE) > TIMESTAMPADD (SQL_TSI_MONTH, 1, (TIMESTAMPADD (SQL_TSI_DAY, - (DAYOFMONTH(CAST ("- Service Request Custom Attributes".INDEXED_DATE_0 AS DATE))), CAST ("- Service Request Custom Attributes".INDEXED_DATE_0 AS DATE))))THEN 1 ELSE 0 END)
    But when I use this formula for previous month (-1).. It does not work. It gives me zero.
    Thanks!
    Sonia

  • Mdx expression to get previous period month

    My dimension table has a column for current period month, where every row has the same value, updated at the end of the month. I am using the following expression to get current period month.  "Jan - 2009" is randomly chosen, as every
    cell on that column will have the same value.
    [Time].[Time].[Month].[Jan - 2009].Properties( "Current Period" )
    Result of the above expression is "Feb - 2015".
    Current period month will always be previous month of the current year. example: During Jan - 2015, current period month is Dec - 2014.
    I need to use this expression or any function to get the previous month. For example if the  current period month is Feb - 2015, then the previous period month should give me Jan - 2015.
    How can I accomplish that?

    Hi 
    I have a similar situation but not with date dimesion we have sales seasons in retails domain.
    please check how I am handling this
    select (LinkMember ([ProductSeason].[Current Season].firstChild,
    [ProductSeason].[Season Name])).prevmember
    on columns,
    [Measures].[Total pcs]
    on rows
    from [NewCube]
    fsdfasdf
    Here I have column currect season which get update at the start of each season with currect season
    name. then I am receiving the season name member from product season dimension and fetching the previous member for that.
    Hope this will help.
    Regards,
    Rahul
    lntinfotech

  • FM to get previous fiscal month/year and calendar month/year for a date.

    Hi All,
    I am having a requirement to extract some data based on either the previous fiscal month/year or the previous calendar month/year. There is no company code input to find the fiscal/calendar month/year.
    At selection screen, user can select either fiscal or calendar selection.
    Based on the selection, the data will be extracted.
    For the system date, we need to calculate previous fiscal month/year or previous calendar month/year and populate the calculated data back to the selection-screen.
    Can you one of you please suggest an FM to find previous fiscal month/year and previous calendar month/year.
    Thanks in Advance,
    Regards
    Gowthami

    Hi Gowthami,
    You can use following function module to calculate previous / next day or month or year.
       call function '/SAPHT/DRM_CALC_DATE'
          exporting
            date      = sy-datum
            days      =
            months    =
            sign      = '-'
            years     =
          importing
            calc_date = .
    Here, you can give '-' to sign, if you want previous day / month / year.
    Here, you can give '+' to sign, if you want next day / month / year.
    And depending upon your requirement, you can pass suitable value to days / month / year.
    e.g. To calcualte last month,
       call function '/SAPHT/DRM_CALC_DATE'
          exporting
            date      = sy-datum
            days      =
            months    = 1
            sign      = '-'
            years     =
          importing
            calc_date = wv_prev_month.
    so it will give '23-01-2008' . Then convert it in the required format as per your requirement using string function concatenate.
    Hope this help you.
    Regards,
    Anil

Maybe you are looking for

  • How to view the image as cylindrical view in panorama image viewer?

    i am facing the problem to view the image as cylindrical view. i.e, the image moved at the end position ,the image seems to jump to the start. instead of this the image should view as cylindrical view. i.e, that the end of the image sticks to the beg

  • Preview pdf annoying issue

    I have to work with a lot of pdf's, and I prefer the use of preview (it's quick and simple). But a lot of pdf's that have boldface font don't show up right in preview. In Reader, they show up as bold. In Preview, the font style of the word changes (l

  • Hide the Settings button in POWL

    Hi, I am working on powl application. When we run Standard powl application there are two buttons "filter" and "settings" at the right top of table. How  to hide/remove Settings button ? Any inputs. ? Edited by: pankaj aggarwal on Oct 8, 2009 4:07 PM

  • Project Billing-only / standalone implementation

    Does anyone have the experience of implementing Project Billing as a standalone module - ie without using functionalities of Project Costing? I understand that we would still need to do the project fundation setups, but we don't plan to use any featu

  • How to host 'audio' download files ...

    Hello,   I'm trying to  host a  'audio'  download files @ my website , what is the best way to do that ? Thank you R