Variable Report

Hi Experts,
My customer wants to use a Frequency variable in Query designer.When the query is run, the variable would be populated with 3 values i.e Year to Date(YTD),MTD,QTD.
Depending on the selection of the variable value, customer exit variable  program would run to calculate the correct posting periods.We also want aText representation of the variable value to display in the Report Designer.
Please let me know how to create a Frequency Variable values.Is there anyway to do this(Populate a variable with values),without building a characteristic.
Thanks,
Suryam.

Solution found!
How to show data field in header section?

Similar Messages

  • Possibly dumb new user question: What does it take to get variables to show up in the variables reporting tab?

    I've been a LabVIEW user (2011) for about 1.5 years now and just got ahold of TestStand 2014 to try out as a structure for our future test needs.
    I've been using it on and off for about 3 days and there's something that's been driving me nuts.  When I run a sequence and the report comes up at the end, there's three tabs on it:  Report, Steps, and Variables.  Report and Steps are exactly what I expect to see.   However, the Variables tab is always blank.  Nothing I have found via my technique of checking everything in the menus that looks vaguely related and right-clicking things on many objects and checking those menus for other vaguely related things as well.
    I tried searching for references to it, and everything I get relates to the "Main" variables tab that you see when editing the sequence, not the one that comes up on the report.  
    See the arrow in the picture below:
    I suspect there's something incredibly obvious that I am missing but it's driving me nuts here...
    Solved!
    Go to Solution.

    You won't see that populated when an execution is complete. The variables are worthless at that point.
    If you want to see that tab populated pause the execution in the middle.  Or set a breakpoint.  Then you can look at the variables at run time.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Maintain Variables, Report Painter

    I have questions about Report Painter,
    1) How can I delete a global variable that has been included in a form ?

    Nagaraju,
      I am unable to get your question!
      Could you please post ur code and question???
      With my understanding:
      For all the variables present in the global section, commenting with double quotation(") or * with do.
    Example:
        Data:
    <b> "       waMar    type mara-matnr,
          waMatkl  type mara-matkl,</b>
            watest(25).
    Thank
    Kam

  • Variable Report Filter (Current Year)

    Dear Gurus,
    I need a report which always will work with current year measure. (Without asking to user in selection screen) The system should automatically assign the current year. I created an object in universe. In definition tab, in the select statement I wrote   to_char(sysdate,'yyyy') . But, in report and while the system gives an error message like "Parse failed. Exception: DBD, The supplied XML is not valid. to_char(sysdate, 'yyyy')State: N/A".  I think the formula is wrong but I wrote it by referencing OSS note 1381486. Are there any suggestion? Thank you.

    Hi,
    This should have been posted in the designer section, but...
    I think I know why you are having problems getting a right answer, the parse failed message says:
    The supplied XML is not valid.
    Which leads me to believe you are using an OLAP universe (on top of BW may be?), all the solutions given here are for SQL access.
    Unfortunately, there is no string handling possible in an OLAP universe on top of BW, you would have to resort to solving this in the underlying BEx query for this universe.
    You can think along the lines of using a BEx variable that is input ready, takes multiple values, is mandatory and has a default value filled with by a user exit (which makes it default to current year).
    You can show the prompt message of the BEx variable for when the user wants to select different year(s).
    Not showing the prompt and leaving it empty will trigger the default.
    Good luck,
    Marianne

  • Variable Report Headings

    Can HTMLDB reports do variable width column headings(like in Excel), so users can increase/decrease the width of a column whenever they want?

    Hi Mayil ,
    Assuming all your headers, text etc.. are coming from the master data...
    1) Check all your Master data Characteristics and make sure you checked teh flag:
                  "Text is Language Dependent".
        Since it is an existing data and reports......if you need to make a change to this flag
        could take some time/resources to change/test/implement.
    2) Create master data texts in French.....and load them into Master data tables.
    3) Talk to the Basis team in implementing the Local language settings for the Country/Users.
    Good luck, BB

  • Range of Object Worksheet Failed error when creating variable report

    I have BO Planning version 11.6 and am running it in conjunction with Excel 2007. Every time I try to use the Report Wizard I can create a report the first time with no problems. However, when I exit out of that report and then try to create a new report using the Report Wizard I receive the following error "The following error has occurred: Error No. 1004, Method 'Range' of obejct'_Worksheet' failed". Then a report pops up with no data in it. The error keeps occuring when I try to create new reports until I exit out of Business Objects and open it up again. Then I can create 1 report with no problems.

    Please post this query to the Other Business Objects Products forum:
    SAP BusinessObjects BI Legacy Products
    That forum is monitored by qualified technicians and you will get a faster response there.
    Thank you for your understanding,
    Ludek

  • ECC variables reporting

    Hi All,
    i would like to know if ICM logs ECC particularly or call variables in general.
    Thanks in advance,

    There are these Termination_Call_Variable and Termination_Call_Detail tables where you can find them per call.
    These tables are huge so be extra careful when you are running queries against them in Prod.

  • SLOW report performance with bind variable

    Environment: 11.1.0.7.2, Apex 4.01.
    I've got a simplified report page where the report runs slowly compared to running the same query in sqldeveloper. The report region is based on a pl/sql function returning a query. If I use a bind variable in the query inside apex it takes 13 seconds to run, and if I hard code a string it takes only a few hundredths of a second. The query returns one row from a table which has 1.6 million rows. Statistics are up-to-date and the columns in the joins and where clause are indexed.
    I've run traces using p_trace=YES from Apex for both the bind variable and hard coded strings. They are below.
    The sqldeveloper explain plan is identical to the bind variable plan from the trace, yet the query runs in 0.0x seconds in sqldeveloper.
    What is it about bind variable syntax in Apex that is causing the bad execution plan? Apex Bug? 11g bug? Ideas?
    tkprof output from Apex trace with bind variable is below...
    select p.master_id link, p.first_name||' '||p.middle_name||' '||p.last_name||' '||p.suffix personname,
    p.gender||' '||p.date_of_birth g_dob, p.master_id||'*****'||substr(p.ssn,-4) ssn, p.status status
    from persons p
    where
       p.person_id in (select ps.person_id from person_systems ps where ps.source_key  like  LTRIM(RTRIM(:P71_SEARCH_SOURCE1)))
    order by 1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.01          0          1         27           0
    Fetch        2     13.15      13.22      67694      72865          0           1
    total        4     13.15      13.23      67694      72866         27           1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 62  (ODPS_PRIVACYVAULT)   (recursive depth: 1)
    Rows     Row Source Operation
          1  SORT ORDER BY (cr=72869 pr=67694 pw=0 time=0 us cost=29615 size=14255040 card=178188)
          1   FILTER  (cr=72869 pr=67694 pw=0 time=0 us)
          1    HASH JOIN RIGHT SEMI (cr=72865 pr=67694 pw=0 time=0 us cost=26308 size=14255040 card=178188)
          1     INDEX FAST FULL SCAN IDX$$_0A300001 (cr=18545 pr=13379 pw=0 time=0 us cost=4993 size=2937776 card=183611)(object id 68485)
    1696485     TABLE ACCESS FULL PERSONS (cr=54320 pr=54315 pw=0 time=21965 us cost=14958 size=108575040 card=1696485)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
          1   SORT (ORDER BY)
          1    FILTER
          1     HASH JOIN (RIGHT SEMI)
          1      INDEX   MODE: ANALYZED (FAST FULL SCAN) OF
                     'IDX$$_0A300001' (INDEX)
    1696485      TABLE ACCESS   MODE: ANALYZED (FULL) OF 'PERSONS' (TABLE)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file scattered read                       1276        0.00          0.16
      db file sequential read                       812        0.00          0.02
      direct path read                             1552        0.00          0.61
    ********************************************************************************Here's the tkprof output with a hard coded string:
    select p.master_id link, p.first_name||' '||p.middle_name||' '||p.last_name||' '||p.suffix personname,
    p.gender||' '||p.date_of_birth g_dob, p.master_id||'*****'||substr(p.ssn,-4) ssn, p.status status
    from persons p
    where
       p.person_id in (select ps.person_id from person_systems ps where ps.source_key  like  LTRIM(RTRIM('0b')))
    order by 1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.02       0.04          0          0          0           0
    Execute      1      0.00       0.00          0          0         13           0
    Fetch        2      0.00       0.00          0          8          0           1
    total        4      0.02       0.04          0          8         13           1
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 62  (ODPS_PRIVACYVAULT)   (recursive depth: 1)
    Rows     Row Source Operation
          1  SORT ORDER BY (cr=10 pr=0 pw=0 time=0 us cost=9 size=80 card=1)
          1   FILTER  (cr=10 pr=0 pw=0 time=0 us)
          1    NESTED LOOPS  (cr=8 pr=0 pw=0 time=0 us)
          1     NESTED LOOPS  (cr=7 pr=0 pw=0 time=0 us cost=8 size=80 card=1)
          1      SORT UNIQUE (cr=4 pr=0 pw=0 time=0 us cost=5 size=16 card=1)
          1       TABLE ACCESS BY INDEX ROWID PERSON_SYSTEMS (cr=4 pr=0 pw=0 time=0 us cost=5 size=16 card=1)
          1        INDEX RANGE SCAN IDX_PERSON_SYSTEMS_SOURCE_KEY (cr=3 pr=0 pw=0 time=0 us cost=3 size=0 card=1)(object id 68561)
          1      INDEX UNIQUE SCAN PK_PERSONS (cr=3 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 68506)
          1     TABLE ACCESS BY INDEX ROWID PERSONS (cr=1 pr=0 pw=0 time=0 us cost=2 size=64 card=1)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
          1   SORT (ORDER BY)
          1    FILTER
          1     NESTED LOOPS
          1      NESTED LOOPS
          1       SORT (UNIQUE)
          1        TABLE ACCESS   MODE: ANALYZED (BY INDEX ROWID) OF
                       'PERSON_SYSTEMS' (TABLE)
          1         INDEX   MODE: ANALYZED (RANGE SCAN) OF
                        'IDX_PERSON_SYSTEMS_SOURCE_KEY' (INDEX)
          1       INDEX   MODE: ANALYZED (UNIQUE SCAN) OF 'PK_PERSONS'
                      (INDEX (UNIQUE))
          1      TABLE ACCESS   MODE: ANALYZED (BY INDEX ROWID) OF
                     'PERSONS' (TABLE)

    Patrick, interesting insight. Thank you.
    The optimizer must be peeking at my bind variables with it's eyes closed. I'm the only one testing and I've never passed %anything as a bind value. :)
    Here's what I've learned since my last post:
    I don't think that sqldeveloper is actually using the explain plan it says it is. When I run explain plan in sqldeveloper (with a bind variable) it shows me the exact same plan as Apex with a bind variable. However, when I run autotrace in sqldeveloper, it takes a path that matches the hard coded values, and returns results in half a second. That autotrace run is consistent with actually running the query outside of autotrace. So, I think either sqldeveloper isn't really using bind variables, OR it is using them in some other way that Apex does not, or maybe optimizer peeking works in sqldeveloper?
    Using optimizer hints to tweak the plan helps. I've tried both /*+ FIRST_ROWS */ and /*+ index(ps pk_persons) */ and both drop the query to about a second. However, I'm loath to use hints because of the very dynamic nature of the query (and Tom Kyte doesn't like them either). The hints may end up hurting other variations on the query.
    I also tested the query by wrapping it in a select count(1) from ([long query]) and testing the performance in sqldeveloper and in Apex. The performance in that case is identical with both bind variables and hard coded variables for both Apex and SqlDeveloper. That to me was very interesting and I went so far as to set up two bind variable report regions on the same page. One region wrapped the long query with select count(1) from (...) and the other didn't. The wrapped query ran in 0.01 seconds, the unwrapped took 15ish seconds with no other optimizations. Very strange.
    To get performance up to acceptable levels I have changed my function returning query to:
    1) Set the equality operator to "=" for values without wildcards and "like" for user input with wildcards. This makes a HUGE difference IF no wildcard is used.
    2) Insert a /*+ FIRST_ROWS */ hint when users chose the column that requires the sub-query. This obviously changes the optimizer's plan and improves query speed from 15 seconds to 1.5 seconds even with wildcards.
    I will NOT be hard coding any user supplied values in the query string. As you can probably tell by the query, this is an application where sql injection would be very bad.
    Jeff, regarding your question about "like '%' || :P71_SEARCH_SOURCE1 || '%'". I've found that putting wildcards around values, particularly at the beginning will negate any indexing on the column in question and slows performance even more.
    I'm still left wondering if there isn't something in Apex that is breaking the optimizer "peeking" that Patrick describes. Perhaps something in the way it switches contexts from apex_public_user to the workspace schema?

  • Report problem after 3.0.9.8.4

    Hello,
    I have a problem at creating and editing reports after 3.0.9.8.4 patch. My reports doesn't go when I use the DECODE function.
    Here is an example:
    select
    R.pers_el_free, R.id_reg, S.sport_name, decode(R.sport_spec,'V' ,'register') as "COLUMN"
    from ===================================
    [email protected] R,
    where
    .... some bind variables
    reports are ok without the DECODE part, but with the decode part it shows:
    Error:
    Unable to execute function: PORTAL30.wwv_utlbuild.parse_query (WWV-15000)
    Does anybody know, how to use the decode function without problems???
    help would be appreciated.
    Ales Hrncarek ([email protected])

    Applied patch (p2567445) in development environemnt; didn't help! Now getting: ORA-06502: PL/SQL: numeric or value error (WWV-11230) when attempting to use decode function as in:
    select log_date,
    decode(hour_type,'B', 'Business Hours', 'A', 'All Hours', 'N', 'Non-Business Hours', hour_type),
    wu_ps_id,
    organization
    from web_services.wu_popular_sites
    where log_date = :report_month
    order by hour_type, wu_ps_id
    No brain surgery here, just trying to use a simple query to produce a portal report. However, I would like to get another report running that uses additional built-in functions:
    select wau.log_date,
    wau.hour_type,
    rownum,
    substr(nvl(bu.oracle_login, bu.nds_user_name)
    ||' ('||bu.name||' - '
    ||substr(wau.nds_user_name,
    instr(wau.nds_user_name,'.')+1,
    instr(wau.nds_user_name,'.',1,2)-(instr(wau.nds_user_name,'.')+1))||')',1,35),
    to_char(wau.active_hh, '9990')||':'||ltrim(to_char(wau.active_mi, '00'))||':'||ltrim(to_char(wau.active_ss, '00'))
    from wu_active_users wau, bl_user bu
    where nvl(bu.oracle_login, bu.nds_user_name) = substr(wau.nds_user_name, 1, instr(wau.nds_user_name,'.')-1)
    order by wau.hour_type, wau.active_hh desc, wau.active_mi desc, wau.active_ss desc
    Again, not the most demanding query but I get nowhere on this one ("The page cannot be found").
    Does anyone know if I'm missing something concerning patch. I'm on portal v30984.

  • Production order wise report  of  all component.

    dear all
    I want production order wise report  of  all component.
    1) quantity required 2)issue quantity3)currect stock
    I got  quantity required and issue quantity field in co24 but i didnt get currect stock field(unrestricted stock) in that t-code
    Is any t-code is available ?
    rgds
    Surendra

    Hy Surendra,
    In any of the standard SAP reports you will not find the Goods Movements of Particular order along with available Component stock.
    Goods movements report of the Production / Process order is static report once the order is close.While Stock report is variable report and may be change Time to Time.
    I think if you wish such kind of report then you have to go for Z reorts.
    You can find all the Goods Movements of Order in COOISPI/COOIS/IW3M but there is not available stock report.
    Regards,
    Dhaval

  • Report on 'the number of calls' on an IVR Option menu

    Dear NetPro gurus,
    My customer has an IVR on UCCX which works fine.  However, they have recently add in an 'Option 6' where when PSTN caller press on it, it will redirect the call out to an 1800 number onto the PSTN.
    The call connects perfectly fine.  What my customer wants is to have a report on how many PSTN caller press on this newly created Option 6 of the IVR. 
    For all the other 5 IVR options, they all have an individual CSQ assigned to them and there is a 'Set Enterprise Call Info' step to send the 'options selected' to UCCX.
    However, for this Option 6, since there is no CSQ (because the call gets redirect to a PSTN number), is there any way i can script it so that it can be tally and identified by Cisco Historical Reports too?
    I have spent a lot of time on this already so would appreciated if anyone can shed some light on this.
    Cheers,
    Hunt                  

    Hi Hunt
    There are quite a few posts on the subject on the forums.
    Basically you can do one of these things:
    1) Run an 'application summary' report - typically the count of 'flow out' calls will be the  number of calls sent to your 1800 number, if this is the only non-CSQ destination that your script sends calls to (e.g. if there are no other external numbers, voicemail, or internal DNs that you send the calls to other than via a CSQ).
    2) Run a 'custom call variables' report and then count up the number of rows that have the info that you set on 'set enterprise call info' when the call was routed externally
    3) If those aren't good enough, then you can produce a custom report to show the data in the format the customer wants. This would require some good SQL and Crystal skills...
    Regards
    Aaron HarrisonPrincipal Engineer at Logicalis UK
    Please rate helpful posts...

  • MS office report

    Hi, I am trying to generate a report using the MS office express vi and after follow the instructions in the manuals and check the examples I cant fill a table predefined in my own template!! and I get an error
    Error -41110 occurred at NI_ReportGenerationToolkit.lvlib:ex_RGT_Append Anything To Report.vi -> NI_ReportGenerationToolkit.lvlib:subMS Office Report Block.vi -> test_report.vi:MS Office Report.vi-> test_report.vi
    while processing the module_ID input.
    I am using labview 2011. attached is a vi  that I wrote to study only the report generation.
    I appreciate any suggestion.
    Attachments:
    test report.vi ‏22 KB
    SOP_103_template.dot ‏32 KB
    base_info_Report.vi ‏17 KB

    Well, you have certainly picked a fairly challenging task for LabVIEW to undertake!  I've thought about how I would do this (or even if I would do this), and have some observations.
    A Word Template does not necessarily make life easier if you are "driving" Word from LabVIEW.  It is designed for human interaction, with the (human) ability to tab around and ensure that the cursor is in the correct field for inserting an element.
    In particular, your Parts List does not "tab nicely".  In particular, it will expect exactly 1 entry in the UNL Batch No., and precisely 4 Parts entries (as you tab around, notice you enter the Batch No. field four times).
    If I were doing this, I would generate the entire Report "on the fly", that is, I'd start with a blank Report, generate the heading ("Manufacturing of modules ..."), generate a Report Header Table (Date, Start, Finish, Operator, etc.), generate a Parts List table, and generate a Comments section.
    I would certainly "encapsulate" the messy code for each of these steps in its own sub-VI.  Thus my Report would look something like this:
    Each of the sub-VIs generate part of the Report.  Header generates the static text at the top.  Report Info generates the Date, Time, Operator, etc. part of the report, Parts List generates the Parts List table, and Comments generates the Comments at the end.
    The Report "data" is encapsulated in four variables:
    Report Info is a cluster with entries Date, Start Time, Finish Time, Operator, etc.
    Parts List is an array of clusters (UNL Batch, BBM ID, and HDI S/N).
    Comments is a cluster with entries Orientation, Glueing, etc.
    Report Path is the path and name of the output Word document.
    Report Info can be formatted as a table of two columns.  Each entry has a fixed string (for example, "Date:") and a variable (the value in Report Info.Date, the cluster element).  You can format the table with top and bottom borders if you want that look.
    Parts List is fairly complicated.  It has some "pure text" (the string "List id of parts ...") and a Table.  The Table is fairly straight-forward, with a fixed Header and a style for borders and lines.  To get the UNL Batch formatting as a single cell, you can try to merge cells (based on where the UNL Batch values remain constant).
    Comments can just be treated as ordinary text, with "header strings" (such as "Orientation:") written before the value in the corresponding Comment cluster element (e.g. Orientation) is written.
    I can say, with some confidence, that the Snippet above will, in fact, produce a Report that follows your Template, once you handle the "details" of coding those four sub-VIs.  Take a look at the Word-specific sub-Palette in the Report Generation Palette, and in the Word Tables sub-sub-Palette.  
    Bob Schor

  • Variables Not Appearing Correctly

    I am using RoboHelp 8 and FrameMaker 9. In RoboHelp, I have linked to a FrameMaker book. I have encountered a problem that I cannot seem to resolve. All of my FrameMaker variables have imported correctly. However, in a few instances the following code has been added:
    <span class="FM_variable" style="font-family: 'Times New Roman'; font-weight: normal;">&#160;<?rh-udv_start name="AcmeWidgets" ?>Acme Widgets<?rh-udv_end ?></span>
    Ideally, the variable should appear as:
    <?rh-udv_start name="AcmeWidgets" ?>AcmeWidgets<?rh-udv_end ?>
    The additional code is causing the variable to display incorrectly. I can remove the additional code, but it is added again each time I update the topics. This is only happening in one or two instances – the rest of the variables appear correctly. Can anyone help solve this dilemma?

    You can start by running a variable report in Robohelp. Tools > Reports > Variables.
    Make sure all your variables are accounted for in the Robohelp project. If not, reimport the files and let Robohelp rebuild everything.
    Assuming that your variables are recognized by Robohelp, then in FrameMaker you can try this. Select the heading in question, and then click Heading 1 in your paragraph catalog. Next, while the heading is still highlighted, click Default Font in your character catalog. This should remove any additional character formatting on the variable itself.
    Make sure you've mapped styles for paragraphs and character formats in Robohelp. Right-click the referenced FrameMaker book in Robohelp. Click Properties, and then select the Style Settings tab. Click Edit in the Style Mappings area. Select Character Styles in the Style Mapping Type box. You'll want to make sure you've get every FrameMaker style mapped to an acceptable Robohelp style.
    That's all I can think of off the top of my head. Hope it helps point you in the right direction.
    Jason

  • Text Variables Not Appearing Correctly in InCopy

    In working on a project I have discovered that the text variables do not properly appear in some of my InCopy assignments. I have tried deleting the assignments and recreating them, synchronizing the variables in the whole book, and checking in and out the assignments in InDesign. None of the approaches I have tried have resolved the issue. Hoping someone in the community may have run across this issue before and knows what I'm missing.
    Correct Dates in InDesign                                                                                                                  Incorrect Dates in InCopy

    You can start by running a variable report in Robohelp. Tools > Reports > Variables.
    Make sure all your variables are accounted for in the Robohelp project. If not, reimport the files and let Robohelp rebuild everything.
    Assuming that your variables are recognized by Robohelp, then in FrameMaker you can try this. Select the heading in question, and then click Heading 1 in your paragraph catalog. Next, while the heading is still highlighted, click Default Font in your character catalog. This should remove any additional character formatting on the variable itself.
    Make sure you've mapped styles for paragraphs and character formats in Robohelp. Right-click the referenced FrameMaker book in Robohelp. Click Properties, and then select the Style Settings tab. Click Edit in the Style Mappings area. Select Character Styles in the Style Mapping Type box. You'll want to make sure you've get every FrameMaker style mapped to an acceptable Robohelp style.
    That's all I can think of off the top of my head. Hope it helps point you in the right direction.
    Jason

  • Presentation Variable name being passed as value

    I have a requirement where value needs to be checked against two separate fields for filtering (as OR statement). But there should be ability to filter on these fields separately as well.
    Dashboard prompt:
    Province [Multi search]
    State [Multi search]
    Combined search (Province OR State Fields) [Edit Box] --- used to pass presentation variable
    Report filter:
    Province is prompted
    AND State is prompted
    AND Province is @{presentation_variable} (no default)
    OR State is @{presentation_variable} (no default)
    But if the text field with presentation variable in not used to filter, then the report shows no result because the presentation variable name itself is taken as a value. Any solution how this can be done making sure that if province only is searched for then the presentation variable is not passed as value and the query returns no results?
    Thanks everyone.

    Thanks Rachit, that helps. For the scenario mentioned initially, even this works:
    Province is @{presentation_variable} (no default)
    OR State is @{presentation_variable} (no default)
    But the challenge is if I want to add another filter (like country) also as a filter. When users filter only on country, then the report shows no results because no value has been passed to the presentation variable and the query generated uses presentation variable name as the value!

Maybe you are looking for