Using a Look up in a matrix

Hi,
I am using SSRS 2012.
I have a dataset that displays info in a matrix.  Each row shows a client and the columns are the past 12 months.  The data is a count of sales per client for each month.  
The location of the data has changed to a new system meaning I now have a new dataset that I need to mesh together so you can still see the info from previous months and new data in upcoming months.
I have tried to use a lookup however because you can only compare one field from each dataset (ie either the client name or the month) I cannot get the numbers to display correctly.
Can you do nested lookups or is there a lookup style to match more than one variable ie. the months and the client names?
Thanks
K

Hi KMoff,
Per my understanding that the tables from the new dataset and old dataset have the same fields like:Client Names, Month and Count of Sales, now you want to map the two tables by using both the clientNames and the months to get both the preivew
month and upcoming month data to display in the same matrix, right?
In your scenario, it seems that the clientNames and months togethoer is unique, you can also modify the query in the old dataset to join the two tables to get both the old month and the upcoming month like below example:
Any problem, please feel free to ask.
Regards,
Vicky Liu 
Vicky Liu
TechNet Community Support

Similar Messages

  • I've recently started to use Numbers but when I try to sync to iCloud it asks me to create a new iCloud account. Problem is I already have one and that's the one I want to use. Looks like I have the same situation on my iphone. Any guidance? Thanks.

    I've recently started to use Numbers on my macbook pro but when I try to sync to iCloud it asks me to create a new iCloud account. Problem is I already have one and that's the one I want to use.
    Looks like I have the same situation on my iphone.
    The only option I'm being given is to create an lCloud account.
    Any guidance? Thanks.

    The last thing you want is a second iCloud account. Try logging out and back in in System Preferences. If that doesn't work, I'd get AppleCare on the line.
    Jerry

  • How to use database look up table function in xsl mapping

    Can anybody tell me how to use database look up table function while mapping xsl between 2 nodes.
    I have an XML file coming in and depending on one of XML elements we need to decide which further path to take. But, using this XML element, we need to query database table, get metadata and accordingly take appropriate path. I have written lookup function which returns metadata value.
    Now, the issue is how do I pass the XML element valu as input to look up function? When I tried to drag it to the input node of lookup function, it throws an error like "Maximum number of parameters exceeded"
    Thanks,

    If the lookup table is always going to remain the same (e.g. a character generator or something similar) you can place the values in a 2D array constant on your diagram, with the input value as one column, the equivalent as the other. When you need to perform the lookup you use an index array to return all the values in the "input column", search it using "search 1D array" and use the resulting index number to index the other column's data. If the values may change, then it would probably be best to load an array control with your equivalent values from a file.
    P.M.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • I used to look my photos in my tv using apple tv, now i can't when i access through apple tv/ computer/ my library  photo option is not available, i check home sharing and which photos i'm sharing from my mac/itunes but i still can share photos w/apple tv

    I used to look my photos in my tv using apple tv, now i can't when i access through apple tv/ computer/ my library  photo option is not available, i check home sharing and which photos i'm sharing from my mac/itunes but i still can share photos w/apple tv

    Morning JJFH,
    Thanks for using Apple Support Communities.
    If after setting up Home Sharing, you cannot access your shared iTunes library over your home network from your Apple TV, take a look at this article:
    Troubleshooting Home Sharing
    http://support.apple.com/kb/ts2972
    Best of luck,
    Mario

  • I created a brochure in pages and exported it to a pdf format. The pdf looks and opens perfectly using preview but when opened in adobe reader (which my printer uses), fonts look odd, transparencies don't display...etc. Tells me error exists on page?

    I created a brochure in pages and exported it to a pdf format. The pdf looks and opens perfectly using preview but when opened in adobe reader (which my printer uses), fonts look odd, transparencies don't display...etc. Tells me error exists on page?

    Does this essentially mean there is no way to fix this problem on my end? It's a pity because the design and branding of my brochure will suffer if I remove transparencies and use different fonts. It also concerns me moving forward because it means the quality of print on my pieces will be significantly lower because most commercial printers use Adobe products.

  • Using Quick Look with Spotlight

    I was wondering if there was any way I could find files of a certain name and then, while still in the spotlight menu, use quick look to get a glance at them. I have a ton of pdf's and use spotlight to find the authors name (name:author) and then I have a list of them, but I'd like to use quickview to get a glance at them before preview opens them up, from the spotlight menu.
    So far it doesn't seem to work, space bar does nothing, etc.
    Is this possible?
    Thanks!

    Don't know of a way while still in the Spotlight drop down box, but if you click the "Show all" at the very top of the list a Finder window opens with the results. You can put this window into Cover Flow view to scroll thru the results very quickly, hit the space bar if one of the smaller Cover Flow icons looks promising to get the larger Quick Look.
    Francine
    Francine
    Schwieder

  • I like the itunes used to look (before I upgraded today)

    I like the itunes used to look (before I upgraded today)

    i like it to, just have to spend some time re-learning my way around

  • Anyone has a simple poll I can use or look at to give me an example of how

    Anyone has a simple poll I can use or look at to give me an idea of how to do one? Something with radio button, and when a user chose a button it adds one to the total of that selection but minuses the other percentages of the other selection....something like that. And maybe using a graphical bar....hmmmm this looks hard already.

    Something like this?import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends JFrame {
      JSlider[] js = new JSlider[5];
      int[] oldValues = new int[5];
      boolean isAdj=false;
      public Test() {
        JPanel content = (JPanel)getContentPane();
        content.setLayout(new BoxLayout(content, BoxLayout.X_AXIS));
        for (int x=0; x<js.length; x++) {
          js[x] = new JSlider(JSlider.VERTICAL,0,100,50);
          js[x].addChangeListener(new ChangeListener() {
         public void stateChanged(ChangeEvent ce) {
           if (!((JSlider)ce.getSource()).getValueIsAdjusting()) sliderSlid(ce);
          content.add(js[x]);
        this.setDefaultCloseOperation(this.EXIT_ON_CLOSE);
        addWindowListener(new WindowAdapter() {
          public void windowClosed(WindowEvent e) { System.exit(0); }
      private void sliderSlid(ChangeEvent ce) {
        if (isAdj) return;
        isAdj=true;
        int newTot=0;
        JSlider thisSlider = (JSlider)ce.getSource();
        int thisVal = thisSlider.getValue();
        System.out.println("TV="+thisVal);
        for (int x=0; x<js.length; x++) newTot+=js[x].getValue();
        System.out.println("NT="+newTot);
        double scale = (250.-thisVal)/(newTot-thisVal);
        System.out.println("SC="+scale);
        for (int x=0; x<js.length; x++) {
          if (js[x]!=thisSlider) js[x].setValue((int)(js[x].getValue()*scale));
        isAdj=false;
      public static void main(String[] args) {
        Test test = new Test();
        test.setSize(200,200);
        test.show();
    }

  • Looking for a keyboard/matrix mapping utility

    I am designing my own keyboard and I need an application to tell me which keys do what. A word processing program only tells me which number or letter key I am pressing; I need one that tells me which Command, or Control, or Option, or Esc. key I am pressing, as well. I have hunted online for a few hours now, but for the five million instances Google will return, what terms do I use? Key? keyboard? Map? Matrix? For all I know, there may be a mini-app for seeing which key does what-already built into the OS X system. Or in the X11 package. Nobody told me about it. Is there a shareware program that will do it?
    PM G5 PPC   Mac OS X (10.4.8)   1.5 GB RAM; 150GB & 250GB HDs
    PM G5 PPC   Mac OS X (10.4.8)   1.5 GB RAM; 150GB & 250GB HDs
    PM G5 PPC   Mac OS X (10.4.8)   1.5 GB RAM; 150GB & 250GB HDs

    The standard tool for making a custom keyboard mapping is Ukelele:
    http://scripts.sil.org/cms/scripts/page.php?siteid=nrsi&itemid=ukelele
    However, this is only for customizing characters (not functions) made with normal, shift, option, and shift+option.

  • How to use JNDI look up from a JSP

    Hello,
    I know I should not be doing this (writing the lookup code in a JSP) but have to do it for some reasons.
    I am using this code in my JSP:
    try
         Context ctx = new InitialContext();
         dataSource = (DataSource)ctx.lookup("jdbc/mybillingora");
         conn = dataSource.getConnection();
         statement = conn.createStatement();
    catch(Exception excep)
    Is this code enough for a JNDI look up?? When I use this code, I get an exception:
    "javax.naming.NameNotFound exception:jdbc/mybillingora"
    Do I need to do something else??
    Why do we use :
    Properties env = new Properties();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "<some_context_factory>");
    env.put(Context.PROVIDER_URL, PROVIDER_URL);
    env.put(Context.SECURITY_PRINCIPAL, JNDI_USER);
    env.put(Context.SECURITY_CREDENTIALS, JNDI_PWD);
    InitialContext = new InitialDirContext(env);
    where JNDI_USER is the userid If ACL is configured at the JNDI server
    where JNDI_PWD is the password If ACL is configured at the JNDI server
    Context.INITIAL_CONTEXT_FACTORY is the initial Context factory and depends on ur JNDI service provider.
    PROVIDER_URL is the url of the JNDI server containing protocol/ip/port
    do i need to use this??
    would appreciate your help on this....
    Thanks

    I am working on a pretty similar problem and posted my problem minute ago.
    Include JNDI.jar from <Oracle_HOME>\jlib. (This is what I found in Oracle docs).
    I presume you are also trying to create the Datasource using Datasource interface via JNDI rather than using Driver Manager.
    Thanks
    Mei

  • How do I eliminate thousands of e-mails in Apple mail, which I never use or look at, but which is using up I cloud space

    How do I easily delete thousands of e-mails in Apple Mail which I never look at  (because I use my local server for e-mails) but which is using up space in the Cloud? Thank you

    Try one of these feed readers if the build-in Firefox reader doesn't suit you.
    *Brief: https://addons.mozilla.org/firefox/addon/brief/
    *Sage: https://addons.mozilla.org/firefox/addon/sage/

  • Using RFC Look Up in Java Mapping

    Hi All,
    I need to do an RFC Look Up in a Java Mapping program. The response structure of the Function Module to be called consists of only one node called RESULT. In order to read the value exported by the function module in this export parameter RESULT, I am using the following code:
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = null;
    factory.setNamespaceAware(false);
    factory.setValidating(false);
    Document docResponse = null;          
    InputStream in1 = result.getContent();
    docResponse = builder.parse(in1);
    String output = docResponse.getDocumentElement().getFirstChild().getNodeValue();
    The function module works correctly and returns the expected result when tested in SE37. However, on running the above code, the statement docResponse.getDocumentElement().getFirstChild().getNodeValue(); always returns the value NULL and not the expected value that is actually returned by the RFC.
    Kindly let me know where could I be going wrong.
    Thanks in advance.

    Hi Sreehari,
    Your DOM code looks correct, it might be something with the overall code of java mapping. Just have a look at this blog /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    and compare you code with it. See whether you can fine tune your coding to get the rigth response.
    Regards
    Suraj

  • I can't see my pictures in teh finder using Quick look or Cover flow

    I have iPhoto8 installed and it works fine, but I cannot get a look at my library of photos without opening iPhoto. I thought I was supposed to be able to use the finder and cover flow to see my pictures quickly to find the one I wanted without opening iPhoto? When I go to pictures I get the icon for the iphoto program and it says iphoto library, but I cant see pictures. Am I doing something wrong?

    OBGYNDR
    With iPhoto 7 the old iPhoto Library Folder has become a Unix Style Package folder. The change was made to the format of the iPhoto library because many users were inadvertently corrupting their library by browsing through it with other software or making changes in it themselves.
    There are many, many ways to access your files in iPhoto:
    For 10.5 users: You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Apple-Click for selecting multiple pics.
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. If you're using Gmail you can use THIS
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    Or, if you want to access the files with iPhoto not running, then create a Media Browser using Automator (takes about 10 seconds) or use THIS
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    All of these are safer and fster than surfing the iPhoto Library Folder.
    Regards
    TD

  • Which driver to use to print to a dot matrix printer?

    All-
    Hi, we are using Adobe Output Designer 5.7 to create invoice templates.  We use a custom application that uses Adobe Output Central Server (5.6) to create invoices and print them to a network printer.  We are about to do a new release in Chile, which requires a dot matrix printer be used for printing due to gov't regulations.  Does anyone know what kind of print driver could be used to effectively print to a dot matrix printer?  It seems like all the drivers we have used don't work.
    Additionally, we also tried using the .pdf driver in conjunction with the Web Output Pak, but unfortunately that result is just as bad.  Does anyone know of a workaround to get Pdf's to work with a dot matrix printer?  By googling, I found that we could try copying the .pdf output and pasting into Word, but I haven't tested this yet and it makes for a cumbersome process.
    Thanks,
    Andrew

    Hi Andrew,
    Unless you can convert the PDF to a text file, and print that, I doubt there is any way to send PDFs to a Dot Matix printer.
    If you're on Windows then one way is to use the 'windows' driver option in your template to generate the output directory for the target printer - this allows non-supported printers to be used with Output Server,
    Regards,
    Paul

  • How to use a link button in a matrix

    Hi, I'm trying to create a matrix with a column that uses a link button to call a Sales order.. how can i do it? i'm new in SBO!

    Hi,
    You can do it in 2 differents ways:
    1. With the ScreenPainter. Set the column property "Type" with the value "et_LINK_BUTTON" and the property "LinkObjectType" with the value of the Business Object (for Sales Orders, the value is "17").
    2. Directly on the XML file. You can see and example below.
    <column uid="col" type="116" title="Parte" description="" visible="1" AffectsFormMode="0" width="55" disp_desc="0" editable="1" right_just="0" val_on="" val_off="" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
          <databind databound="1" table="" alias="col"/>
    <ExtendedObject linkedObject="17" LinkedObjectType="17"/>*
    </column>
    The most important things are the properties "type" (116 for linked button) and "linkedObject" and "LinkedObjectType" (17 for Sales Orders).
    I hope this can help you.
    Regards,
    Cristian Rivero

Maybe you are looking for

  • Saving Photoshop actions to share

    Hi, I've created some cool actions that Id like to upload and share with other users but Im having problems figuring out how to save them as an actions preset that I can upload. I have them listed in my palette but I can't export them or find them to

  • Playback and rendered video jumps up and down regularly and minutely

    A number of the sequences I've edited have a minute but noticible up-and-down movement.  For example, see http://www.youtube.com/watch?v=hely09sD6gY  You'll notice that only the video image moves up and down, not any of the still images or the Studio

  • Good book on SAP-ABAP

    Hi Experts, Even as i am taking SAP training i want to follow one good book can you please help m e referring good book on SAP.

  • 2 Question How to set the page size and  full screen

    I am looking to find out how to set the page to be 1024 by 768 static and also how to force a browser window to go to full screen. Thanks

  • Can I view selected AI layers as a slideshow in Acrobat?

    I have a multi-layered AI file I've opened in Acrobat. I can easily  toggle the visibility of each layer. What I'd like to do is select various  layers to view, then assign the various selections to bookmarks and  ultimately view the file as a slides