Data Selection for report based upon a 'Prompt Value'

I want to report information in my report based upon a 'user input prompt value'
for example:
'Enter Shareholder Selection - A-Active, I-Inactive, B-Both Active and Inactive'
if the user enters 'A', the report selects only active shareholders
if the user enters 'I', the report selects only inactive shareholders
if the user enters 'B' the report selects all shareholders, active and inactive
the field in the database that this based upon is their total share value.
if this field is greater than zero (>0) they are considerd 'active'
if this field is equal to zero (=0) they are considered 'inactive'.
I have tried creating some type of filter,  but am not having any luck. 
I saw a few examples within the forums that I have tried without any luck....unfortunately most of the examples I've seen are base one only two choices.
I'm sure I need to create some type of 'independant varible' but am not sure how to do that either.
Any suggestions would be appreciated.
Thanks.

Hi Daryl,
I Tried this unsuccessfully in DESKI . We can't Eliminate Rows having Empty Measure Values or Measure with 0 as values using Table Level Filter as FIlter can't FIlter rows based on Prompt value selection dynamically. Filters filter rows at a time and not based on 3 condition as Active, Inactive and Both. thus filters are of no use.
I Tried this in WEBI, and it is working perfectly you donu2019t have to create any Object in Universe, you can do it using function UserResponse() at report level.
Hence if you are comfortable using WEBI for Generating this report then Follow the steps.
1. Create Report With Name and Shares Object. It will display all Shareholder Names and No.of shares they hold.
2. Use Status Object in Query filter, use condition as u201CEqual Tou201D and Select prompt. It  contains Active, Inactive and Both as values.
3. Report will Display all Shareholder names and No. of  shares  like 45, 789, 0, 4562 where 0 is inactive Shareholder and all other are active shareholder.
4. Create Variable using Formula.
=If(UserResponse("Enter Status:")="Active" And [Shares]>0;[Shares];If(UserResponse("Enter Status:")="Inactive" And [Shares]<=0;[Shares];If(UserResponse("Enter Status:")="Both";[Shares])))
5. Remove Shares Object from the report and Put Variable created with Names of Shareholders.
6. Select Table-> Properties-> Display-> Uncheck the Option u201CShow Rows with Empty Measure Valuesu201D
7. Report will display Value correctly as per your Prompt value selection.
I Hope this Helpsu2026
Thanksu2026
Pratik

