Pick a subject area at run time and create an analysis on this subject area.

We have a requirement wherein we need to create analyses at run time. We want to give the flexibility to users to pick up a subject area on which they wish to create an analysis. This will be done through a dashboard prompt. Once the user picks up a subject area from the prompt, we will create the analyses at run time based on the selected subject area.
The problem that we are facing at this point is how to create a dynamic 'FROM' clause for the analysis. As an example, consider the following scenario:
1. There is a dashboard prompt called 'Select a DataStore'. The possible values are all the subject areas in the RPD. For simplicity, lets assume there are two values DS1 and DS2.
2. If the user selects DS1, the analysis sql should be:
select <colgroup1>, <colgroup2>
from DS1;
However, if the user selects DS2, the analysis sql should be:
select <colgroup1>, <colgroup2>
from DS2;
Hence the requirement for a dynamic FROM clause.
I tried using a presentation variable in the from clause but I get the sql syntax error.
Is there a way of implementing this requirement?

To work around the license issue, see the Microsoft Knowledge Base article LICREQST.EXE Requesting a License Key from an Object and download licreqst.exe. Run licreqst.exe and find "CWUIControlsLib.CWSlide.1" under the registered controls section and click on it. The license string at the top can be passed to Licenses.Add and then you should be able to dynamically create the Measurement Studio controls. For example:
Private Sub Form_Load()
Licenses.Add "CWUIControlsLib.CWSlide.1", "[Add license string from licreqst here]"
Dim slide
Set slide = Controls.Add("CWUIControlsLib.CWSlide.1", "slide")
With slide
.Top = 120
.Width = 1215
.Visible = True
End With
End Sub
Creating controls like this would have an impact on performance since all calls are late bound. If you are using the Measurement Studio controls in a UserControl, though, you should not need to do this since the license would get compiled into the binary that contains the control. I don't think that you would have any problems creating your control since it would not be licensed.
- Elton

