Sorting in Graphs

Hi,
I am preparing few reports in Discoverer for OLAP and I figured out that drill down option is not working properly in graphs.
I have TIME dimension with levels (year, quarter, month, day) and also I have sort the members on TIME NAME in discoverer. Now in graphs, clicking on year level shows quarter in correct order whereas further drilling down to month level yields incorrect order of month i-e ( 02, 01, 03 ) which is not correct.
Whereas if i do the same drill down in crosstab it shows correct order of month (01,02,03).
It seems that sorting is not working properly in Graphs . Could anybody please help me to solve this problem ?
Thanks in advance
Amir

Just so you're not waiting by the computer expecting an answer right away, I suspect the number of people using Disco with OLAP is - at this point - vastly less than the number using good 'ol regular file-handlin' Disco.
It's a new option with Disco as I'm sure you know, so it may be a while before someone answers. Sorry I couldn't help with this.
Russ

Similar Messages

  • Initialisation des entrées,sorties et graphe( valeurs par défaut) à chaque exécution

    bonjour je suis en stage, et j'aimerai savoir comment initialiser mes entrées , sorties et mes graphes aux valeurs par défaut que je leur ai donné.
    cordialement

    Si tu utilises un Loop a l'interieur de ton programme, tu peux les initialiser a l'exterieure (gauche) du Loop (boucle?).
    Je recommende de ne PAS utiliser des variables locales.
    Est-ce que tu as une partie de ton code disponible que tu pourrais attacher a ta reponse?
    De cette facon je pourrais verifier ton code.
    R
    Message Edited by JoeLabView on 07-10-2008 11:13 AM

  • Multiple XY graph

    Hi, in a control and simulation loop,  I am making an xy graph that combines data from two wires for the x values and data from two wires for the y values.  I have attached a picture of part of the code.  When I run using some variable it works ok (picture 1) but when I change the variable to a lower value it looks like the signal stopped and the rest of the curve is not drawn (picture 2, green line which should go until about 42 in the x axis).  Am I inserting the right functions for making this sort of graphs or am I missing something like a build array function or something similar?
    Thanks
    Attachments:
    XY graph.JPG ‏26 KB
    Picture 1.JPG ‏41 KB
    Picture 2.JPG ‏41 KB

    For the untrained eye it is impossible to tell what you really want and what the significant difference between the two images is. On both graphs that you show, the green curve does not go to 42 on the x-axis. (one goes to x=~12 and the other to x=~15)
    Maybe you should have a look at the real data. Could it be some values are NaN? I don't have this particular toolkit (simulation?) installed, but if you attach your program, somebody else might be able to troubleshoot further.
    I am not a big fan of dynamic data and expres VIs, because they hide too much information when looking at a diagram picture. What is in the arrays and scalars that build the dynamic data? Is the express VI set to retain data between calls?
    LabVIEW Champion . Do more with less code and in less time .

  • Graphing calcular

    I am having a very dificult time finding a good graphing calculator, is there one in any of the repositories, or does anyone know of one I could package?

    A quick search would have yielded you this: [Request] Some sort of graphing calculator!

  • Report generation toolkit and column

    Hello, i asked this question before, but this time i just needed some input..
    I originally asked, if i am doing various experiment sets and say each sets takes in about 1000 data points, and i have to do 50 such experiments continously i wanted to know if there was a way of arranging the data so that for each experiment is written in a different column, so i have 50 different column. Instead of the current one column with 50000 data points.
    I was kindly suggested various alternatives such as using arrays...now my querry is regarding something that i heard which involves Report Generation toolset.
    If i was to get this toolset, with this make my life easier interms of sorting my data out into different columns? I ahve also been
    told it will do all sorts of graphs and do pretty much everying thing falling short of making a cup of tea
    Now has any one had any experience in this type of porblem? or do i have to stick with the array solution. Incidently the reason why i have a niggling problem with arrays is that my programme is stricly no limited to just 50000 data for some runs i can decide to take more data in one set then the orther so building an array becomes problematic.
    Please let me know what you all think of this kind Regards
    Mansoor

    Hello Mansoor
    If you want to write the data to an Excel spreadsheet there are several options available to you as well as the Report Generation Toolkit.
    I have posted some links to help and advice on performing this action using the toolkit, but also using the file I/O vi's and using active X.
    Have a look at these links and if you have any further questions please reply to this post.
    Report Generation Toolkit User Manual
    http://digital.ni.com/manuals.nsf/webAdvsearch/463​34E8183C5360586256E3F00603DDB?OpenDocument&vid=niw​c&node=132100_US
    Report Generation Toolkit Tutorials
    http://zone.ni.com/devzone/devzone.nsf/webcategori​es/A50386FBB21ECC1A86256AB7006C2E6C
    File I/O information
    http://zone.ni.com/devzone/devzone.nsf/webcategori​es/BC4E8ABB211CFE7F
    86256A1F0062CEB2
    Writing data to an Excel file example in the LabVIEW example finder at the following location: - �Communicating with External Applications -> ActiveX -> Excel -> Write Table to XL.vi�
    Regards
    Hannah
    NI

  • Exception in Loading Images in JSP pages

    Hi All,
    I am trying to load an image many number of times(to create a sort of graph).
    I am using Buffered Image & Graphics.drawImage().Still when my page loads I can see only the lines I draw btween the images but not the images.The images are seen only on refresh.
    I get Illegal State Exception ServletHttpResponse.getWriter().
    Can anyone help me with this at the earliest
    THANKS

    Hi,
    Here is part of my code:
    image= new BufferedImage(1000,img_height, BufferedImage.TYPE_INT_RGB);
    grph=image.getGraphics();
    Then in for loop i execute the following ,changing the co-ordinate,required no of times.
    grph.drawImage(myImage,xCord,yCord,xBlock,yBlock,null);
    Finally I do this:
    ServletOutputStream out1 = response.getOutputStream();
    JPEGImageEncoder encoder= JPEGCodec.createJPEGEncoder(out1);
    encoder.encode(image);
    The page that has this code is called by another jsp in the image tag.<img src="drawimage.jsp">
    Please Reply

  • Oscilliscope data sent to plot

    I have a system configured with data coming from a tektronics scope in a series of data points (dbl). I want to plot these on some sort of graph in real time. The problem comes with the fact that I want to have the data be shown with say, a red line if a parameter goes true or green if the parameter is false... essentially, I want to be able to distinguish between the data points, depending on whether a condition (that changes with time) is true or false.
    Any help would be greatly appreciated.
    Geoff.
    P.S. Let me know if you need more information...

    The easiest thing to do would be to put a different chart terminal in each case of your case statement. See the attached image of this, where you just see the "Source B" case, with the Source B chart terminal in it, and the Source A case has the Source A chart terminal.
    --John
    Attachments:
    multipleDatasources.png ‏5 KB

  • How to reopen a same vi ?

    Hello,
    I'd like to re-open a vi that draw one sort of graph several times (in fact,
    every time the user select "Graph" in the menu). How can I do ?
    I've tested to modify the Vi's options (re-entrance execution) and to set
    the option of the OpenVIReference to 8, but it still doesn't working ! Why ?
    Thanks and sorry for bad english !
    Amandine
    (I use Labview 7.1)

    I think the best way to do this would be to save the VI you want to open multiple time as a VI template (.vit).
    Then when you open a reference to the template and open the front panel, the template gets renamed with a sequencial number, and it changes to a .vi, just as if you had opened the template from the File>New... menu selection.
    So each time you open a reference and the front panel of that reference, you get a uniquely named VI with its own memory space.
    One thing to remember is that these spawned VIs will not be saved, they exsist only in memory. So if you want to save them, you will have to do it manually through menu or use 'Save Instrument' invoke node.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • You guys ever used an iP

    I've got a Zen Micro and the only real thing I found rather cool with the iPods is the games, I love those brick games
    It'd be cool if we could have some games or something to put on the MP3 players or have them open source like graphing calculators. Small games don't require much CPU power and it mnight get more people to buy a Zen Micro or something if games could be written for it and transferred unto it via Media Source or the Zen Explorer. Would be cool to play snake on it or something :P
    And i don't know if some of you guys have any sort of graphing calculator but they came out with a USB driver for the TI-84+ & SE which enables you to hook up any sort of USB device that uses the same amount of power and make it work, so maybe we could hook up mini WiFi enteneas or something and then start playing wireless. This is a bit far fetched but w/e

    MikeM32 wrote:
    Yes, I've used an iPod. I think the games, contacts and calendar are a complete waste of time. I use a PDA for that stuff. I also don't need appointments, etc. on my cell phone. Another waste. iPod should worry about working with subscription music services or something useful concerning music. Every gadget is trying to do everything, none of it very well. I have been suckered into phones with games (Nokia), a watch with contacts and calendar (Timex DataLink), phone with calendar appointments (Samsung) and various other "convergence" products. All have been so poor at these additional functions I gave them all up. Even the Treo Smartphone (and other smartphones) are lousy phones and lousy PDAs. You're better off carry 2 items. Get one of those new Sony things that plays music, video and games. That sounds like something you might like (not meant to be offensi've). I would MUCH rather have Creative focus their energy on updating the firmware of the Zen Touch, adding Audible support to more players and generally focusing on the audio part of their players without all the marginally useful junk they put on some of them.
    Well, for some people who don't use cell phones too much (like me for instance) and other stuff, i wouldn't having the calendar and contacts. But games!!! that's a whole new story. I don't think it would be good idea to have games on ZM and mp3 players. IT will probably decrease your battery life, not user friendly because of the trackpad and bottons and all.
    Topic of iPods:
    Yes, i have used iPods several times, they have a different system and stuff fromt eh ZM and Creative. But! I own a ZM because i like the Zm's features. I bought the ZM because it fitted my needs the best.

  • Change sort order in line graph

    Sorry, my mistake !
    In one of the ColLabels i had placed the xsl:sort line ABOVE the xsl:for-each.
    So, now it is working.
    In a line graph I need to change the sort order of the elements in my XML file.
    I need the elements to be sorted by month number, so that january comes first, then february etc.
    I have an element in the XML file called DATE which has the format 'YYYYMMDD'
    I tried first to change the sort command for the Label.
    <ColLabels>
    <xsl:for-each select=".//XX_ROW" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:sort select="substring(DATE,5,2)"/>
    That worked fine, the label values are resorted as I wanted.
    Of course, I also have to set the same sort order for the data values.
    So I did that in the same way :
    <RowData>
    <xsl:for-each select=".//XX_ROW" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:sort select="substring(DATE,5,2)"/>
    But, to my surprise, I got an error :
    Caused by: oracle.xdo.parser.v2.XSLException: <Line 70, Column 45>:
    XML-22047: (Error) Invalid instantiation of 'xsl:sort' in 'RowData' context.
    Does anybody understand why this was not possible ?
    Is there another syntax for sorting in the RowData ?
    What's the use of being able to sort the X axis lable, if I am not able to sort the data ?
    Edited by: user792912 on 2011-maj-30 05:11

    This was an error I had made in the graph code.
    The xsl:sort line must be placed AFTER the xsl:for-each !

  • OBIEE 11g - sorting graph axis based on metric

    Hi, I'm trying to create a graph that show employee counts by various colleges on campus. I want the graph to look something like this (sorry for a text version, don't know how to upload a screenshot..this is supposed to represent a horizontal bar graph...):
    College Employee Count
    College 1 =================
    College 2 ============
    College 3 =======
    College 4 ====
    i.e. I'm trying to list the college dimension going on the vertical axis, but I need the values sorted in order of highest employee count to lowest, not alphabetically.
    I haven't figured out how to do this with a normal graph, but I have been able to do this using a pivot table and then displaying the associated view. However, I'm still having a major issue with this. If there are a lot of colleges selected (we have about 40 total), then the graph doesn't show a axis label for every bar. Instead, it looks like only every 4th bar is being labeled, the rest have bars but no labels. This really isn't (at all) what I need. I need each and every bar to be labeled.
    One solution I guess would be to (greatly) increase the vertical size - maybe change from Canvas Height = 330 to Canvas Height = 1024 or something. Unfortunately, that would make the graph take up the entire dashboard. And if a user had filter criteria set to only have 4 colleges selected, the graph would look horrible. What I really need is a simple scroll bar that lets the user scroll up and down in a fixed window. Is there any way to do that - or any similar functionality I could use? I see something called "Enable Zoom and Scroll" but haven't quite figured out how that works.
    Thanks in advance!
    Scott

    Actually, I've figured out that "zoom and scroll" is exactly what I want...sort of...
    To make the graph show up properly, I can zoom twice on the vertical axis and everything works great. Only problem I'm having is that if I save the graph, exit and go back in, the "zoom" setting isn't saved. Anyone know a way to get the zoom setting to "stick"?
    Also, is there a way to make the zoom icon (the little hourglass) always show up, instead of just when you happen to hover over it? An end user might not know it's there if it's not visible.
    Thanks,
    Scott

  • Cross tab & Line Graph – Data Sorting issue

    Hi,
    Want to display data in specific order in cross tab row & in graph as shown below
    Account Name
    Average
    Median
    In the same order data has been retrieved from the database but when it comes to Crystal report, its reordering the data in alphabetical order as shown below due to the order set in Group option
    Example: 1
    ABC
    Average
    Median
    Example: 2
    Average
    Median
    XYZ
    Please note u201CAverageu201D & Medianu201D are constant but Account name will vary based on selection.
    How this can be achieved? How Specific Order can be used in this case?
    Please help... Itu2019s urgentu2026
    Thanks,
    ThakurS

    Hi
    Under "chart expert" in "data" tab where you add the fields in chart you see "on change of" and "show" values..
    After adding the required on "change of fields" if you would highlight that field "group option"  tab will get enabled where you will find the "sort order" drop down. There is an option "In Original Order" which will sort the fields as fetched from Database
    Same option is available in Cross-Tab
    Regards,
    Shantanu

  • Crystal reports graph sort order

    I have 2 fields called fiscal year and fiscal month.
    Expected sort order - sample values:
    Fiscal year     Fiscal Month
    2011     5
    2011     5
    2011     6
    2011     7
    2011     8
    2011     9
    2011     10
    2011     11
    2011     12
    2012     1
    2012     2
    2012     3
    2012     4
    2012     5
    2012     5
    Current sort order- shows up incorrectly by default
    Fiscal Year  Fiscal Month
    2011          10
    2011          5
    2011          6
    2012         12
    I will be using these values in a graph and I created a new formula column called time PEriod that I will be in the
    x axis of my graph (mid({query.fiscal_mth_nbr1},1,3)) . the output of this formula is Oct,Nov, Dec,Jan,....Oct
    Without the year, but it still needs to be sorted in the first sample values order , since fiscal year starts in Jun and ends
    in July. We are now in fiscal year 2012 , fiscal month 6
    I tried sorting the value inside crystal reports by going to design view and applying sort. But it does not take the
    sort order. Can you please suggest the best way to keep the sort order. The data is coming from a universe and I even tried
    to sort the data from the universe by using order by, but the database would not let me use order by  that in a derived table within the universe.
    Edited by: developerbo1 on Nov 14, 2011 7:19 PM

    hello,
    the best way to get the correct dynamic sort is by using a two digit month in your conversion. for example
    totext({table.datefield}, 'yyyyMM')

  • Graphs: Label Sorting

    Hi all,
    New 11g user here.
    I have the following columns in my report:
    Date | Measure | Tag
    Jun 5 | 200 | 2
    Jun 6 | 100 | 2
    Jun 7 | 250 | 1
    I want to create a graph where in Date is on the x-axis, and Measure is on the y-axis (Tag is excluded). However, I want the order of the labels be based on the Tag first then the date.
    So the x-axis would look like this:
    Jun 7 - Jun 5 - Jun 6
    I tried adding the sort on the column itself (in Criteria), but it only sorts the Date.
    Help on this, please.
    Thank you.

    to do sorting on TAG you have to include the TAG into your chart. Put sort order on this column and hide it in the criteria tab and then try adding it on the X axis and see if it work.
    Best of Luck,
    Kashi

  • Sort legend area in stacked bar graph

    Hi!
    Is it possible to sort the legend area in a stacked bar graph?
    Br
    Casper

    In the chart data editor, click and drag one of the the rows to change the ordering:

Maybe you are looking for

  • How to find a specific text(string) in a list (100) programs

    Dear All, Wish tou a very happy new year 2009!!! please let me know how we can find a specific word(eg: "barrel") in a list of programs/reports/bdc/user exits/field exits/function modules. Thanks in advance. Kumar.

  • Error while displaying file " C:Temp Filename.Ext cannot be created"

    Dear Friends Some users face problem while display the file. They get message " C:\Temp\ Filename.Ext cannot be created ". I checked Details. I got explaination as follows. Caution! You are not authorized to work with temporary storage Message no. ED

  • MacBook Display Broken

    So last night I was in a car accident and my MacBooks display is broken. It is miss aligned and cracks in the display. What are my options does apple cover this? How can I get it repaired? Would my home insurance cover this?

  • Multiple records from one form

    Hi everyone, I am creating a sign-up form for users of a website - i need them to select from a number of categories that they want to be listed in. i am using a series of check boxes for them to select the categories. What i want to do is create a s

  • I Hate Censorsh

    You know things are bad when a company starts censoring things it said itself. Also locking the thread hoping it will sink away won't make the fiasco go with it. Perhaps "Creative" should base itself in Iran, China or North Korea where censorship is