Is it possible to filter against data Points?

First post, so please let me know if I'm not following the correct format.

I have a report to the discoverer who shoots in 2 data points, the first is of $ gross turnover and the second is of $ turnover. For each data point, we have 2 different columns, one for direct sales and a column for the indirect sales. The report ends by displaying 4 columns of data.

Gross direct sales | Indirect gross sales | Net direct sales | Indirect net sales

I want to filter the report to show only 2 columns of data Indirect gross sales & Direct sales.

What is the best way to apply some type of filter to the data points? I tried to create a named calculation, but I was not able to produce the desired results.

Thanks for any help you may be able to provide.
I tried to search, but I was not able to locate a similar question.

Looks like you want to have 2 columns of 4 columns based on the data.

If so, what you were doing was OK IMO you want to create 2 calculations with each calculation using the CASE statement.

However, make sure that in the condition that you always keep it bring back the original 4 data columns.

On the first assumption, you might want to use the concept of this all about the entire CASE statement.

So, something like:

1 calc_direct

SUM (CASE source WHEN = "Direct" THEN END Net sales REST 0)

2 calc_indirect

SUM (CASE source WHEN 'InDirect' = THEN any OTHER gross sales 0 END)

Make sense?

Russ

Tags: Business Intelligence

Similar Questions

  • Is is possible to add a data Point to 'Stand hours?

    Hello

    I tried to add a data point to my hours of support in the application of health. I discovered, that 'stand hours' is the only category where the button "Add data Point" is missing. What is a possible way to add hours on another way?

    I'm not allowed in the place where my watch at work, where I am standing approximately 11 hours. Caused by this, I am not able to reach my goals.

    Hello

    It is not currently possible to manually add the credit toward the daily goal of Stand to your Apple Watch.

    If you want to suggest that Apple considers adding this as a new feature, you can do it here:

    https://www.Apple.com/feedback/watch.html

  • Line chart of several series with staggered data points

    Hello

    App of Hillary graphic sample includes an examples of charts and how to handle null values.

    https://Apex.Oracle.com/pls/Apex/f?p=36648:55

    I came across a scenario which goes a step further. If you have a series with a set of data points and another series that overlap, where a few data points are missing, for example:

    create table graph_lines (series number, thedate date, thevalue number);
    insert into graph_lines
    select 1 series
      ,add_months(trunc(sysdate,'yy'),rownum-1) thedate
      ,log(2,rownum) thevalue
    from dual
    connect by level <= 12
    union all
    select 2
      ,add_months(trunc(sysdate,'yy'),rownum-1)
      ,case when mod(rownum,3) =0 or rownum =2 then log(3,rownum) end
    from dual
    connect by level <= 12;
    

    I get the case where he's going to draw a line between the points that are next to each other, but the gaps it will display just the point

    graph.png

    Https://apex.oracle.com/pls/apex/f?p=73000:35 image

    I have no doubt a single this is the expected behavior, but I would like to know if anyone has any ideas on how to connect the dots.

    I thought about a snazzy model clause generates middle in my data points might work, but this seems heavy handed and a little scary.

    I thought that maybe there is a graphic solution?

    APEX 4.2.x

    Scott

    The idea of 'Null' removal was not all that possible. After testing it out, I found apex will be always generated empty points. Explicitly define the XML to have only the data points with values does nothing either.

    Because I thought it was a really interesting problem, I was wasting so much time on this :-). I was side on the reference guide and the user, modify the XML again and again and again.

    I hoped that, by defining a second category axis and set regional and datetime parameters, change of the shaft in one type datetime and specifying a main grid with every month, the table would be plot my data on this axis. Unfortunately, it seems as if this is ignored - a very frustrating experience. Anychart would just keep trace points with its own calculated intervals.

    Ultimately if I stumpled on a sort of difficulty, although I'm not sure how good it would be. There is a setting that you can set by using the custom XML part that ignores the missing data and the values of interpolation. It works well, but it always displays labels.

    https://Apex.Oracle.com/pls/Apex/f?p=11031:4 apex_demo/demo

    AnyChart | [AnyChart 6.x] How to connect mind lines...

    node - reference XML - AnyChart.Com Flash Chart Component

    With all these nodes, is it easy to miss what you need... It's a bit weird, but who "ignore the missing" points, you must set the value to "false"? :-)

  • is it possible to display the Date and time in the address bar or a clock window constantly

    I need to take screenshots with date stamps and time using the script of iMacros. Everything by taking screenshots iMacro don't add taskbar windows for the date and time. It takes screenshots of browser. Is it possible to display the Date and time in the address bar or a clock within the tab browser constantly to capture the screenshot with time stamp through iMacros
    I added the big clock background Add-ons, but it is visible to new tabs.

    Badly looking for help and it will be really appreciated...

    Try this extension:

  • Had to crash my computer. Lost my recovery key. My iphone have paired with the previous installation. is it possible to recover the data?

    In order to upgrade my Windows xp computer to Windows 7, I lost access to firefox without thinking to generate a recovery key. Is it possible to recover my data?

    If the only thing you have coupled to the account is an iPhone response is that unfortunately not. Customer iPhone (Firefox Home) is just a 'consumer' of data Sync and can't do much.

    My best advice is to keep sync iPhone to access bookmarks and transfer it manually to your new profile.

    Sorry to be the bearer of bad news.

  • Numbers - graphs and charts - how can I add notes to individual groups of points of data or data points in a series.

    I use a 2D line chart to show the status of my weight loss I will give my doctor.

    I want to select a group of data points, or individual data in the notes to table and place the points or the labels on them so I can identify things like water weight loss, the consumption of food and splurges, and so on.

    Thank you, Eric

    There is no such feature.

    You can, however, add a column to the table where you enter the data and make this new column 'Notes' or 'Description '.

    You can also use the arrows and other graphic elements in the menu "Shapes" to highlight specific items of interest.

  • A data point pixel position

    Hi all

    I would like to know where is the location of the mouse position to a point of data compared to the graph. basically, the opposite of this person's job action:

    The point value of graphic display WPF overview

    http://forums.NI.com/T5/Measurement-Studio-for-net/WPF-graph-display-point-value-on-hover/m-p/243395...

    Instead of getting a data point, hold the position of the mouse. I am the superposition of the shapes on the chart and would like to know for a specific point in the graph in pixel coordinates.

    Thank you.

    Of after your question, I assume you have a data value you want to translate (as opposed to an event arguments of mouse, which already has a GetPosition method).

    You can use the DataToScreen to get a position of the screen in the plot area, so use DesiredPlotAreaMargin to compensate for this position on-screen to reference external graphic control (i.e. point.X += margin.Left; point.Y += margin.Top ).

    You can also use the DataToRelative to get a relative position of a data point, then place an object in the Children collection (a bit like a PointAnnotation ):

    XAML


    xmlns: or = "http://schemas.ni.com/controls/2009/xaml/presentation."
    xmlns:niPrimitives = "http://schemas.ni.com/controls/2009/xaml/presentation/primitives".
    ...



    Width = "10".
    Height = "10".
    STROKE = "Black".
    StrokeThickness = "2".
    niPrimitives:RelativePanel.RelativeHorizontalAlignment = "Center"
    niPrimitives:RelativePanel.RelativeVerticalAlignment = "Center"
    />


    Code


    Parent = graphic point. DataToRelative (dataValue);
    RelativePanel.SetRelativeHorizontalPosition (dataMarker, relative. (X);
    RelativePanel.SetRelativeVerticalPosition (dataMarker, relative. Y);

  • How can, during the collection of data, start a new column in my table every 100 data points?

    Hello! I have a problem with my data - I get in a wide range of 1 x 1000, but it's the repeated measures, each taking about 500 data points. I want to break this table for this data string start a new column in my table every 500 points given. I don't know how to do it-please help!

    datacompiler100 wrote:

    Hey thanks for the sponsor and the first off I must apologize for the State, I am attaching my VI. I put the part of the VI that I am working on (my team has access, so didn't post everything here) and also attached the data file (when just written in a spreadsheet file, not through the attached VI). I want to convert the long row of data and then start a new column every 50, 100, 5 points (user-defined).

    Using the data from the file, you can reshape everything simply (as you already!), followed by transposition (since you want columns instead of rows). 2D arrays must always be rectangular, so the last column is filled with zeros if necessary. Is that what you want?

    Of course if you try to add a new column in a file, that will not work. You can only add lines in an existing file because of the way the data is organized. To add columns, the entire file must be read, intertwined and all re-written new data in the file.

  • Sampling rate - too much data points

    Hello community,

    I use a sensor signal strength of pressure on DAQmx labview through 2014. My rate from the hardware synchronization function is 50 KHz. The samples per channel of timing and read screws are the same set to 5 Khz when the channels are a continuous sampling. The problem I'm having is that when I run labview for a few seconds, say 5 seconds, I'm half million points of data. I tried to run for 10 seconds and points were more than a million where it is difficult to analyze. I think that the vi generates too much data points and the buffer is large. Am I wrong? Can you please help me solve this problem?

    Kind regards

    Mike

    You are now ready to learn a little of the power of LabVIEW and data flow programming.  LabVIEW is an inherently parallel language - two loops can run independently and in parallel, allowing you to make time-sensitive (such as sampling data) and a lot of time (such as data logging and tracing) at the same time, using queues to pass data between the loops and ensure the buffering required.

    If you open LabVIEW and click on the file menu in the toolbar, and then select new... (the points are important!), you will be able to create new ones (VI) from the model.  Choose a Framework, Design Patterns, producer/consumer Design Pattern (data).  It's what you want to do.

    You basically set up a "pure DAQ Acquisition Loop" (without logging TDMS) as producer, creation of 5000-element arrays of data every tenth of a second (if you are sampling at 50 kHz).  You create a queue of data outside the loop of producer whose elements are an array of 1 D of waveforms (the output of your Read DAQmx) and instead to send the data to a waveform graph, you put it in the queue.

    You are under this loop, a parallel loop that gets the same queue and remove items.  This loop will be sitting idle (no time taking CPU) until the data is queued.  He then it takes away the poster and registers (logs) in a PDM file.  Either way, you should open the TDMS file before entering this loop (consumer), write to the file inside the loop and close the file when the loop exits.  Study the example of the VI, you create with the model and see how it works.

    The beauty of this is that you can certainly 'keep up' with the writing of the data points in a TDMS file to 50 kHz.  You might not be able to display all the points, but there is nothing to prevent you from data processing (by, say, decimating or "block average" it) to a more 'user-friendly' display (your eyes ' sees' a 50 KHz signal?) -you have a set of 100 msec prior to the next package arrives in the queue.  Also note that the loop of producer probably takes very little time CPU - most of the time the material is waiting for its clock to 'tick', collection of points in a buffer, then transferring to the loop.

    Now you can have your cake and the computer display, too.

    Bob Schor

  • Flags Data Points: copy - lack of flags?

    I use DIAdem 2012 to extract a FFT points. Whenever I use the function ' copy of flags Data Points: "created channels are missing the last point data (flag). in other words channel contains n - 1 points.

    For the moment, I add an additional indicator to make sure I have copy all the flags that I really need, but I got apprcieate all the tips, I can miss something obvious... I have attached a screenshot.

    Thanks in advance!

    Padraig

    Hello

    Thanks for posting. I confirm that you are able to put all the flags you need, but that all those flags don't get copied? If that's what you do, you then select flags more than necessary, then copying all the? You may need to browse to re - select indicators and copy them, then start again.

  • Graph XY lasso data points

    Hello. I am looking for a way to draw several XY cursors, then use a lasso (like paint or photoshop) tool to select a subset of the sliders.

    Lasso would allow the user to outline to draw a region with the mouse to select cursors within the lassoed area.

    Labview graphics can do this natively? Or maybe someone knows an elegant solution to achieve this?

    Hi Marksyn,

    No, that behavior is not native in LabVIEW.

    First off, the selection can be rectangular, or should it be a "freeform"? The latter will be much more difficult to write, but it could look like this.

    Build an event structure and case of mouse event down / mouse upwards (to keep track of when you press the button) and mouse move the XY graph. In the case of mouse move, LabVIEW returns the coordinates of the mouse control panel each time it moves. For the XY coordinates, use a node to invoke the graph with the method "Panel of XY coordinates." Make a list of all the XY coordinates until the mouse button is released. This table is your free form boundary. The tricky part now is to get a list of the "sliders" (or do you mean data points?) included in this limit. Let us know when you make it that far.

  • several data points Boolean indiacator

    I run a program (which I'm still trying to work the kinks log data on) where I need to take several different channels and give me a warning if the temperature exceeds a certain limit. I'm 7 channels linking fieldpoint in a picture and sending it to a curve of waveform. I want each of these signals during playback to trigger a Boolean indiactor (LED) if the ambient temperature is more than 83. Ideally the temperature will be much higher later so I'll use it for fire tests (e.g. 1600) and it is very important that I get this down before we use the .vi in the fires of the test.

    For some reason, when I write to spread sheet file, I get 1 column of the last data point are met. There is also no time stamp on the left most column. I need to ensure that data are collected on every second and is stored in this file.

    I was also wondering if anyone knew how to change the names to write to destination of the spreadsheet (the gall that you create) file once instead of put the path in there. Finally, we will run several tests and we do not want to replace all the tests by accident. Please if someone could help with anything that would be great. Thank you!

    Tanya

    PS works with version 8.6

    Well, we can discuss one thing at a time. First of all, it is a way, you could do the evaluation of Boolean values.

    I think that I would split the data collection and processing of data in two loops. Have a loop that takes just the data and another that processes the data. This will also allow a state machine architecture. That would leave you do checks if a file exists before you leave and a few other things.

  • With an average of data points

    Hello

    My setup is run by labview and wishes to reduce the noise associated with my data by taking more medium.

    I would like to have the medium-sized data points and taking the average of them and save only the average at the same time the experience is

    instance. For example. My experience is voltage vs field. For each field, I want three readings of voltage and the software must calculate the average, then

    Enroll in the average in the data file. The reason why I do not repeat the measurement, it is that it would take some time to do it this way.

    Can you advise how to do this with labview.

    Thank you very much

    Hi Alain,

    Take a look at the attached vi. I think that this will solve your problem. It takes the average of the 3 simultaneous values of an array of random number and saves it in the txt file that you need.

    Kind regards

    Amine31

    (Bravo to give good answers, mark it as a solution if your problem is Sloved)

  • Is it possible to stop labview data hex autoconverting to a SQL database in ascii?

    Hi all

    I is currently working on a program that ask a SQL database for the data from the sensors and converts these data into a spreadsheet for future use.

    My problem is the following:
    I can access and read the data very well; However, the data I'm after are stored in the database as a hexadecimal number (example: "0 X 5727000...) ». When I pass this through this vi "DB Tools Fetch Item Data", he captures the data and the autoconverts it in ascii. It is a huge problem because the data contains several pieces of information and must be analyzed before his conversion in order to achieve the correct value (and wrong format in ascii).

    Is it possible to recover the data as a string containing only the hexagonal information? I already have the code that converts it to; I need as hexadecimal values and not ascii he tries to AutoFormat to.

    Your data are permanently binary.  And how it is stored in the database is a function of some program put in there.  It is not a case of LabVIEW doing any "autoconverting".

    "more labview uses the display format Hex to work more on television anyway.

    So the next question is what is the continuation of the work you want on these data?  There is a function call "String to Byte Array" that converts the characters in a table of U8.  So now, you have a table of numbers of U8.  What you then do with that depends on what all these data are supposed to represent.

  • a second data point display

    I want an output every second data point an excel sheet. I got it while it generates only one point of data accumlated. Each data point includes a timestamp, rate and volume.

    My VI is attached.


Maybe you are looking for