Similar Messages

  • How to know last run time and who ran the query

    Hi
    I am doing the analysis for all the queries , their last run time and who ran the query
    Since there are almost 6000 queries , is there any way to find out last run time and who ran the query
    in one step or through any transaction else It would huge effort taking task to check the data in BW statistics
    table for each query
    Regards,
    Vivek

    Hi,
    Statistics should be switched ON for all the queries first. You can check this in RSDDSTAT.
    Statistics data is stored in BW for a specific period only. This setting can be maintained in table RSADMIN (Field : TCT_KEEP_OLAP_DM_DATA_N_DAYS). If the value for the field is 30, then 30 days old statistics will be available at any point.
    Not all the queries will be ran daily. Some are ran daily, monthly and yearly depending upon User requirement.
    1. You can check in RSDDSTAT_OLAP for the details you needed.
    2. You can install the BI Technical Content and run the respective query for the details you needed.
    Hope this helps.
    Regards,
    Sunil

  • Attempting to install Forms 6.0.5.0.2 (or 6.0.8.8.0) run-time and 8.1.6 client on sam

    Attempting to install Forms 6.0.5.0.2 (or 6.0.8.8.0) run-time and 8.1.6 client on same NT box.
    1) I attempted to install 8.1.6 client first in c:\oracle\ora81, then Forms 6 in c:\oracle\forms6. The installer (3.3.1.2.4) errors, saying forms 6 does not support a multi-home installation.
    2) Attmpted to install Forms 6 first in c:\orant. Then installed 8.1.6 client in c:\oracle\ora81. After beginning installation (application user) the following Dependency message displays and the installation is canceled: "Installation cannot continue for the follwoing reason(s). [Oracle ODBC Driver is a single Oracle home product. It is already installed in location c:\oracle\ora81. Oracle provider for OLE DB is a single oracle home product. It is already installed in location c:\oracle\ora81. Oracle objects for OLE is a .... Pracle Provider for OLE is a single home ... You can either de-install these products or install the products in the same location as the single home products."
    Click ok and the installation cancels.
    How do I install these two products on the same box?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    We had to upgrade from 7.3.2 to 7.3.4 when we moved over to Forms
    6.0.5.0.2 and it's working fine.
    We are using Net 8 as well.
    Finn Ellebaek Nielsen (ChangeGroup ApS) (guest) wrote:
    : I have problems with Forms 6.0.5.0.2 running against an Oracle
    : 7.3.4 with Net8. When trying to insert or update records I get
    : an FRM-40508: ORACLE error: unable to INSERT record/FRM-40509:
    : ORACLE error: unable to UPDATE record. The Help | Display Error
    : menu item shows statement = "S3AVWU3wo|$6o|" (garbled
    : message), error = "ORA-12663: Services required by client not
    : available on the server" (sometimes it's "ORA-01403: no data
    : found").
    : It works fine against 8.0.5. As far as I'm aware Forms 6 is
    : certified against 7.3.4?
    : Any clues?
    : Thanks for your help.
    : Finn
    null

  • Custom Installer with Inno Setup (reduce size of Run-Time and VISA RT)

    Hi,
    we are using Inno Setup to install our Application. Up to now i include the full LabView 2009 SP1 Run-Time and the full VISA-RT
    (that are 302 MB). I have also made an installer using the internal tools of LV and the setup is only 163 MB. The LV removes
    some parts of the RunTime libraries.
    We are using only these parts:
    p0 MetaUninstaller\
    p1 VC2005MSMs\
    p10 NI-RPC\
    p11 XercesDelayLoad27\
    p12 NI-ORB\
    p13 NI-DIM\
    p14 NI_TraceEngine\
    p15 NI-PAL\
    p16 NI_Logos_XT\
    p17 TDMS\
    p18 MDFSupport\
    p19 MKL_900\
    p2 VC2008MSMs\
    p20 NI_Logos\
    p21 RT\
    p3 NI_Certificates\
    p4 NI-VISA_Runtime\
    p5 LabVIEW_RT_NBFIFO_90\
    p6 Service_Locator\
    p7 LabVIEW_Web_Server_RTE_90\
    p8 LabVIEW_WebServices_RTE_90\
    p9 mDNS_Responder\
    1. Is it allows to do that also using Inno Setup? I mean, am I allowd to do that? The license from
    NI etc. are all included. I want to save disc space...
    2. Is that wise? If not, why?
    Thanks

    Hello sjunge,
    basically there should be no problem installing the software with Inno Setup as long as you do not violate the License Agreements.
    But keep in mind that there could be dependencies between the installers you install and those you don't and you may run into trouble with the software later on
    Kind regards
    Carsten

  • How to measure query run time and mnitor performance

    Hai All,
                   A simple question. How to measure query run time and mnitor performance? I want to see the parameters like how long it took to execute, how much space it took etc.
    Thank you.

    hi,
    some ways
    1. use transaction st03, expert mode.
    2. tables rsddstat*
    3. install bw statistics (technical content)
    there are docs on this, also bi knowledge performance center.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
    BW Performance Tuning Knowledge Center - SAP Developer Network (SDN)
    Business Intelligence Performance Tuning [original link is broken]
    also take a look
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c8c4d794-0501-0010-a693-918a17e663cc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/31b6b490-0201-0010-e4b6-a1523327025e
    Prakash's weblog on this topic..
    /people/prakash.darji/blog/2006/01/27/query-creation-checklist
    /people/prakash.darji/blog/2006/01/26/query-optimization
    oss note
    557870 'FAQ BW Query Performance'
    and 567746 'Composite note BW 3.x performance Query and Web'.

  • Hi I'm trying to download the iOS 7 but it keeps on saying estimating the remaining time and it has been doing this for over a hour

    i am trying to download ios 7 but it keeps on say estimating time and it has been doing this for over a hour what do i do?

    Click here. This version can't sync any device running iOS 7.
    (90145)

  • What have i to do so my pdf security preferences are set each time i create  a pdf?

    Good morning,
    I'm looking for  the option so each time i create a pdf, my security preferences are on it automatically. I know the option on Adobe acrobat X but not on XI; any clue?
    Thanks in advance for answering my question.

    On acrobat X, I was using this option that we found in preferences.
    In that menu, i was looking for the button conversion au format pdf/convert to pdf, then microsoft office excel/word/powerpoint and i could set the important option: utiliser les dernières options de protection connues/use the last security's options known.
    However it disappears in the new version Adobe Acrobat XI.
    Can i have the same thing  in a different way?
    Respectfully,
    M. Vig

  • My MacBook Pro won't load any websites on Safari (except this site, Facebook and Google), Opera, or Mozilla Firefox. I already did the "Reset Safari", restarted the computer half a dozen times, and I can't find this alleged "caches.db" file to delete.

    My MacBook Pro won't load any websites on Safari (except this site, Facebook and Google). Opera and Mozilla Firefox won't load any sites whatsoever. I already did the "Reset Safari" several times, restarted the computer half a dozen times, and I can't find this alleged "caches.db" file to delete. I virus scanned the computer with Sophos, Avast, and iAntiVirus and it looks clean.

    Is iAntiVirus the best virus protection to use for a MacBook?
    The best anti-virus protection is your own common sense, and what you already bought and paid for with your Mac. Third party products such as "iAntiVirus" convey no additional benefit, and as you already determined are very capable of causing trouble.
    OS X already includes everything it needs to protect itself from viruses and malware. Keep it that way with software updates from Apple.
    A much better question is "how should I protect my Mac":
    Never install any product that claims to "speed up", "clean up", "optimize", or "accelerate" your Mac. Without exception, they will do the opposite.
    Never install pirated or "cracked" software, software obtained from dubious websites, or other questionable sources. Illegally obtained software is almost certain to contain malware.
    Don’t supply your password in response to a popup window requesting it, unless you know what it is and the reason your credentials are required.
    Don’t open email attachments from email addresses that you do not recognize, or click links contained in an email:
    Most of these are scams that direct you to fraudulent sites that attempt to convince you to disclose personal information.
    Such "phishing" attempts are the 21st century equivalent of a social exploit that has existed since the dawn of civilization. Don’t fall for it.
    Apple will never ask you to reveal personal information in an email. If you receive an unexpected email from Apple saying your account will be closed unless you take immediate action, just ignore it. If your iTunes or App Store account becomes disabled for valid reasons, you will know when you try to buy something or log in to this support site, and are unable to.
    Don’t install browser extensions unless you understand their purpose. Go to the Safari menu > Preferences > Extensions. If you see any extensions that you do not recognize or understand, simply click the Uninstall button and they will be gone.
    Don’t install Java unless you are certain that you need it:
    Java, a non-Apple product, is a potential vector for malware. If you are required to use Java, be mindful of that possibility.
    Java can be disabled in System Preferences.
    Despite its name JavaScript is unrelated to Java. No malware can infect your Mac through JavaScript. It’s OK to leave it enabled.
    Block browser popups: Safari menu > Preferences > Security > and check "Block popup windows":
    Popup windows are useful and required for some websites, but popups have devolved to become a common means to deliver targeted advertising that you probably do not want.
    Popups themselves cannot infect your Mac, but many contain resource-hungry code that will slow down Internet browsing.
    If you ever see a popup indicating it detected registry errors, that your Mac is infected with some ick, or that you won some prize, it is 100% fraudulent. Ignore it.
    Ignore hyperventilating popular media outlets that thrive by promoting fear and discord with entertainment products arrogantly presented as "news". Learn what real threats actually exist and how to arm yourself against them:
    The most serious threat to your data security is phishing. To date, most of these attempts have been pathetic and are easily recognized, but that is likely to change in the future as criminals become more clever.
    OS X viruses do not exist, but intentionally malicious or poorly written code, created by either nefarious or inept individuals, is nothing new.
    Never install something without first knowing what it is, what it does, how it works, and how to get rid of it when you don’t want it any more.
    If you elect to use "anti-virus" software, familiarize yourself with its limitations and potential to cause adverse effects, and apply the principle immediately preceding this one.
    Most such utilities will only slow down and destabilize your Mac while they look for viruses that do not exist, conveying no benefit whatsoever - other than to make you "feel good" about security, when you should actually be exercising sound judgment, derived from accurate knowledge, based on verifiable facts.
    Do install updates from Apple as they become available. No one knows more about Macs and how to protect them than the company that builds them.
    Summary: Use common sense and caution when you use your Mac, just like you would in any social context. There is no product, utility, or magic talisman that can protect you from all the evils of mankind.

  • Preferences are missing for Time Machine,how can I fix this?

    Preferences are missing from Time Machine,how can I fix this?

    Please don't SHOUT!
    We're all users here and you'll get more help if you give us some coherrent information.
    Firstly, do you have an external Hard Drive connected to use for your Time Machine backup?
    Secondly "stacks" is not a programme; it's one method of presenting folder icons in the dock, and is accessed from the 'view options' choice which appears if you click on the folder. Right-clicking the folder will go straight to the options menu.

  • New contacts are syncing between Outlook and iPhone but existing contact on iPhone are not showing up in Outlook, how do I get them into Outlook?

    New contacts are syncing between Outlook and iPhone but existing contacts on iPhone are not showing up in Outlook.  How do I get them to sync and into Outlook?

    Allan: This worked for this issue -- Thanks!
    https://discussions.apple.com/message/21353115#21353115

  • Hi we have apple credentials for downloading OS and creating Provisioning profiles. Now we are trying to upgrade the Mac OS 10.7.3 version. do we need should buy this version from appStore. or can it be download from the apple site for free?  Many thanks

    Hi we have apple credentials for downloading OS and creating Provisioning profiles. Now we are trying to upgrade the Mac OS 10.7.3 version. do we need should buy this version from appStore. or can it be download from the apple site for free?  Many thanks in advance!

    Whether you need to buy Mac OS X 10.7.3 depends on what version of OS X you have now.
    If you have OS X 10.6.x or lower it is a paid upgrade from the Mac AppStore.
    If you have OS X 10.7.x it is a free upgrade you get using Software Update on your Mac.

  • I'm in the U.K. but my icloud emails are U.S. time stamped, how can I change this?

    I'm in the U.K. but my icloud emails are U.S. time stamped, how can I change this?

    Hi foxie-d,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    iCloud: If email shows the wrong time
    http://support.apple.com/kb/PH2644
    When you send or receive email, the time it was sent or received appears in the email header (the information at the top of the email). If the time shown in your email header is incorrect, you need to change the time zone setting for your iCloud account.
    Change the time zone on iCloud.com
    Click your account name, then choose Account Settings.
    Click Time Zone, then click a time zone on the map.
    You can also click the time zone name below the map, then choose a time zone from the pop-up menu.
    Click Done.
    You need to log out of iCloud, then log back in to see the changed time zone in iCloud Mail.
    Happy New Year!
    - Judy

  • DSC 8.6.1 run-time and LV2009 executable are they working together ?

    Hi All,
    In my application  I first deploy shared variables and when they all have depleoyed the main application starts. My deployment procedure is something like that:
    0. Select first library
    1. check if  library is already running on SVE
    2. if not deploy it
    3. check next library
    Most of my variables in libraries are connected to OPC variables. OPC server is located in other computer and there is a LAN network between computers. I have noticed that when I execute my application exe only few of libraries are deployed to SVE. Eg. If I remove all processes(libraries) from SVE and start my application only 7/28 libraries are deployded. If I deploy those libraries manually from LV2009 project everything is okay. 
    On my computer is installed LV2009 development and DSC 8.6.1 run-time. Our target is remove LV2009 immediately after we have edited and tested  all our variables and libraries. Is there a potential risk that application which is made on LV2009 don't work with DSC run-time 8.6.1?  Have anyone else noticed problem when deploying variables from application exe? 
    BR, Jim 

    Meg K. B. , 
    It sounds like you are experiencing Time Stamp Counter (TSC) Drift as mentioned in the KB's for the AMD Multi-Core processors. However, according to this wikipedia article on TSC's, the Intel Core 2 Duo's "time-stamp counter increments at a constant rate.......Constant TSC behavior ensures that the duration of each clock tick is
    uniform and supports the use of the TSC as a wall clock timer even if
    the processor core changes frequency." This seems to suggest that it would be not be the case that you are seeing the issue mentioned in the KBs.
    Can you provide the exact modle of the Core 2 Duo processor that you are using?
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • Is there a way to install exe of a vi on an XP machine without LV run-time and not have to restart?

    Hi,
    I need to deploy an application that reads channels from a FP module for testing purposes. The problem is, I cannot restart the system I need to install this on because it is running critical control software which cannot be interrupted. The system does not have the labview run-time engine and I know installing this requires a restart of XP probably due to registering DLLs or something.
    I'm using "Fieldpoint Network Read" to read from the module. The simple answer would be to simply install this on a machine on the same network that I can restart. However, I have no such luxury because I am connecting to the system in question over a long distance VPN connection and I need to be able to poll the data from the FP every 250ms which may be too much for the connection. 
    So basically, I need to find a way to read data from this FP in a manner similar to "FP Network Read" without restarting the system.  Is there any way to do this with labview? Alternatively, I may be able to write this app using LabWindows since I know some software is already running on that machine programmed with that.
    Solved!
    Go to Solution.

    The first thing I'd say is that a restart may not be necessary.  I have in the past installed LabVIEW development environment and when asked I said I would restart later.  Then I opened LabVIEW and started coding.  I'm not sure what it thinks it needs to restart for but it may not be required.
    The other thing I'd like to mention is that LabVIEW 7.1 and older can run EXEs without needing to install a run time engine.  So it is possible to build a EXE in 7.1, then include some files and DLLs in the same directory as the EXE, and when it is ran it will use them.  There's probably issues with talking to DAQ devices without MAX and I have no idea how you address this but it is another possibility.
    Of course you already know the best answer and that is to reboot the system when most convenient.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Open second form at run-time (and transfer variables)

    Hi,
    i'm searching for a method to open a second (maybe attached) form from an existing form at run-time.
    The goal would be to have a button in a form which runs a function as click event that opens the second form and transfer field values from the existing form to the new opened form.
    To new form should opened in a separate Adobe Reader window because the user should have the possibility to save or print the both forms separately.
    Regards

    Hi,
    check this solution.
    http://blogs.adobe.com/formfeed/2010/07/shared_data_in_packages_part_2.html

