Input a variable for the time shift 'TIME=NEXT(var)'
Hi experts,
Is there any way to make the parameter on the time shift 'TIME=NEXT(%var%)'
the idea is the user would input/send the value that will be place on the NEXT parameter..
I've tried using the get statement but it doesn't retrieve the values.,..
*REC(ACCOUNT="ACCT1",TIME=NEXT(GET(ACCOUNT="ACCT2")))
it doesn't work.. i also tried the lookup.. it also doesnt work...
Thanks,
BennieJay
Hi again nilanjan chatterjee,
The process that we want to achieve is we want to make a sort of scheduling for the transactions.
where the date of the lenght of the transaction is to be inputted in months. and for that we need to make use of the time shift NEXT. but the length should be variable because it is inputted.
Thanks.
Bennie Jay
Similar Messages
-
Do I need a computer to use my ipad for the very first time?
I would like to know if I buy an iPad, shall I need to have a computer to start it for the very first time?
I mean do I need to do plug in or can I start without plug in?The new iPad does not need to be activated using iTunes. You will need a WiFi connection to activate it, but not a computer.
If you are buying an iPad2, if it does not already have iOS 5 on it, then you would need a computer running the latest version of iTunes, -
Which external hard drive should I use/choose as I am setting up Time Machine on my MacBook Pro 15 for the very first time?
Any of these SATA HDDs that are at least the same size as your internal HDD (preferably larger capacity). In addition you will need an enclosure, preferably one with a Firewire as well as a USB connection.
http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/
Ciao. -
Hyperion System 9.3.1 reports taking longer time for the very first time
We are on Hyperion System 9.3.1. The Financial reports are taking longer time (like 2 to 3 minuter) for the very first time for each login. The subsequest reports are does work faster.
The behaviour is same for the Production and Development environments.
All the reporting services have given enough JVM heap size.
FYI, Reporting and Workspace runngin on the same server. Workspace/Reporting are clusted in two servers. HFM app is running on different server. HFM web is on different server. Shared Services is also on running on different server.
Any help would be greately appreciated.
Thanks.The reason they run quicker the subsequent times, is because the data has already been cached in the system.
You could try the usual tricks to speed the report up:
- move items into POV
- have children and parent in the same row
- arrange dimensions in inverse outline order
- remove excessive formatting
- push report calculations back to the data source
We have found that using lots of dynamically calculated members also slows down reports, so try and limit the number of these.
Hope this helps. If not maybe give us an idea of how the report is created to see if other changes could be made. -
Min,Max for a time Range and Sum of Records for the last date/time
Hi All,
I have a table with the following structure/data:
create table Events (
[EventID]
int NOT NULL,
[Title]
nvarchar(200) NOT NULL,
[SourceName] nvarchar(20) NOT NULL,
[Type]
int NOT NULL,
[eDate]
datetime
insert into Events values(100, 'Event 1', 'S01', 3,'2014-01-01 00:00:00.000')
insert into Events values(100, 'Event 1', 'S07', 3,'2014-01-01 00:00:00.000')
insert into Events values(100, 'Event 1', 'S08', 3,'2014-01-01 00:00:00.000')
insert into Events values(100, 'Event 1', 'S09', 3,'2014-01-01 00:00:00.000')
insert into Events values(101, 'Event 2', 'S010', 3,'2014-01-01 00:00:00.000')
insert into Events values(102, 'Event 3', 'S03', 3,'2014-01-01 00:00:00.000')
insert into Events values(100, 'Event 1', 'S04', 3,'2014-01-01 00:00:00.000')
insert into Events values(101, 'Event 2', 'S05', 3,'2014-01-01 00:00:00.000')
insert into Events values(102, 'Event 3', 'S06', 3,'2014-01-01 00:00:00.000')
insert into Events values(100, 'Event 1', 'S01', 3,'2014-02-01 00:00:00.000')
insert into Events values(101, 'Event 2', 'S02', 3,'2014-02-01 00:00:00.000')
insert into Events values(102, 'Event 3', 'S03', 3,'2014-02-01 00:00:00.000')
insert into Events values(100, 'Event 1', 'S04', 3,'2014-02-01 00:00:00.000')
insert into Events values(101, 'Event 2', 'S05', 3,'2014-02-01 00:00:00.000')
insert into Events values(102, 'Event 3', 'S06', 3,'2014-02-01 00:00:00.000')
insert into Events values(100, 'Event 1', 'S01', 3,'2014-03-01 00:00:00.000')
insert into Events values(101, 'Event 2', 'S02', 3,'2014-03-01 00:00:00.000')
insert into Events values(102, 'Event 3', 'S03', 3,'2014-03-01 00:00:00.000')
insert into Events values(100, 'Event 1', 'S04', 3,'2014-03-01 00:00:00.000')
insert into Events values(101, 'Event 2', 'S05', 3,'2014-03-01 00:00:00.000')
insert into Events values(102, 'Event 3', 'S06', 3,'2014-03-01 00:00:00.000')
And I wrote the following query:
select EventID as [Event ID],
Title,
count(distinct(SourceName)) as [Instances],
Type,
min(eDate) as [First Detected],
max(eDate) as [Last Detected],
datediff(d,min(eDate),max(eDate)) as [Delta (days)]
from Events
where type = 3
group by EventID, Title, Type
having max(eDate) <> min(eDate)
and max(eDate) =(select top 1 eDate from Events order by eDate desc)
and I get the following results (see the instance number)
Event ID Title Instances Type First Detected Last Detected
Delta (days)
=============================================================================================================================
100 Event 1 5 3 2014-01-01 00:00:00.000 2014-03-01 00:00:00.000
59
101 Event 2
3 3 2014-01-01 00:00:00.000 2014-03-01 00:00:00.000 59
102 Event 3
2 3 2014-01-01 00:00:00.000 2014-03-01 00:00:00.000 59
This is normal for this query however what I need to do is a little different.
In other words, while I need to show when we recorded a specific event first and last time,
I need to display the results for the last date/time when it was recorded.
For example what I need to provide should look like this:
Event ID Title Instances Type First Detected
Last Detected Delta (days)
=============================================================================================================================
100 Event 1 2 3
2014-01-01 00:00:00.000 2014-03-01 00:00:00.000 59
101 Event 2 2 3
2014-01-01 00:00:00.000 2014-03-01 00:00:00.000 59
102 Event 3
2 3 2014-01-01 00:00:00.000 2014-03-01 00:00:00.000
59
Could you please help me to fix this query?
TIA,
John;With cte As
(Select EventID as [Event ID],
Title,
SourceName,
Type,
min(eDate) Over(Partition By EventID, Title, Type) as [First Detected],
max(eDate) Over(Partition By EventID, Title, Type) as [Last Detected],
eDate,
datediff(d,min(eDate) Over(Partition By EventID, Title, Type),max(eDate) Over(Partition By EventID, Title, Type)) as [Delta (days)],
max(eDate) Over() As MaxEDate
from Events
where type = 3)
Select [Event ID],
Title,
COUNT(Distinct SourceName) As Instances,
Type,
[First Detected],
[Last Detected],
[Delta (days)]
From cte
Where eDate = MaxEDate And [First Detected] <> [Last Detected]
Group By [Event ID],
Title,
Type,
[First Detected],
[Last Detected],
[Delta (days)];
Tom
P.S. Thanks for providing the DDL and data. That is always very helpful. -
HT201250 This backup is too large for the backup disk /Time machine
This backup is too large for the backup disk /Time machine
You can go into options on the time capsule setup and select a few things you dont want to backup to make your backup small enough. You might have to wipe the time capsule if you have another backup on there and trying to do a new machine backup or something like that
-
I mainly just use my iTunes for organizing and adding new songs. Most of the time I listen to my music on my iPhone. I wish it would keep track of how many times I play a song in my music and transfer it to the computer under the 'number of times played' column. It would help out so much! Does anyone know if there is a way for the number of time a song has been played on your iPhone/iPod be transferred to the songs on your iTunes number of plays?
Hi @imobl,
You sound like an Apple support guy who hasn't been able to answer my questions.
To respond to some of the points you made,
- I did not ignore Ocean20's suggestion. If you has read my post, you would have known that I took my phone to the apple service centre where they tried this restore on THEIR machines. I am assuming that Apple guys know how not to block iTunes. So I actually do not understand your point about me trying the hosts file changes on my machine. Do you not believe that apple tested this issue with the correct settings?
- you also give a flawed logic of why the issue is a hardware issue. You mentioned that If I thought that the issue was with the software, i should try a restore and getting it to work. The problem is that my error (23), and many others comes up when the restore fails. And you would be astonished to know that not all errors are hardware errors. Sometimes even software errors prevent restores. Funnily enough Apple itself mention that 'in rare cases, error 23 could be hardware related'.
- all Apple has done so far is replicate the issue. I don not know how anyone can conclude that the issue is a hardware issue.
And by the way, I am not certain that this is a software bug. Again if you read my Posts, you will notice I only want a confirmation,/proof that the issue is hardware related as they mention..
Please refrain do. Responding if there is nothing to add. -
Hierarchy variable for the char
Hi All,
Can v creat the Hierarchy variable for the char who does not hav the heir. another thing is whats the procedure to create the hierarchy variable bcoz when i select the char to create the variable its showing var of type char. how i hav to change it to hierarchy.
Thanxhie,
i think i understood what you want.
I think you can achieve this by following way.
1) create a text variable for user entry. For which user enters values 2, 3, or 4 as you said.
2) create a dummy calculated key figure and assign this text variable to its description
3) when query will execute, user inputs values 2 or 3 or 4 which will be reflected in the output in the title of the new dummy KF.
4) then write a macro to read that value and delete 1 or 2 or 3 columns from output as necessary before user can access the actual results.
Regards,
Purvang -
ODI - to declare the variable for the path in Modules & Interface
Hi,
I have different server names like Development, Test & Production. I have installed ODI client in my local machine.
1. For creating *10 modules*, i have the flat files in Development server. For now i can hard code the path by \\Development\ODI_FileStore....
2. In the Interface i am using the hard coded paths for the logs.
Is there any possibility to create a variable for the shared folder and use that variable (like environment variables ...) instaed of using the hardcoded path. If so, can you explain tme how i can create.
Your advise will help me a lot and will be appreciated.
Thanks & Regards
DhamuDhamu,
I think when you say modules, you mean models.
To use multiple files in the same interface, you can use ODI variables.
Read this link for more information : http://odiexperts.com/multiple-files-single-interface -
Use a variable for the integer in Fmt offset modifier
I'm trying to pluck values out of a long array of comma separated string
values.
I'm doing this within a loop and would like to use the loop interation to
point to the starting point in the array.
Here's what I have working so far:
Fmt (scratch,"%s<%s[i0t44]",transmitBuf);
Works great.
Now if I go in and change i0 to i3 then my modifier doesn't start looking
for a comma "," until after the 3rd character. Still working great. However....
If I try to use an integer called "loop" instead of the literal offset
value it blows up:
Fmt (scratch,"%s<%s[iloopt44]",transmitBuf);
Is there a way that I can use a variable for the integer portion of the
offset modifer?
Thanks All!Hi Roberto
Thank you. I actually need to use a symbolic value for the interger section of the modifer vs. the specifier.
So, in my example:
Fmt (scratch,"%s<%s[i0t44]",transmitBuf);
I want to make the following substitution (Assume z=0)
Fmt (scratch,"%s<%s[izt44]",transmitBuf);
Some background...
I'm looking to loop index through a long CSV string array (transmitBuf) that looks like this:
1,PEEP,7,6,,,21,20,
So on my first loop when I use the following:
Fmt (scratch,"%s<%s[i0t44]",transmitBuf);
scratch = "1"
... Perfect. I now do a string length of scratch (which equals 1)
and add 1 to it, I'm ready for my next loop which would
literally read like this:
Fmt (scratch,"%s<%s[i2t44]",transmitBuf);
However, I want to put this inside a loop, so I would like to
increment a variable (++z) and use the following:
Fmt (scratch,"%s<%s[izt44]",transmitBuf); ---- Ka-Boom!
So it's the use of the variable in the modifer that blows up
the Fmt command.
appreciate any thoughts...
Thanks
Mark -
How to create Variables for the Key Figures
Hi All,
How to create Variables for the Key Figures
Thanks
BhaskarHi,
It is not possible to create the variables on Key figures directly. But we can create a formula variable with processing type 'User Entry' ,SO that the user entered value can be used in the calculations of the query.
With rgds,
Anil Kumar Sharma .P -
Two selection option-variables for the same object
Hi,
I'm using two selection-option variables for the same characteristic in my query:
One is authorization variable and the other is used for restrictions (filter) in a selection screen.
I get an error: SELOPT/Query variable .... does not allow any further selections.
If a selection option-variable is used, no additional selections can be specified for this characteristic in this element.
Is there a way to overcome this problem?
Thanks,
HagitHi,
I have solved the problem by changing the authorization object (in RSECADMIN) from range to single value and also the variable in BEx from selection single value.
To be more clear:
object in RSECADMIN was: infoobject BT var1 - var5
I have changed it to:
infoobject EQ var1
infoobject EQ var2
infoobject EQ var3
infoobject EQ var4
infoobject EQ var5
Hope this helps.
Hagit -
What is the best way to create shared variable for multiple Real time (PXI) to GUI PC? I have 16 Nos of PXI system in network and 1 nos of GUI PC. I want to send command to all the PXI system with using single variable from GUI PC(Like Start Data acquisition, Stop data Acquisition) and I also want data from each PXI system to GUI PC display purpose. Can anybody suggest me best performance system configuration. Where to create variable?(Host PC or at individual PXI system).
Dear Ravens,
I want to control real-time application from host(Command from GUI PC to PXI).Host PC should have access to all 16 sets PXI's variable. During communication failure with PXI, Host will stop data display for particular station.
Ravens Fan wrote:
Either. For the best performance, you need to determine what that means. Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables? If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
You want to located the shared variable library on whatever machine is more critical. That is probably each PXI machine, but only you know your application.
Ravens Fan wrote:
Either. For the best performance, you need to determine what that means. Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables? If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
You want to located the shared variable library on whatever machine is more critical. That is probably each PXI machine, but only you know your application. -
Does Vision Development Module obviate the need for the Vision Run Time Engine?
I have several computers with the full version of Labview (8.0.1 and\or 8.2) as well as the most recent version of the Vision Development Module (VDM 8.2.1), all fully registered and activated. In addition, I have one computer we have designated the "build" computer which has the professional version of LV 8.2 as well as LV 8.0.1 Full version w/ Application Builder (we have delayed migrating certain applications to 8.2 for various reasons). Instead of distributing applications as source distributions to these computers (uncompiled VIs), we would like to use our build computer to compile applications that make use of the Vision image processing VIs. I know that all of these computers have the appropriate LV run time engines installed, but I was wondering if I need to install (and thus purchase) the Vision Run Time Engine for each of these computers. I know that when you install VDM, you also get a copy of the vision RTE (in C:\Program Files\National Instruments\Vision\Run-Time Engine). Does this mean the engine is already installed and ready to run compiled applications? Or do we need to pay for the engine on each computer?
The Development module includes the RTE for that machine.
For the other machines, you will need to purchase the Vision RTE and install and activate for each machine. See the KB article below for more details.
http://digital.ni.com/public.nsf/websearch/F1699570F78FECBB86256B5200665134?OpenDocument
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. -
HT3209 paid for the movie 3 times still black screen
I have made 3 Purchases sofar my first was a movie in HD for 4.99 and the screen totally blacked out i tried fixing it but no luck, I then downloaded it in SD and still the screen will be black and the movie will not play i rented it again for 3.99 still no luck. please can you help me.
Hi,
Not sure if you are still having this problem, but appears I do also. What I found was if I pressed CTL-ALT-DEL and selected the Task Manager (this is on a windows PC) that it would return to the desktop where I could see iTunes again. If I pressed play again the movie displayed and worked perfectly. From then on, as long as I stayed with that movie and did not stop iTunes then I could stop and restart the movie several times successfully. But as soon as I stopped iTunes and restarted it, I had to go through the same process again.
From what I can see it is as if iTunes is either validating something or setting something up to play the movie. It completes that task and then forgets to start the movie. By clicking Play the second time it works.
Hopefully you found a solution to this,
Craig
Maybe you are looking for
-
"File not found" error in Office Web Apps
Hi, i have set up in my single server farm the Office Web Apps as descripted in the following article: Deploy Office Web Apps (Installed on SharePoint 2010 Products) When i create now a new SiteCollection based on the Blank Template and create a docu
-
I used my apple ID for my daughters new iPod and now we have the same number! Please help
I just started up my daughters new iPod and use my apple id and now we have the same number! How do I change this on my daughters iPod? I want her to be able to use my apple ID but I'd like her to have her own number... Is this possible?
-
What's going on with dynafaces? And where can I contact someone involved?
Hi, I like dynafaces and its approach to ajax, but I'm a bit worried about the state of the project and whether it has a future. The official mailing list is dead (something like 3 messages in the last month, all from the same guy, all unanswered), a
-
I preorder an album but only 4 songs where downloaded but the rest of the album is not it only says purchased, please help me resolve this matter!?
-
[svn] 1150: More direct syntax tree generation work-in-progress.
Revision: 1150 Author: [email protected] Date: 2008-04-08 14:56:01 -0700 (Tue, 08 Apr 2008) Log Message: More direct syntax tree generation work-in-progress. FlexStore now compiles and runs with -generate-abstract-syntax-tree set to true, but we stil