Is there a better approach to show the distinct count measures?

Experts,
I have a requirement in which I want to diplay 20+ calculated columns. The coulmns are something like this..
No of clients with income < 10000 (to check against sales measure in fact table)
No of Clients with sales > 500000 (to check against sales measure in fact table)
No of clients whose join date > 1st jan current year ( to check against cust_start_dt of client Dim)
No of clients with size "Medium" (to check agains a column client_size of Client Dim)
No of clients with sell product units > 500 (Need to check units in PROD Dim)
and so on..
Well, I can write a case statement using expression builder for each column in the criteria, but the report performance is very bad. My client dimension is a huge partitioned table. As I keep on adding columns, the report takes more time to fetch data and at some point it never comes back.
We tried to push to calculations to database, but since users can provide any selection criteria from dashboard prompt, it doesn't seem to work.
If anyone had done any similar request in the past, please direct.

Jared,
Thank you for responding to my posted message. Rendezvous is a new concept to me, maybe
it's the solution to my problem. I have been trying to read the on line manual and
example VIs from National Instruments website. I still have a hard time to understand
the concept.
One of the example I saw is using rendezvous to run some sub VIs. But in my case, I have
only one VI that is a while loop. Inside the while loop, there are a few tasks running
simultaneously. I don't know whether it will serve my purpose.
Guangde Wang
Jared O'Mara wrote:
> Guangde,
>
> Referring to your 2nd method, use rendezvous (under advanced>>synchronize
> on function palette) to synchronize two processes. There are good examples
> that come with labview. basically, you cre
ate a rendezvous, giving it a
> size. Using the wait on rendezvous vi, a function will not continue until
> all rendezvous have reached that point. Using this method, you can synchronize
> your 2 while loops.
>
> Jared
>
> Guangde Wang wrote:
> >I tried two ways to control the tempo of my program.>>One is to use the
> While Loop's counter and a wait. The drawback of this>method is the cycle
> length is dependent on the measuring load. So if the>program runs for days,
> it will be significent off the real time.>>The other way is to use the difference
> of the Tick Count. It provides>accurate timing but the problem is the sychronization
> of the clock cycle>and the While Loop cycle. I can try to put a little bit
> wait but still>can not sychronize them very well. So after a while, there
> will be two>measures get together.>>I don't know whether there are some better
> ways to control the program>or whether we have some ways to improve either
> or both of the above
two>methods to make them work better. Please let me
> know if you have any>suggestion.>>Thank you in advance,>>Guangde Wang>

