Webi- Issues when using multiple Queries

Hi All,
I have a requirement as follows:
A crosstab which will have Year dimension both in the vertical and horizontal header. How ever the horizontal header should have years chosen by the user.
And the vertical header should have all the years that belong to that dimension.
                               2013 2014 2015
Audit1  2011                N     N      N
Audit2  2013                Y     N      N
Audit3  2014                N     Y      N
For this I am using two queries.
Query 1 ->Audit Name , Year
Query 2 ->Year with a multiselect prompt
But the problem with this is that after exec uting the queries the Year dimension gets merged and gives me a union of all the years.
Also if I avoid merging the dimensions, it gives up the infamous #DATASYNC error.
However I want crosstab horizontal header to show up only the selectd years(that are selected using the prompt by the user).
Please help.

Hi Pradnya,
Your approach is really nice towards the requirement.
I similarly created two queries containing Year and on
one of the query created a prompt on Year and one query does not have any
prompt.
Lets say I have created two queries named [Query 1] and [Query
2] and my merged dimension Year contains dimensions [Query 1].[Year] and [Query
2].[Year].
(Note: Query 2 has a prompt on Year)
Created a detail variable named [test] which has the
definition as =[Query 1].[Year] and Associated to the merged dimension [Year].
Inserted a cross table and used [test] in the vertical
header and in the horizontal header used the following formula:-
=UserResponse([Query 2)].[Year];"Enter values for
Year:")
Please try the above and let me know how it goes.
Regards,
Manpreet