Similar Messages

  • Data source for report

    Hi guys.
    Can somebody let me know how to set data source for report?
    I did import "import.zip" and "bootstrp.zip".
    I did run "HFPBMMAK.PRO".
    I did create model connection of "HFPBM"
    Best Regards,
    Chul.

    Chul,
    You only have to import either import.zip OR the bootstrap.zip, not both.
    I don't know if you have SSM 7.5 or SSM 10, this will be for 7.5
    If you have followed the set-up correctly, you should be able to open the demolauncher -
    http://localhost:50000/strategy/pilotworks/demolauncher.htm
    Where localhost = server 50000 = port
    You should open the Administrator interface of your demo and Set Scorecard Defaults. For a context make sure that the PAS Model Connection is set for the model connection you set - HFPBM.
    You also need to make sure that Manage Application Groups have your user added for the context you selected.
    (For 10 the application groups are managed in NetWeaver)
    Regards,
    Bob

  • Need a single point of view on date selections for Delta and Full load IP's

    Hi Experts,
    Every year we are facing issues on date selections for data extraction, for example the Delta or Full selections for particular IP is like 2005 to 2008 , in this situation, for the year 2009, this IP is picking 0 records as the selections are upto 2008 only.
    My requirement is, I need to check the selections of all the IP's in the system and want to change on need base if the selections are getting expired instead of going and checking manually to each and every IP as the system is having around 3000 IP's, which is a tedious job.
    Guys, please let us know if there exits a Table/Program or any other way to check it.
    Inputs appreciated.
    Regards
    Nandu

    Hi
    Persistent through module RSSM_SHIP_PSEUDO_DVERSION_WRI
    Primary table RSLDPIOSH
    RSLDPIO Links datasource to infopackages
    RSLDPIOT InfoPackage Text Description
    RSLDPRULE ABAP source code for InfoPackages
    RSLDPSEL Hardcoded selections in InfoPackages
    RSMONICDP Contains the request-id number by data target
    RSPAKPOS List of InfoPackage Groups / InfoPackages
    http://help.sap.com/saphelp_nw70/helpdata/en/2e/20d704d45be7458582cdfcc5487090/frameset.htm
    Hope it helps

  • How to make cube data avilable for reporting

    Hello,
    I have loaded data in to info cube from flat file, and created a query using BEx Analyzer. that query does not return results and gives an error msg "No Applicable Data Found".
    Padmanabha Rao had a same problem. In his thread, expert is recommending to check whether the data is available for Reporting by Rt clicking Infocube -> Manage -> Requests tab. Ideally, you'll be able see an indicator(Query icon) if it's available for reporting.
    My cube data is not available for reporting, how can I make it available for reporting?
    Regards,
    Tejas.

    Normally when the data gets loaded to cube, it will be available for reporting unlike DSO where you need to activate the data to make it available for reporting. There could be many reasons why the data is not available for reporting;
    1. May be there is aggregrates created on the cube and the data never been rolled up to the aggregates. If you see a summation sign next to the cube then there is aggregates created on the cube and you need to fill the aggregates first before you can have the data available for reporting in the cube. To do that, manage ->rollup and start, that will fill the aggregates.
    2. If there is any request in the cube which is still red, then any request after that won't be available for reporting until you either delete the red request.
    If the problem still persist, then I would just delete all the data from the cube and reload the data again.
    thanks.
    Wond

  • No data selected for printing  message no 8I000

    Dear All
    At the  time of printing J1INCHLN certificate getting error NO DATA SELECTED FOR PRINTING MESSAGE NO 8I000 , where we have data in vendor's A/C and TDS is deducted at vendor's A/C .
    Some vendor under the same section allow us to print the certificate, but the in case of few vendors we r
    facing the problem.
    As we need to send the same to vendors help is needed.
    VG.

    we sorted out the issue

  • No data selected for printing in production server t.code J1INCERT

    Dear Gurusl,
    I am facing a issue to tds certificate printout through t.code J1INCERT in production server. My client has booked the invoice in the month of march 2011 & remittance, bank updation is done in the month of 30th Apr. 2011. But while taking the printing out it the error No data selected for printing 8000I. So I need some permanent solution.
    For invoice booking fiscal year is 2010 & remittance, bank updation it is 2011.
    Regards
    Sachin Patil

    Dear:
               Check whether you have selected the relevant tax types for invoice posting while posting the vendor invoice. If its correct then Vendor Master data, Section/Business Place code Address data. Check tables in SE11
    J_1IEWT_CERT_N
    J_1IEWTCALID_N
    J_1IEWTNUMGR_N
    In these tables section codes might have been maintained directly. Please check these for any discrepancies.
    Regards

  • Message No: 8I000 - No data selected for printing

    Dear All,
    I need inputs for resolving this.....please help me out...
    Issue Description:
       When i am doing J1INCERT, for one company code it is working properly...but for one specific company code it is giving the error that No data selected for priting (message no 8I000) that to specifically in one client only....where for the same company code in another client it is working.
    I've checked all the settings, and tables which are client specific, and finally i didnt succeded in finding the route cause of the error.
    Can someone have any idea why this error is coming.....and can give some insight abt this to resolve.
    Thanks
    Raja

    we sorted out the issue

  • Show or Hide fields based upon a variable value

    Hi,
    I am a rookie in the field of Acrobat. And my only question is :
    How to Circle a Form Field based upon a variable value .
    For example, If x=1, I want to circle Japan and if x=0, I want to leave it without any change.
    Please help me out. Thanks for your time and help.
    Thanks,
    Vijayvijay77.

    Hi George,
    I am pre-populating a Pdf file based upon the data submitted by the user. And I have to circle options selected in the form.
    I am writing coldfusion code to flatten, populate the form into a PDF form. The end result is the PDF generation with all the data in it.
    The data comes from the database, where I set variable values if any is selected or not.
    Thanks for your reply, I really appreciate your help.
    Vijayvijay77.

  • Selecting a column in Answers report based on user prompt/ apply filter

    I need to do the following in OBIEE Answers report (version 10.1.3.4.1):
    1) Think of a simple table with dim TX_type and some measures like month_jan, month_feb, month_mar
    so the fact table looks like (column names) tx_type, month_jan, month_feb, month_mar
    2) I need to select the measure column based on a user dashboard prompt, prompt populates a presentation variable var_month = jan or feb or mar
    3) I need to select the correct measure (one of these month_jan, month_feb, month_mar) and then apply column filter based on the dim TX_type to split the values of these into multiple columns for report. So the report may look like (in Answers)
    Sales , Tax, overheads
    where Sales may be defined as sum(month_jan) where rows have TX_type = 'sales'
    where Tax may be defined as sum(month_feb) where rows have TX_type = 'tax'
    where overheads may be defined as sum(month_mar) where rows have TX_type = 'overheads'
    IF the user selects jan
    IF user selects Feb then the 3 report columns are based on month_feb and likewise for month_mar
    I cannot use column selector option as the report column further apply filter in column filter definitions in Answers...
    4) When I try to build the column filter using a presentation variable (var_month), the presentation variable is not getting populated in the column filter.
    For e.g. IF var_month = 'jan'
    THEN month_jan (let us assume the logical column name is month_jan too)
    ELSE month_feb and so on...
    However, the var_month always shows 0 in the IF clause. If we used a repository variable instead, it works fine. But since repostory variable cannot be changed on the fly (by user prompt) it is not usable.
    We cannot change fact table defintion....and we have 12 measures column and about 8-10 different colum filter based report columns using this measure.

    Hi shyamvaran,
    have you thought about a SQL statement in the prompt, something like:
    SELECT
    case when 1=0 then Table."Column" else 'Jan' end
    FROM "Subject Area"
    union
    SELECT
    case when 1=0 then Table."Column" else 'Feb' end
    FROM "Subject Area"
    union
    SELECT
    case when 1=0 then Table."Column" else 'Mar' end
    FROM "Subject Area"
    union
    SELECT
    case when 1=0 then Table."Column" else 'Apr' end
    FROM "Subject Area"
    etc...
    Use this to give you the 12 values for your months then give the prompt column a presentation variable name and set a default value in the 'Default To'. Also set the same default value for the filter.
    A couple of points:
    1. If you're transforming the presentation variable from 'Jan' to 'month_jan' you may need to edit the syntax for the filter column (not using the dialog box).
    2. If you're transforming the behaviour of a dimension / measure column in the report, have you specified the syntax correctly, e.g. sum('@{pres_var}')?
    Hope this helps,
    Justin

  • Report based upon material type against movement type for a period ?

    i need a inventory report which should be based upon materil type & movement type for a particular period.
    For example- for last monthe how much Raw material has been issued againast production order. i would like report to allow me  ROH and movement type 261/262 and period entry. MB5B does not satisfy my requirements, ist of all there si no material type/secondly it restricts itself if i use movement types
    thanks
    sam

    Hi,
    You can create a small program to get report.
    Input fields Date of posting BUDAT, Movement type BWART (Plant if required).
    Check field BUDAT (Posting Date. Should check based on input date field.) In table MKPF.
    If data falls in required date range. Pick MBLNR-MKPF (Mat doc number).
    Go to table MSEG compare MBLNR-MKPF and MBLNR-MSEG if same pick field MATNR-MSEG (Mat number).
    Go to MARA check MTART-MARA for picked MATNR-MARA (in previous step). Take the material type.
    Add the below fields to out put
    MATNR, MTART, BWART-MSEG (Movt type), ERFMG-MSEG (quantity posted), WERKS-MSEG (Plant received), LOGRT-MSEG (S. Loc received).
    Please take advise from ABAPer regarding prog logic
    Thank you,
    Anand K

  • Dynamic query table for report based on LOV selected

    Hi,
    Need some suggestion and guidance how to dynamically query table via lov for report .
    Scenario:
    Table, TABLE_LIST, has tablename (table in DB) and filter (for where clause) column. The TABLENAME_LOVE is derived from table TABLE_LIST.
    SELECT TABLENAME D, TABLENAME R FROM TABLE_LIST
    In Page 2,a page select list item,P2_TABLENAME to use TABLENAME_LOV
    All data in tables in the table_list have identical structure (columns, triggers, primary key, and so on).
    I want to have the report region query from the table based on selected LOV.
    Example,
    Tablename Filter
    TB1
    CD2 ACTIVE='Y'
    When select TB1, the report regin will query based on TB1.
    When select CD2, the report regin will query based on CD2 WHERE ACTIVE='Y'
    Question:
    How can I query based on &P2_TABLENAME. WHERE &P2_FILTER.
    Like
    select col1, col2 from &P2_TABLENAME WHERE &P2FILTER
    Greatly appreciate any suggestion and some guidance.
    Tigerwapa

    Hi,
    You should always post your Apex version, DB version and other information as suggested in the FAQ.
    And the moment you talk report you should state whether it is IR or Classic.
    As for your query, have you explored the Report type "SQL Query (PL/SQL function body returning SQL query)" ?
    That might be a good fit for what you are trying to achieve.
    Regards,

  • How do you set up a default Date To based on Date From for report parameter

    I'm working on a report. I have been asked to set up a default Date To based on Date From for the report parameters. I mean when running a report, if an end user selects a value for parameter Date From, system will automatically populate the Date To parameter based on the Date From + 6 days.
    I guess there's gotta be something to do with Value Set. Do any of you guys know how to go about this?
    Any suggestion is greatly appreciated.
    Dennis

    You should be able to retrieve the value of other valueset using :$FLEX$.<valuesetname> I'm not sure about the exact syntax, it's been a while since i worked with applications.

  • Creating a performance report based upon a custom group

    I am trying to create a simple performance report based on a SCOM group that I created, however when I run the report the relevant data cannot be found.  When I look at the group membership I see a list of Windows servers.  I then go into a generic
    performance report, add a single chart, and line series, and select "Add group" and then search and select the SCOM group I created.  I then add % processor time for 2008 systems as my rule.  However when the report is run, no relevant
    data is found. Performance reports run fine when  selecting "Add group" and selecting the members of the group themselves.
    My suspicion is that it is trying to run the performance report based on the group object and not the members of the group. Is there anyway that I can accomplish this?  Perhaps via XML?
    Keith

    Hi,
    For your reference:
    Creating Useful Custom Reports in OpsMgr: How to create a custom performance counter report for a group of servers
    http://www.systemcentercentral.com/creating-useful-custom-reports-in-opsmgr-how-to-create-a-custom-performance-counter-report-for-a-group-of-servers/
    SCOM reports on performance counters for large groups of servers
    http://www.bictt.com/blogs/bictt.php/2010/11/28/scom-reports-on-performance-counters-for-large-groups-of-servers
    Regards,
    Yan Li
    Regards, Yan Li

  • Dynamic sql query for report based on user input

    Hi everyone,
    I have built custom search fields (name, date born, gender etc.) in the search region and in the results region a report need to be displayed.
    Now I'm not very experienced with Apex or Oracle sql, but could anyone telll me how to first check if a user filled in a field and then build a query based upon what field the user filled in to submit.
    Any help would be appreciated, thanks in advance.
    regards,
    Cleo
    Edited by: Cleopatra on Jan 18, 2011 5:51 AM

    Hi, Cleopatra. Welcome to OTN!
    If you don't have too many fields instead of checking to see if they're filled in you can use OR conditions in yoru WHERE_CLAUSE to check for NULLS to ignore NULLS, something like (you will have to test this carefully!)
    AND some_column = NVL(:P24_1,some_column)the idea being that if the field is NULL then the column will match itself - in this case assuming the column itself does not have a null value

  • No data found for Report

    Hi, I am new to Apex so please be clear with your answers.  We use a report based on a view when I access the report in the application I receive "no  data found" error.  If test the query in SQL commands it works fine.  If I check the view in object browser I see data.  I am perplexed as to why I receive a no data found error on the front end.  Any suggestions will be greatly appreciated.  Thank you in advance.
    Apex Version:   4.1.0.00.32
    Newbie tryin to learn(Texas twang)

    Thank you for your quick response!  Sometimes as a tech we look for the hard answer vs the easy one.   One of the binding variables(P0:PLANS) was misspelled after correcting the issue we were able to see the report.

Maybe you are looking for