Similar Messages

  • HT1351 I have a apple ipod touch but recently I restored all the settings, as well as the applications. But now I am not able to add songs to it. There is blank screen that shows the symbol like to connect to itunes first. I'm not able to use that... Plea

    I have a apple ipod touch but recently I restored all the settings, as well as the applications. But now I am not able to add songs to it. There is blank screen that shows the symbol like to connect to itunes first. I'm not able to use that... Please help

    The iPod's firmware is corrupt. You'll need to restore it again in iTunes. If necessary, place the iPod in recovery mode for iTunes to recognize the device. Use the instructions in this Apple support document to walk you through the process of placing the iPod Touch into recovery mode.
    iOS: Unable to update or restore
    B-rock

  • After turning on iMAC the sign in page comes up and accept my password. It then goes to a page with a background pictures but nothing else. If I leave it there it eventually fades and shows the clock.  How to I get it to open from there?

    After turning on iMAC the sign in page comes up and accept my password. It then goes to a page with a background pictures but nothing else. If I leave it there it eventually fades and shows the clock.  How to I get it to open from there?

    Hello,
    See if it'll Safe Boot from the HD, (holding Shift key down at bootup).

  • Is there a way to just show the lines that have keys on?

    Hi,
    Is there a way to just show the lines of the pararameters that have keys on?
    Thanks.

    Select all of the layers in the timeline, and hit the "u" key.

  • Is there a predifined column which shows the number of support messages

    Hi,
    In test management work list (STWB_WORK), is there a predifined column which shows the number of support messages raised against a message (Yellow spark symbol), there is no ALV layout defined for this scenario, please advice is there any configuration required for this column to be displayed or a development has to be carried out?
    Regards
    Prakash Kalluru

    Hi
    Have you ever used the tab Messages in the same transaction
    It will list all the messages
    since its ALV display you can filter as per requirement
    Hope this solves ur prb
    Regards
    Prakhar

  • HT201210 i have an iphone 4s and there is a prompt that shows the itunes icon and a connection cable under it, i cant remove it.....connected to itunes and itunes said we are not connected to internet but i am....any help out there

    I have an iphone 4s and there is a prompt that shows the itunes icon and a connection cable i plugged it in and itunes is saying im not connected to the internet but i am....any help out there???

    If you are getting a message that iTunes is not connected to the Internet, try looking at this article: http://support.apple.com/kb/TS1490

  • Is there is any way to show the nomber of shares of any post in facebook page using android view not desktop view

    is there is any way to show the nomber of shares of any post in facebook page using android view not desktop view

    Sorry, its not related to Mozilla Profucts.

  • I need to play back a video-recording i have taken myself and have it show the time count in seconds on the play back. Can you help?

    I need to play back a video-recording that I have taken myself and have it show the time counter in secs/minutes in the playback. Can anyone help?

    the movie editing app "Avid Studio" displays a time counter, as does the Pinnacle editing app.  Oddly enough, I movie does not.  (unless I have it somehow turned off.)

  • The distinct count issue?

    Hello experts,
      So, I have an OBI report (table view).  I needed to get the percentage difference btn 2 columns, I did. Then I had to summarize  difference in 4 buckets (0-15, 16-30, 31-50, >50%); I did (case statement). NOW,  I need to summarize(distinct count) the above buckets based on Store numbers for each day.
    Basically, if the difference is btn(0-5%) and I have 5 stores then I need to see 5 stores separately. The problem I am having when I do the distinct count instead of having the counts separately for each bucket I am getting the total.  I see the buckets summarized, but the store column is showing the total number of all(we have about 700 stores) instead of breaking down the count for each bucket.  In the stores column I am using the distinct count function, I don't know if the problem is here or the case statement.
    I know its Friday, still I believe there is someone who might have an idea on my dilemma.
    As always, your insights are highly appreciated,

    Header 1
    Header 2
    Header 3
    Header 4
    Header 5
    Header 6
    Date
    Store Count
    Sales
    Todate Sales
    Difference %
    Difference buckets
    03/24/2013
    698
    716,374
    717,011
    -0%
    0-15%
    03/25/2013
    698
    583,335
    583,793
    -0%
    0-15%
    03/26/2013
    698
    220,640
    220,886
    -0%
    0-15%
    03/27/2013
    698
    236,803
    188,150
    215
    11-30%
    Header 8
    Srini,
      I am still not good at using OTN tables, but above is what I am talking about. Basically, The store count should not show the total count of all stores, instead it should show only distinct count that within the percentage bucket. As u can see it gives me the total, I made sure the aggregate rule isn't sum. By the way, could the problem be the case statement not the store column..
    I also tried bucket and store only, still it shows the sum of all stores and not just distinct.
    any idea

  • What would be the better approach at showing a course is complete?

    (OT: I'm being evlauated to do some online software simulations using Captivate so I'm trying to merge my Authorware "thinking" with Captivate)
    I have a 14 slide simulation; task to edit preference files. Scoring is not necessary but getting to slide 14 is all that is necessary.
    Presently I have a click object on slide 13 whose reporting options is "Include in Quiz" with adding 1 point.
    So I have a course with Objective ID=Quiz10111 Interaction ID=Interaction11184 and a score of 1.
    But I also note in the reporting preferences I could use "Slide views only." So maybe this is all that is necessary?
    I'm not that savy (yet) with LMS's but if I wanted to write this data out as a tab delimited file on the hosting server what should I consider? Authorware had a function "WriteExtFIle." Would a button on the last slide set to execute Javascript be a better approach?
    Another idea looking for a point of view. If I get the project I am considering a 2 month contract Adobe Acrobat Connect Pro to get more confortable with this approach. Would this help?
    FYI...I just downloaded the Captivate 4 manual. Last modified on May 19th according to the doscument.
    Thanks

    Regarding your function hanging, that seems to be because your loop never ends. Also the inner query is missing a WHERE clause:
    Select Translate(comnt_rec.comment_text,'%#$^',' ') into repvalue from test_comnt;  <-- How many rows will this bring back?However I don't think you meant to query the test_comnt table at all - it looks as though you just wanted to assign the result of the TRANSLATE expression (btw please, TRANSLATE() or translate() but not Translate() - the parser doesn't care but it drives me nuts), in which case just
    repvalue := translate(comnt_rec.comment_text,'%#$^',' ');or even include the expression in the cursor itself and save yourself the trouble.
    Another thing that drives me nuts, although not the rest of the world apparently, is the name "c1" for a cursor. Why don't you name your variables "v1", "v2" etc? If you had two cursors would you seriously name the second one "c2"?
    While I'm at it, what kind of a name is "test_comnt"?

  • Is There a Keyboard Combo to Show the Old Screen Rotation in the Displays Setting?

    Hi. Usually Apple's Option key shows hidden features in OS X but it doesn't seem to show the screen rotation (90, 180, 270, degrees if I remember.) anymore. Is there a Terminal or a keyboard combo that'll make it appear because I need to use Grab to screengrab a whole prayer and it will only fit it's rotated sideways on this iMac (27") under its native resolution.
    Thank you in advance.
    God bless.

    Try holding the Option AND Command keys when launching Displays from System Preferences.

  • Is there a better external drive than the one Apple offers?

    Hello all,
    I've got the 15" Macbook Pro with Retina display, and of course I don't have a disc drive, was just wondering if there was a better quality drive than the one Apple offers? I will be using this drive to burn audio onto CDs if that helps (I DJ)
    ***Sidenote: I have no problem with paying for or using the Apple one, I just didn't want to get it to then find out that another brands' drive does the same or a better job for less money
    Thank you all in advance,
    Ryan Huff

    I actually have been reading some stuff online and came here after mixed reviews, I guess it's a very subjective topic,
    Like I said I've got no problems with the apple one, thank you for your help!

  • Is there a utility that will show the actual ram voltage in Windows?

    Sorry for the newbie question.  ASUS had this utility that showed the actual ram voltage in windows.  I don't think it'd work with an MSI motherboard.    And I don't think any of the overclocking utilities show the actual ram voltage.  The reason I asked was because the ASUS P5N-D overvolted my ram by .1 volts.    If I set 2.2v in the BIOS, it would overvolt the ram to 2.3v.  That's not exactly the greatest thing.  I just wanted to check if my brand spanking new P7N Diamond is doing the ram voltage accurately.  It should be right?  Oh and I have cheapo Patriot memory ram.  It's rated at 2.2 volts.  Seems like all PC2 6400 ram is rated at 2.2 volts these days though.  Maybe a 2.1v somewhere but that's becoming more and more rare.  Thanks.

    yeah...  LOL.  Everest shows what you've set it to.  I can just look in the BIOS or just like remember 2 seconds into the past.  :-P  I guess there isn't something for that.  Just as I thought.  I wonder if I can trick the ASUS utility into thinking that I'm running an ASUS board.  :-P  Probably wouldn't work right anyway though.

  • Specified Order Grouping does not show if Distinct Count is Zero

    Post Author: Hieu
    CA Forum: General
    Hello,
    I'm using Crystal Reports XI R2 with SQL data source. I have a cross-tab report with grouping in specified order. It's a report of applicants applying to a college. The grouping is of various majors (degrees). The report summarizes (distinct counts) the number of applicants for the groups of majors. The problem is that if the count for a group of major is zero, then that Named Group does not appear at all in the cross-tab report. I want the Name Group to appear with the count of "0".
    I notice this same phenomenon with specified order grouping anywhere and not just in a cross-tab. I have tried changing "convert database/other null values to default" but nothing working yet.
    Any help will be most appreciated. Thanks.

    Post Author: synapsevampire
    CA Forum: General
    It's not a phenomenon, it's how databases and SQL works.
    You didn't get any rows back for those with a zero distinct count (otherwise the count would be 1 or more, right?), so Crystal doesn't show any data for those groups.
    So to display a zero for those that do not exist would reuire either advanced SQL, or manual summaries.
    One method for manual summaries is to use Running Totals. Select distinct count of the applicants and group by the majors, then in the evaluate use a formula place:
    {table.majors} = "Blah 1"
    Creating a seperate Running Total for every group and replacing "Blah 1" with the various majors.
    -kai

  • Is there a better calendar app for the iphone?

    I have the iphone. Love it! But, I am coming over from the blackberry and I am use to the calendar functionality like scheduling To-Do's,accept or decline meeting invites, set priorities to your meetings and setup a daily meeting that skips the weekends. What I'm looking for is either the ability to sync with all of my outlook features like To-do's or purchase a application that can will expand the current iPhone calendar function. I'm even willing to abandon outlook to get this working. I know this may sound ignorant to apple users but, does iCal work on windows vista or xp and is it a better replacement for outlooks?
    Message was edited by: macruzin

    Wish I had better news, but there's really no way to sync Outlook To-Do's with the iPhone. iCal does not run on anything other than Mac OS X, but even so, the To-Do list in iCal does not sync with the iPhone either (if that's any consolation).
    There are a few task manager-type apps in the App Store, but the major limitation is that 3rd party apps do not run in the background, so to get task/event reminders, you'd have to have that app open all the time.
    You can submit feedback to Apple: http://www.apple.com/feedback/iphone.html.

Maybe you are looking for

  • How to capture excise in MIGO and refer the same excise invoice to customer

    Hi experts,                I am doing STO manufacturing plant to depot... i am creating STO order where No excises duties are there .Then , i create delivery by processing VL10B and create proforma invoice which is where i maintain all the condition

  • Macbook Pro Retina 15, Stop bluetooth device during file I/O on Bootcamp Windows7

    Hi. My Macbook pro Retina 15, Stop magic mouse & apple bluetooth keyboard during some file copy local folder or usb storege or nas on bootcamp windows7 pro 64bit. I called apple korea. but they don't have answers. also It base on bootcamp windows, th

  • How to get the PO response number

    hi, i need to get the Purchase Order Response number for a given PO number and item. i have checked BBP_PD_PO_GETHISTORY FM, for few of po numbers i'm not able to find the POR number in this FM. can anyone suggest how to get the POresponse number. he

  • Dynamic create class

    hi, I want to create a class dynamic and using it in a program. How this can be done ? Thanks Wilson

  • Can anyone help with a vi?

    Hello I changed a vi that i was using by mistake. There was a device name going into the vi. I opened up the vi and i deleted the device name control and when i tried to put it back it wouldnt work. Now i cant input the device name to the vi and it i