Maybe you are looking for

  • ITunes 10.1.1.4 - Unable to add songs from Windows Library

    Hello, I have just installed the latest version of iTunes, I apologize if I have entered the wrong version in the thread title, however - I am now unable to drag and drop songs from my Windows Folder Library into my Playlists on my iPod Touch into th

  • Cost of Sales to PA

    I'm currently trying to use SAP series sales and create acontract for a product.  When the contract is created and billed an invoice is also created at which point FI postings are made to recievables and deferred revenue.  After running revenue recog

  • Dynamic read of file for File Port

    As per our project requirement have to use File Port to pick a set of IDOC Flat files from a given directory. The File Port only allows us to pick a file with a specific given name and does not allow us to pull file with a pattern for .eg. We can pul

  • Differences between Product Version SAP ERP 2005 and SAP ECC 6.0

    Hello Guys, I have to setup an new XI interface between two R/3 system. During Integration Scenario setup you have to select under Application Component Type the Product version for the R/3 systems. Now, i am able to select SAP ERP 2005 or SAP ECC 6.

  • A Mighty Mouse and a Mighty 1 year Old Clash

    I've got a mouse question about, uh, the Mighty Mouse (the one that allows has five buttons, and a scroll dot. it was included in my quad purchase a couple of months back). My one year old son likes the red light underneath my mouse, and will try to