Similar Messages

  • Variable Sequence when using multiple queries

    Hi Experts,
    how can I adjust the variable sequence of a workbook that uses multiple queries (with variables of which each exists in at least two included queries)?
    E.g.:
    DP1 with variable sequence "A, B, D"
    DP_2 with variable sequence "A, C, D"
    DP_3 with variable sequence "B, C"
    I want "A, B, C, D" as the sequence for the workbook but i did not figure out how to adjust this.
    I already tried to insert a dummy DataProvider that holds all variables in the right sequence.. No success..
    Any help very appreciated!
    Marco

    Hi Mayank,
    thanks for your answer.
    I wonder how the displayed sequence of the common variables is derived from the underlying queries. Perhaps one can change the sequence of the variables by inserting the DataProviders in another sequence?!
    Regards,
    Marco

  • Cross tab data is getting multiplied if i use multiple queris in asingle report

    HI,
      i am using multiple queris for displaying data and graphs(charts).
      my requirement is to display 2 charts and data in crosstab in a single report.
      all the three thing (2charts and crosstab) will use diffrent values.
    I am writing 3 sql queries for getting appropriate values for charts and crosstab.
      Now the problem, both charts and crosstab are taking the values of all 3 queris
    i.e if i added crosstab  first to the report values are coming correctly. After  that if i add graph cross tab values are getting changed and graph values are not getting properly.
    if i add graph first then its coming correctly.
    if i tried to add all 3 components then values are going cores...... ?

    When you say you are writing 3 sql queries what do you mean? Are you creating 3 SQL command objects in the database expert? If so this is your problem, Crystal will pull a cartesian product through (this is every possible combinatin of rows from the 3 queries).
    If your 2 graphs and 1 crosstab are based on different datasets the way to approach this is to create each on a seperate report, then create a new blank report and add each of your 3 reports as subreports in the report footer.
    Hope this helps,
    Toby

  • Why is quicktime slower when using multiple mdat atoms

    Hi,
    I've been trying to generate a mov file and I noticed that the more mdat atoms I put in my mov file the more the file takes time to load on QuickTime, iTunes.
    Even worst, on the iPhone the file takes more than 3 minutes to load.
    If there are too many mdat atoms quicktime even says that the file is invalid ( error -2004 or -2002, I don't remember exactly).
    Why is quicktime/iTunes slower when using multiple mdat atoms ?
    Thanks,

    Yeah! Problem solved: It's a QT issue.
    Cause: Mac Update Software downloaded a faulty QT.
    Solution: Download QT from Apple's QT site.
    Great to have the Video back

  • Bluetooth issues when using smartwatch on the z1s

    I'm having some Bluetooth issues when using my smartwatch. I usually use my z1s with my car radio via Bluetooth to listen to music and for making calls. Now that I got a sony smartwatch I always got problems with the calls. It looks like that the Bluetooth turns off during the call when I'm using the smartwatch. I already tried by deleting and pairing again the z1s, but nothing works. Not sure if maybe the z1s does not support the smartwatch and the care radio Bluetooth connection at the same time. However it works fine when playing music! The problem is just with the calls. This never happens before I got the smartwatch.

    I have the Tmobile Z1s and a SW2 and have the same issues with multiple devices:
    1) Bose Soundlink Mini
    2) Sony MBR-100
    3) My car's bluetooth
    4) Ford Sync
    5) Sony SBH20
    6) Motorola S305
    If the phone connects to the A2DB device, it will typically play fine for several minutes. Then, audio will drop out. If I do nothing, after several minutes my watch will vibrate to show it has disconnected. Sometimes audio then comes back, and sometimes it doesn't.
    Sometimes my phone will not connect to my car. Then, if I can get it to connect, it will only allow for phone audio, not media audio. 
    This issue has been on (2) Z1s's with the SW2. The first I returned due to touch screen issues, which the second one also has. All of the devices above worked perfectly fine with my Xperia Z, Galaxy S2, HTC One, etc. The Xperia Z and the SW2 never had any problems.
    Honestly, this phone has been incredibly frustrating. If the upcoming updates for either the SW2 or Z1S don't fix this issue, I'm going to return it and get something else.

  • Can we use multiple queries on one template

    Can we use multiple queries on one template

    Hi,
    if you're using data templates for your data set, you
    can put multiple queries in the XML data template.
    The queries may then be linked (or not) by the "link
    name" tag ...
    Grtz.Following you answer here...do you know eventually how/if possible to preview a report (with XMLP Desktop) that is using data templates for the data set?
    Thanks,
    Liviu

  • JTable text alignment issues when using JPanel as custom TableCellRenderer

    Hi there,
    I'm having some difficulty with text alignment/border issues when using a custom TableCellRenderer. I'm using a JPanel with GroupLayout (although I've also tried others like FlowLayout), and I can't seem to get label text within the JPanel to align properly with the other cells in the table. The text inside my 'panel' cell is shifted downward. If I use the code from the DefaultTableCellRenderer to set the border when the cell receives focus, the problem gets worse as the text shifts when the new border is applied to the panel upon cell selection. Here's an SSCCE to demonstrate:
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.EventQueue;
    import javax.swing.GroupLayout;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTable;
    import javax.swing.border.Border;
    import javax.swing.table.TableCellRenderer;
    import javax.swing.table.TableColumn;
    import sun.swing.DefaultLookup;
    public class TableCellPanelTest extends JFrame {
      private class PanelRenderer extends JPanel implements TableCellRenderer {
        private JLabel label = new JLabel();
        public PanelRenderer() {
          GroupLayout layout = new GroupLayout(this);
          layout.setHorizontalGroup(layout.createParallelGroup().addComponent(label));
          layout.setVerticalGroup(layout.createParallelGroup().addComponent(label));
          setLayout(layout);
        public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
          if (isSelected) {
            setBackground(table.getSelectionBackground());
          } else {
            setBackground(table.getBackground());
          // Border section taken from DefaultTableCellRenderer
          if (hasFocus) {
            Border border = null;
            if (isSelected) {
              border = DefaultLookup.getBorder(this, ui, "Table.focusSelectedCellHighlightBorder");
            if (border == null) {
              border = DefaultLookup.getBorder(this, ui, "Table.focusCellHighlightBorder");
            setBorder(border);
            if (!isSelected && table.isCellEditable(row, column)) {
              Color col;
              col = DefaultLookup.getColor(this, ui, "Table.focusCellForeground");
              if (col != null) {
                super.setForeground(col);
              col = DefaultLookup.getColor(this, ui, "Table.focusCellBackground");
              if (col != null) {
                super.setBackground(col);
          } else {
            setBorder(null /*getNoFocusBorder()*/);
          // Set up our label
          label.setText(value.toString());
          label.setFont(table.getFont());
          return this;
      public TableCellPanelTest() {
        JTable table = new JTable(new Integer[][]{{1, 2, 3}, {4, 5, 6}}, new String[]{"A", "B", "C"});
        // set up a custom renderer on the first column
        TableColumn firstColumn = table.getColumnModel().getColumn(0);
        firstColumn.setCellRenderer(new PanelRenderer());
        getContentPane().add(table);
        pack();
      public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
          public void run() {
            new TableCellPanelTest().setVisible(true);
    }There are basically two problems:
    1) When first run, the text in the custom renderer column is shifted downward slightly.
    2) Once a cell in the column is selected, it shifts down even farther.
    I'd really appreciate any help in figuring out what's up!
    Thanks!

    1) LayoutManagers need to take the border into account so the label is placed at (1,1) while labels just start at (0,0) of the cell rect. Also the layout manager tend not to shrink component below their minimum size. Setting the labels minimum size to (0,0) seems to get the same effect in your example. Doing the same for maximum size helps if you set the row height for the JTable larger. Easier might be to use BorderLayout which ignores min/max for center (and min/max height for west/east, etc).
    2) DefaultTableCellRenderer uses a 1px border if the UI no focus border is null, you don't.
    3) Include a setDefaultCloseOperation is a SSCCE please. I think I've got a hunderd test programs running now :P.

  • Does resteasy API have class loader issues when using via OSGi

    Does resteasy API have class loader issues when using via OSGi

    Hi Scott,
    THis isnt an answer to ur Question, but could u tell me which jar files are needed for the packages:
    com.sap.portal.pcm.system.ISystems
    com.sap.portal.pcm.system.ISystem
    and under which path I coul dfind them.
    Thnx
    Regards
    Meesum.

  • Are there any know issues with using multiple (2) apple tv's in the same household??

    I'm thinking of getting a second Apple TV. Are there any known issues with using multiple (2) apple tv's in the same household? Thank you in advance.

    No, shouldn't have any problems

  • Can not access in box or contacts from tiscali web mail when using firefox as browser

    I can not access my in box or contacts list at my tiscali web mail when using firefox as my browser. I have been able up to a few days ago and I can access these when using internet explorer browser.

    Thanks for the helpful solution!

  • I am still getting redirected to various web sites when using Safari.  My PC is not affected but my I phone and I pad are.  I have reset my router and changed my admin name and password.  I am still being redirected.

    I am still getting redirected to various web sites when using Safari.  My PC is not affected but my I phone and I pad are.  I have reset my router and changed my admin name and password.  I am still being redirected.

    Chances are you mis-typed a character in the Wifi password and the devices saved that information.  Now whenever you try to connect the device refers to the wrong password and the Jetpack does not accept your connection.  Tell your devices to forget the wireless connection and start over.
    Once you enter the proper WiFi credentials the Jetpack will allow you to connect.

  • Odd issue when using UDT (user defined type)

    Hi all,
    11g.
    I ran into an odd issue when using UDT, I have these 4 schemas: USER_1, USER_2, USER_A, USER_B.
    Both USER_1 and USER_2 have an UDT (actually a nested table):
    CREATE OR REPLACE TYPE TAB_NUMBERS AS TABLE OF NUMBER(10)USER_A has a synonym points to the type in USER_1:
    create or replace synonym TAB_NUMBERS for USER_1.TAB_NUMBERS;USER_B has a synonym points to the type in USER_2:
    create or replace synonym TAB_NUMBERS for USER_2.TAB_NUMBERS;Both USER_A and USER_B have a procedure which uses the synonym:
    CREATE OR REPLACE PROCEDURE proc_test (p1 in tab_numbers)
    IS
    BEGIN
      NULL;
    END;And in the C# code:
    OracleConnection conn = new OracleConnection("data source=mh;user id=USER_A;password=...");
    OracleCommand cmd = new OracleCommand();
    cmd.Connection = conn;
    cmd.CommandText = "proc_test";
    cmd.CommandType = CommandType.StoredProcedure;
    OracleParameter op = new OracleParameter();
    op.ParameterName = "p1";
    op.Direction = ParameterDirection.Input;
    op.OracleDbType = OracleDbType.Object;
    op.UdtTypeName = "TAB_NUMBERS";
    Nested_Tab_Mapping_To_Object nt = new Nested_Tab_Mapping_To_Object();
    nt.container = new decimal[] { 1, 2 };
    op.Value = nt;
    ......This code works fine, but it raises an error when I change the connection string from USER_A to USER_B, the error says:
    OCI-22303: type ""."TAB_NUMBERS" not foundInterestingly, if I change op.UdtTypeName = "TAB_NUMBERS"; to op.UdtTypeName = "USER_2.TAB_NUMBERS", the error is gone, and everything works fine.
    Anyone has any clues?
    Thanks in advance.

    Erase and reformat the ext HD. Then, redo the SuperDuper! backup.

  • Slicing image issue when using "save for web"

    Keep in mind I am a newbi to photoshop and these forums. I am currently having an issue with using the slice tool when trying to save the image in html format. I have my image completed and when I use the  "save for web" feature, it comes up just fine. Then I click the slice tool on the tool bar on the left, and try to drag over the area that I want to slice and it wont work. Currently, every time I try to use the save for when feature, the new box pops up and shows my image with a 1 and a symbol on the top left of the image like the whole image is already made into a slice. The only thing I can do is left click and hold to drag the transparent box to where I want to slice the image, and when I let go, the image does not slice. Any help would be great!

    Completely wrong workflow. See the online help on the slice tool.
    Mylenium

  • ISE Not Identifying AD Group Attributes when using Multiple ISE Servers

    So we have multiple ISE Servers with differing personas. I was having an issue with our new ISE setup not identifying AD Group Attributes when using them in Authorization rules.
    We have 2- 3395 appliances running Admin and Monitoring/Troubleshooting Personas and 2- 3395 appliances running as Policy server personas. We are running  v1.1.1.268 with the latest two patches.
    I was unable to pull Active Directory Group Attributes in any of my Authorization rules. After Resyncing all the boxes with the Primary Administration box I was able to do this. There is no bug listings for this occurance nor do we have Smartnet to call support for other reasons. I thought this might be useful to someone who is having the same issue and is unable to figure it out with TAC
    -CC

    Absolutely. All units said in-sync after setting their personas.
    Here is our layout:
    ISE-ADM-01  Admin-Primary, Monitoring-Secondary
    ISE-ADM-02  Admin-Secondary, Monitoring-Primary
    ISE-PDP-01  Policy Only
    ISE-PDP-02  Policy Only
    I synced one at a time starting with ADM-02. After completing the other two boxes. Active Directory Attribs were pulled down when using them in the Ext Group within my Authz rules.
    -CC

  • Clear Signature unlocks form fields when using multiple signature fields

    I am having issues with putting multiple signature fields in a pdf document, and upon signing locking all but the unsigned signature fields. But when someone clears thier signature, it unlocks all the fields, but not the previously filled in signature fields. Is there an answer to that? Seems like a bug.
    I am using Acrobat pro x to create the document and save with extended features and require that the first signature locks all fields EXCEPT the remaining signature fields. This works ok until someone clears thier signature and all fields are unlocked and editable. But it DOES NOT clear the signature fields of the people who previously signed the document, which looks like anyone who wants can clear thier signature block and edit the form and the people who previously signed the document still have thier signatures on the modified document. Is this proper functionality?

    Please repost in the Acrobat Scripting forum.

Maybe you are looking for

  • Where can I get a replacement keyboard?

    The keyboard on my Mom's eMac is dying. She needs a new one, and it has to have a USB port that she can plug the mouse into because all the computer USB ports are taken. She is running OS 10.3.9. The keyboards Apple is currently selling are no good b

  • What is targetNamespace in XML Schema

    Hello All, I am new to XML schema. I just want to know what does targetNamespace and defaultNamespace mean in XML schema ? I will be grateful if someone gives me few links to good documents on net. Thank you

  • Weblogic 7.0 servlets deployment and clustering

              I am unable to deploy servlet application in WL 7.0 cluster configuration. I am           using Iplanet NES 4.0 as my web server. I have deployed the weblogic proxy successfully           in iplanet.           The servlet application has cl

  • Customized Ringtones do not play on iphone

    I was able to create customized ringtones and get them on the iphone, but they will not play when I get a call or go to the ringtones to hear them. Has this happened to anyone else?

  • PSE 11 won't play MOV or AVI files

    Attempting to open up movie files MOV or AVI, PSE 11 quits working and has to be force quit Any help welcome.