Using script report
Hello
I am trying to export data at level 0 of the Entilty, but I need the level 1 entity in the lines aswell.
I am currently using the script below to export the data to Entilty level 0
PAGE
< PAGE ('Scenario', 'Version')
'Budget '.
"Spread".
LINES
< ROW ('Entity', 'Site', 'Year', ' account')
< OUTALTSELECT "PeopleSoft".
< LINK (< DESCENDANTS ("201", "Lev0, entity"))
{OUTALTNAMES}
< OUTALTSELECT "PeopleSoft".
< LINK (< DESCENDANTS ("MHRI Sites", "Lev0, Site"))
{OUTALTNAMES}
< OUTALTSELECT "default".
& BdgtYrCur / / proxy
{OUTALTNAMES}
< OUTALTSELECT "PeopleSoft".
< LINK (< DESCENDANTS ("profit Net-MRI ',"Lev0, account"))
{OUTALTNAMES}
COLUMNS
< COLUMN ("period")
"Jul".
"Aug.
"Ms."
"Oct."
'Nov.
"Dec".
"Jan".
"February".
"Mar".
"April".
'May '.
"Jun".
!
End of Script
Please suggest what to do if I need to export the combination of data 0 Lev1 and Lev of the entity dimension in rows side by side.
Thank you in advance.
If I understand what you're asking this can be done, unfortunately (it's quite a common request).
You want to show the parent and the child on the same straight line like that?
'100' «123.45 100-10 "»
"200" "567.89 200-10"»
Rather than repeat all the different options to work around this limitation (none of them very attractive, I'm afraid) here is a link to the CAs other threads that will explain more in detail:
If this isn't your condition, please explain further.
Tags: Business Intelligence
Similar Questions
-
whenever I'm on facebook, play games, I get a message that if I continue to use scripts, can lock up my computer.
I don't understand what that means.
What can I do to fix this?
I have windows xp
I guess that your topic is not correct, since it is the problem with the site NOT updated.
The problem of script depend on the site Web that when you play a game, there are several scripts written in the game that cause your browser becomes slow. Try to delete your browser history and also update your Windows.
It is advisable to report this problem to the game devloper, since this question primarily related to the design of the game, they could solve it.
-
Leave well as I a VI. Using scripts I can find all the objects of a particular type on the block diagram. Is there an easy way to tell is now drawing a design schema for the disabled around all nodes, I found?
Like lets say I want to find all nodes property on a block and disable them. The only solution I found was to find all nodes in property, by using the crossbar for GObjects, then I can make a new Structure to be disabled with the new object VI, put in the same place and the limits that the property node, with the same owner. But then, I still need to move the property node in the case of persons disabled structure. But then, I have all kinds of broken wires that were once on the property node that I now moved ousur. I need to understand how it was designed before the move, it wire to the tunnel Structure with disabilities then wire the tunnel on the pod on the property node. I need to do for each wired terminal and each property node. And then I need wiring through the case turned on the structure.
What I was hoping to find a way to pull the disabled schema structure using scripts, but perform the same operation as if I drew the structure is, and this are also all nodes I captured with my draw, in the case of people with disabilities. Is there a way to do this with scripts? Can anyone think of a simpler way to disable nodes using the design schema disabled? Thank you.
Try to use the method of Sélection Enclose . There is here an example of shipping for it:
examples\Application Control\VI Scripting\Moving Objects\Enclose selection and Move.vi
.. .aaaand I just now discover after the opening of this example that someone recommended this method recently for a new method of selection to reach 2 . I'll take the updated example.
Anyway, the strange thing about this method is that it must give the method a reference to an actual structure to define what kind of structure you want to encapsulate the code with. This requires usually drop a dummy structure, by calling Enclose Selection 2, then removing the dummy structure after that wraps the code.
-
Use scripts to create digital orders without button increase/decrease
I'll have fun using scripts to do things that were once "impossible", like the creation of a cluster programmatically in a list of variable names and their types associated with (use in a later program).
When I create a digital control on a front, she has the visible increment/decrement key, by default. I wanted to create controls without this feature, but I could not understand how (or even if it is possible, but I don't see why not).
Any ideas?
BS
Just above the digital named menu item is the one you are looking for: digital
Use the digital constant digital control for Style and class.
-
Use scripts to change the name of the tab
Hi all
I'm trying to use scripts to add tabs to a tab control in an existing VI. I am able to add new tabs easily enough, but I can't understand how to change the name of each tab when they are added. Each name is extracted a TDMS file using a loop for.
I looked through the existing discussion forums, and there are a few old messages that indicate I should look for the 'independent Label property', and that I should put it to allow me to change the caption of the tab. There is always an explanation of this property in the help files, but I am unable to find my path to it in the current schema.
Assuming that this property still exists in my version (2012), could someone tell me the correct sequence of references and property nodes to access this property? Right now I use the class "TabControl". If this property is obsolete, can someone let me know if there is a new method to achieve this? Thank you.
GSinMN
After you have added the page, download the Pages property of the index of the newly added page, tab control, use the PageLabel of this page for the label. It would be cool if the Add Page method returns the reference to the new page.
-
Hide the Excel using LabVIEW Report Generation Toolkit or active chart legend
Hello Eveyone:
I'm working on tool report generation in labview and creat excle report. I create the chart in the report, but I can't hide the chart legend or change the font size using the report generation tools.
I appriciate you guys time.
Thank you
Howdy!
What version of LabVIEW Report Generation Toolkit you use? Did you take a peek at the .vi LabVIEW example column chart (Excel)
and he looked at using the Excel insert graphical VI and Excel graphic Set do?
-
date of reading of hurt to excel using the report generator tool kit
Hello
Im trying to read a date from an excel worksheet by using the report generator tool. I talked about this http://digital.ni.com/public.nsf/allkb/01B026BEB54E3414862571B600618827 KB and it works... kind of.My dates are all read next 4 years and 1 day. Can't really understand why?
Any ideas would be appreciated!
Thank you
DavidThe format of the time in LabVIEW is distinguished by the time format in Excel. If you simply convert the timestamp cluster double
and paste that data into Excel, it won't make sense. This is because the Excel format is based on the number of days
Since January 1, 1900. The time of LabVIEW is based on the number of seconds elapsed since January 1, 1904. Converts this vi
LabVIEW to Excel time time. reverses the logic of switch from excel to labview -
Add the occurrence to a structure of the event by using scripts
Hello
IAM trying to (using scripts) updating a structure of the event (the case of the event add) on a vi is not on memory.
I get error 1054 the specified object was not found.
Here's a picture of him.
any help in this will greatly be apreaciated.
The error comes from the open air, because looking for structure in the wrong place. While it is perfectly logical that the owner would be the loop in practice yet script is not that friendly - you need to get the reference of the schema of the loop and use it as an owner.
-
How to display the drop-down list box in MS excel by using labview report generation toolkit? Please post the block diagram of the code so that I can able to generate from the drop-down list box in excel with the menu drop-down...
Like this. (edition, use the reference forms instead of the reference to the worksheet)
Ben64
-
How to use the report generation tool to get a list of bookmarks in a Word template
I'm working on a project where I need to use the report generation tool to fill a fairly long Word template. MS Office report Express VI can have entries for a maximum of 17 bookmarks that is not close enough to what I need to do.
I wonder if there is a way to use the lower level screws report generation to read the word template and return a list of the names of bookmark in the form of a table 1 d of string. The dialog box that allows you to implement the Express VI has this ability, but I'm not finding a way to scan the document programmatically.
I'm sure I can't be the first person to encounter this problem and I hope someone out there has found a good solution.
Found the answer to this one that I was looking for the forums. Apparently, you can do this directly through everything in the VI report tool, but there is a VI in Wordsub.llb do that.
-
Dump to IMPORT ORACLE 9i to ORACLE 11 G database by using script
Hi all
I'm trying to import a dump of an Oracle 9i database from exp in the Oracle 11 g database using script.
(1) the export using 9i client script:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#! / bin/sh
testsync_home= / home/oraexp / / DMPtestsync
log_home =/ home/oraexp/testsync/log
file userid=test/test@testsource exp = $testsync_home/usr 'date' + %m %d %Y ".dmp tables =userdata2015 ACCORDING = y compress = buffer n = 655350 log = $log_home/exp_test_usr.log
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2) the import using 9i client script. Import the dump into Oracle database 11g. The imp can't exit normally, although the data has already been imported into the testdb.
If the next part of the script can't be executed.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#! / bin/sh
"sync_date ='date + %m %d %Y"
testsync_home = / home/oraexp/testsync/dmp
log_home = / home/oraexp/testsync/log
sqlplus test/test@testdb < < EOF
truncate table userdata2015;
commit;
quit smoking
EXPRESSIONS OF FOLKLORE
file userid=test/test@testdb IMP = $testsync_home/usr 'date' + %m %d %Y ".dmp fromuser = touser = test test tables = userdata2015
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Can you please give me some advice on this situation?
Thank you very much in advance.
DO NOT USE THE DATAPUMP.
You do not use expdp and impdp.
You will use the 9i client exp and imp 11g client.
-
OBIEE 11G - how to find automatically physical table using a report
Hi all
Is it possible to take a catalog of reports and retrieve the complete list of database tables that use these reports. Suppose I have a
great list of reports may be 200 or more and I need to know what are the tables of these reports (analysis) are dependent on. Clearly, I could open an andextract the XML definition but I want to automate this processBest regards
Benoit
The XML definition does not have the physical database table - it doesn't even SQL logic.
SQL logic is generated when executing of referral Services, which sends it to the BI server, which then decides what physical tables, it will hit. Even in this case, according to things like global navigation your report even likely face different DB tables depending on the State of the hierarchical columns etc.
SampleApp includes some features that may be interesting for you - take a look at the dashboard page 10.21 physics of the Clause and see details on 10.11 (physical SQL Generator / physics of the Analyzer of the Clause).
-
I want to create new sequence from a clip using script.
I want to create new sequence from a clip using script.
You can pop the dialog box new sequence (which requires interaction from the user to confirm the name of sequence), or create a new sequence from a .sqpreset file (and specify the name); There is no API around the feature 'make a sequence corresponding to this project item', available in the project Panel.
-
How to "save under" a document by using scripts
I want to use scripts to automate the creation of badges of identity. I have a model PSD of the badge that includes a slot for the photo and a text field for the name. The approach that I took in my script is simple:
1. Invites the user to select the source for the pictures folder.2. for each folder in the folder, follow these steps:
-resize the photo-Copy the background of the photo layer
-close the document and the focus back on the PSD template
-Place the copied picture as a new layer
-It translates into a certain position if it fits in the slot of the picture of the model
-change the text in the text layer for the name of the photo, we have placed (which is the real name of the person)
3. save the photo in jpg with some given save options in a certain folder of output.
Step 1 and 2 only when needed. However, when I save the badge, I get a really strange error saying:
Here is all of the code (JS):
var sourceFolder = Folder.selectDialog ("Selecteaza folderul cu pozele: "); //prompt the user to select the source folder var files = new Array(); files = sourceFolder.getFiles (); //put the files from the folder inside an array var startRulerUnits = app.preferences.rulerUnits; //save the initial units used var startTypeUnits = app.preferences.typeUnits; app.preferences.rulerUnits = Units.PIXELS; //change the units to pixels so the translate command will work as expected app.preferences.typeUnits = TypeUnits.PIXELS; var mainDoc = app.documents.getByName ("Ecuson.psd"); //this is the name badge template var so = new JPEGSaveOptions(); //the save options i'll use with the save command so.embedColorProfile = true; so.formatOptions = FormatOptions.STANDARDBASELINE; so.matte = MatteType.WHITE; so.quality = 10; for(var i = 0; i<files.length; ++i){ //loop thru each photo in the folder var img = app.open(files[i]); //open the image var saveFile = new File("C:/Users/Eugen/Desktop/salvate/" + String.valueOf(i+1)); //this is the file where I'll save the jpg file var nume = img.name.replace(".jpg", ''); //this is the name of the image I just opened. I remove the jpg extension so only the name is left app.preferences.rulerUnits = startRulerUnits; //I change the units back t their original value as for this phase I need to use CM app.preferences.typeUnits = startTypeUnits; img.resizeImage (3, 4, 300); //resize the image to 3x4 cm at 300 dpi app.preferences.rulerUnits = Units.PIXELS; //change the units to pixels again app.preferences.typeUnits = TypeUnits.PIXELS; img.backgroundLayer.copy(); //copy the background (and only) layer of the image img.close(SaveOptions.DONOTSAVECHANGES); //close the document without saving changes app.activeDocument = mainDoc; //focus back on the badge template var pLayer = mainDoc.paste(); //paste the layer I just copied into the template pLayer.translate (-314, 33); //place the new layer where I need it to be mainDoc.layers.getByName("Name").textItem.contents = nume; //change the name on the badge to the name of the original file mainDoc.saveAs (saveFile, so, true, Extension.LOWERCASE); //this is ehere I have issues... } app.preferences.rulerUnits = startRulerUnits; //change back to centimeters app.preferences.typeUnits = startTypeUnits;
I guess that it may be a problem with the agument saveFile, I can save the jpg manually from photoshop.
PS: using CS6
Thank you!
I think you're line 17 it is. I'm not sure what you're doing with: String.valueOf (i + 1). You're simply trying to name as these files through a number? If this is the case, simply put: i + 1. You also use the incorrect syntax for your way. You do not have the jpg extension. The line should read:
var saveFile = new File("/c/Users/Eugen/Desktop/salvate/" + (i+1) + ".jpg");
-
How to use Crystal Report in JDeveloper
Hi all
I am a fresher JDeveloper. To date, I want to use Crystal Report 2008 in JDeveloper.
Thank you for supporting for me: how to put in place, config Crystal Report for use with JDeveloper.
share your demo for me if you have.
Thank you!
After installing Crystal Reports, you will get the Crystal Reports Designer.
To generate and view the jsf page report, you'll need to include libraries for running reports crystal and then report to the servlet.
There are also component Crystal Reports Viewer JSF then maybe you can integrate this component instead of custom java servlet.
@Timo
This blog you mentioned earlier is on jasper reports and not crystal reports
Dario
Maybe you are looking for
-
I tried to change my security questions that I forgot my answers, but I don't see any option to reset security issues? Need help please, I'm stuck with this? Will be appreciated if helped. Thank you SKLB
-
Windows 10 Skype 7.8.0.102 The Skype icon in my system tray does not automatically change its status online when I turn on my computer. Instead, I have to right-click, coup in line and change it myself. Once it is on it changes its status from a dist
-
Connectivity to wireless printer
I'm in the Mac environment more recent and running on the wireless network. I have problems with my 200 Color LaserJet MFP that whenever I have print something, the printer shows "offline". I have to restart the printer to resolve the issue, then m
-
Hello...When some one call me and I will not answer, which I can leave the calling window without rejecting the call?
-
Hello I had some problems putting an image... used the code below, but no scaling happens someone at - it an idea of what I'm doing wrong? QImage qImage = QImage::fromData(reply->readAll()).scaled(302,170,Qt::KeepAspectRatio); qDebug()