Most Current Data
Hi,
There is the variable 0S_RQMRC "Most Current Data"
for BW 3.5 for transactional cube in BEx.
Can anybody say what can i use in Netweaver 2004s
instead of this variable for real-time cube?
Thank you.
Go to the RSRT Properties and you can specify the ability to read open requests directly in the data integrity property.
Similar Messages
-
Trying to find selling price based on most current date
Need help on finding the selling price based on the most current date. I'm able to get the current date but not the selling price for that date. Any help will be appreciated.
Thank you in advance.
This is the pivot table I'm working with. The price should be 5.81 but it's picking up the highest price and not the last price.
Formula for current date is =LASTDATE('Product Cost'[EFFDATE])
Formula for current price is =LASTNONBLANK('Product Cost'[STDCOST],LASTDATE('Product Cost'[EFFDATE]))
Row Labels
Current Date
Current Price
1152
09/29/2014
6.01
Should be 5.81
1/1/2009
01/01/2009
5.5
7/9/2009
07/09/2009
5.11
1/4/2010
01/04/2010
5.15
4/12/2010
04/12/2010
5.18
7/12/2010
07/12/2010
5.18
10/27/2010
10/27/2010
5.18
12/21/2010
12/21/2010
5.48
12/27/2010
12/27/2010
5.18
1/5/2011
01/05/2011
5.48
1/17/2011
01/17/2011
5.47
4/4/2011
04/04/2011
5.56
8/22/2011
08/22/2011
5.45
1/2/2012
01/02/2012
5.9
1/2/2013
01/02/2013
6.01
1/6/2014
01/06/2014
5.84
9/29/2014
09/29/2014
5.81Hi Mike,
Something like this should give you the behaviour you're after:
Current Price:=
CALCULATE(
MIN(Product Cost[STDCOST]),
FILTER(
ALL(Product Cost),
Product Cost[EFFDATE] = MAX(Product Cost[EFFDATE])
Regards,
Michael Amadi
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
Website: http://www.nimblelearn.com
Blog: http://www.nimblelearn.com/blog
Twitter: @nimblelearn -
BI Integrated Planning - Most Current Data in Query
Hi Experts,
I have a small question about Integrated Planning, for a better understanding.
in a workbook I have a reporting query and a button. the button triggers a planning function that is executed at another query (which is not displayed in the workbook).
Both query's are built upon the same aggregate of a real time InfoProvider.
Now when I execute the planning function, the new data (that is in the open request in the infoProvider) made by the planning function, is immediately displayed in the reporting query.
But I did not inserted a 'most current data' infoobject in the reporting query.
So how come that the data in the open request is displayed in my reporting query?
Is this a new functionality of IP?
Gr,
K
Edited by: Koen V on Feb 12, 2008 8:22 AMThanks for the fast reply.
Two times yes:
- I meant the variable 'most current data'.
- the queries are built on the same aggregate.
So when you built a query on an aggregate on which a function is executed, it reads automatically the most current data.
How does this happens? Is this a filter that is automatically set on the aggregate?
I will assign points.
Gr,
K -
What is the best way to keep 7 days most current data in tabledata
Hi,
Can anybody help me to keep most recent 7 days data in a table? any data older than 7 days should be removed which cen be done once a day.
What is the best way to do this? partition, re_create table or anything else?
Thanks
GeorgeHave you considered partitioning the table? You could then drop the oldest partition every day, which would be marginally quicker & easier than deleting the 10,000 rows. 100,000 rows is a pretty small table to partition, but it may be worth considering.
I wouldn't expect there to be a significant difference on query performance no matter how you set this up. You won't reset the high water mark, but that is only important when you are doing a full table scan and Oracle will reuse the space for the current day's data, so it's not like the high water mark will be constantly increasing.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
T/X model SORTing Find/Search results from Most Current Entry
Have the Palm T/X model, and use the FIND/search function constantly.
The results always come up from the earliest (oldest) entry to the most current.
This is a major league pain-in-the-butt especially when there are tons of entries to go thru to get to the most current date.
Is there any way to sort the FIND results so that they show from most Recent entry to the oldest.
This would be a HUGE Help.
Thx!
Post relates to: Palm TXThere is a pulsing, reddish dot in the middle of the
blue light but on the hard drive itself, I don't see
any "lights" in any "menu bar".
It's at blue circle with a white Q-shaped symbol at the right end of your menu bar.
If you dare to use the terminal application (can be found in the utilities folder) you can use the following command to re-index that drive. Start Terminal and type (or paste) the following line and hit enter:
sudo mdutil -E "/Volumes/xxx/"
Replace "xxx" with the name of Your drive! If there is a space in that name type it like "/Volumes/My\ Drive/"! You will be prompted for Your admin password to proceed. -
How to select the most recent date in a CR XI subreport
Post Author: rickcf
CA Forum: General
I have a sub report and it is simply a reporting of a sub table. It is a table that has multiple records with many dates coupled with types. I only want the most current date for certain types - the types can have more than one date. Much like the following select statement
select type, max(date) from table where type <> 'E' group by type.
How can I accomplish this in crystal?
ThanksPost Author: Jagan
CA Forum: General
Group on type. Use record selection formula for type <> E, use group selection formula for the max date. e.g. group formula is{table.date} = maximum({table.date, table.type}) -
Posting a full years worth but only display current date
i am wondering how i go about posting my rss feed for the whole year but only allow itunes to read the current date? i understand from research that it takes the most current date and uses that as the first. but if i wanted to display September's 06 podcast in September and not July's 07 then how would i do that. i have seen some software that you can purchase that will do this for you, but i would rather code it my self or with the help of others. does anyone have any ideas on how this is done? or have you done it your self. any thoughts or ideas are very welcomed.
not quite. i have cooking videos that i would like to be availbe new episode every 2 weeks. so my rss feed is set up with 27 diferent items, because 52/2=27 52 is the number of weeks. any who so there are 27 diferent items in the rss feed all with the diferent dates. (item 1= aug 30, item 2=sept sept 13, item 3= sept 27....) but on sept 13 the only items that should display would be the aug 30th and the sept 13th. but when sept 27th roles around all prev. are displayed includeing the new sept 27th episode.
i understand that i can just reupload the rss feed and ping the system. but i am just trying to see if i can do this automated style for ease of use and to be able to concentrate on other things.
thank you for your quick reply. -
Update once only most current record that meets conditions
Want to only allow the most current date with the stateID of 1 to update once and not update after the intial update when running sql code over again.
changeTypeID containerID stateID dateEntered note
UPDATE 900172-0800 5 2014-09-23 04:38:29.313 Pallet #71809
UPDATE 900172-0800 1 2014-11-20 09:17:51.017
UPDATE 900172-0800 10 2014-11-24 15:03:32.177 900172-0800->Destroyed
UPDATE 900172-0800 10 2014-11-24 15:04:00.777 900172-0800->Destroyed
UPDATE 900172-0800 10 2014-11-24 15:05:44.763 900172-0800->Destroyed
SELECT containerID
INTO #Temp
ContainerHistory
WHERE dateEntered >= DATEADD(DAY, DATEDIFF(DAY, 0, CURRENT_TIMESTAMP) -1, 0)
AND dateEntered < DATEADD(DAY, DATEDIFF(DAY, 0, CURRENT_TIMESTAMP), 0)
AND stateID = 1 ORDER BY dateEntered DESC ????
UPDATE ContainerStates
SET stateID = 10,
dateEntered = getdate(),
note = containerID + '->Destroyed'
WHERE containerID IN (
SELECT barCode AS containerID FROM #Temp WHERE containerExpired = 1>> Want to only allow the most current date with the state_id of 1 to update once and not update after the initial update when running SQL code over again. <<
Please follow basic Netiquette and post the DDL we need to answer this. Do you know how to follow industry and ANSI/ISO standards? You should follow ISO-11179 rules for naming data elements. You hjave noi idea what that means. Avoid dialect in favor of
ANSI/ISO Standard SQL.
There is no such attribute as a “change_type_id” in RDBMS. You can have a “<something>_id” “<something>_type” but not a weird mix of attribute proprieties. Likewise, “state_id” makes no sense. If you meant a status, then you need two dates to show
when that state of being applied to the entity.
To track the history of, say, Foobars we need to see time as a continuum and model it as (begin_date, end_date) pairs that define when a foobar had a particular value. Here is the skeleton.
CREATE TABLE Foobar_History
(foo_id CHAR(9) NOT NULL,
start_date DATE NOT NULL,
end_date DATE, --null means current
CHECK (start_date <= end_date),
foo_status INTEGER NOT NULL,
PRIMARY KEY (foo_id, start_date));
When the end_date is NULL, that state of being is still current. You use a simple query for the status on any particular date;
SELECT *
FROM Foobar
WHERE @in_cal_date
BETWEEN start_date
AND COALESCE (end_date, CURRENT_TIMESTAMP);
There are more tricks in the DDL to prevent gaps, etc
CREATE TABLE Events
(event_id CHAR(10) NOT NULL,
previous_event_end_date DATE NOT NULL
CONSTRAINT Chained_Dates
REFERENCES Events (event_end_date),
event_start_date DATE NOT NULL,
event_end_date DATE UNIQUE, -- null means event in progress
PRIMARY KEY (event_id, event_start_date),
CONSTRAINT Event_Order_Valid
CHECK (event_start_date <= event_end_date),
CONSTRAINT Chained_Dates
CHECK (DATEADD(DAY, 1, previous_event_end_date) = event_start_date)
-- CHECK (previous_event_end_date + INTERVAL '01' DAYS) = event_start_date)
-- disable the Chained_Dates constraint
ALTER TABLE Events NOCHECK CONSTRAINT Chained_Dates;
GO
-- insert a starter row
INSERT INTO Events(event_id, previous_event_end_date, event_start_date, event_end_date)
VALUES ('Foo Fest', '2010-01-01', '2010-01-02', '2010-01-05');
GO
-- enable the constraint in the table
ALTER TABLE Events CHECK CONSTRAINT Chained_Dates;
GO
-- this works
INSERT INTO Events(event_id, previous_event_end_date, event_start_date, event_end_date)
VALUES ('Glob Week', '2010-01-05', '2010-01-06', '2010-01-10');
-- this fails
INSERT INTO Events(event_id, previous_event_end_date, event_start_date, event_end_date)
VALUES ('Snoob', '2010-01-09', '2010-01-11', '2010-01-15');
What you did post is awful. Why did you append “->Destroyed” to an identifier? This is redundant AND destroys the integrity of the original encoding. Why do you use a local temp table? This mimics a 1950's scratch tape and no SQL programmer would use
it. Why would a note repeat another column?
Please read this and try again.
https://www.simple-talk.com/sql/t-sql-programming/state-transition-constraints/
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
Most recent date in report filter.
Hi,
I have a report with a date column. I would like to run the report for the most current date. I would like to add a filter to the report which pulls data for the most current as of date. Which would be the best method to use in the filter. Please advise. Thanks.First, you need to determine what the date column is that contains the dates you want to filter on. So say you have a Processing Date column which houses the dates transactions are processed.
1) Add this date column to your workspace.
2) Click on the filter button of this column and then on Advanced>Convert this filter to SQL.
3) After the name of the column, enter MAX(date_column). So you will have:
"Table name"."Date Column" = MAX("Table name"."Date Column")
Now chances are you will have many reports that need the "most recent date" filter. Therefore, what you should really do is build this filter in the repository and expose it as a Saved Filter for all to use. -
How to get the most current file based on date and time stamp using SSIS?
Hello,
Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
Thanks
thx regards dinesh vvhi simon
i excuted this script it is giving error..
Microsoft SQL Server Integration Services Script Task
Write scripts using Microsoft Visual C# 2008.
The ScriptMain is the entry point class of the script.
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
[System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
#region VSTA generated code
enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
#endregion
The execution engine calls this method when the task executes.
To access the object model, use the Dts property. Connections, variables, events,
and logging features are available as members of the Dts property as shown in the following examples.
To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
To post a log entry, call Dts.Log("This is my log text", 999, null);
To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
To use the connections collection use something like the following:
ConnectionManager cm = Dts.Connections.Add("OLEDB");
cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
To open Help, press F1.
public void Main()
string file = Dts.Variables["User::FolderName"].Value.ToString();
string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
System.IO.FileInfo finf;
DateTime currentDate = new DateTime();
string lastFile = string.Empty;
foreach (string f in files)
finf = new System.IO.FileInfo(f);
if (finf.CreationTime >= currentDate)
currentDate = finf.CreationTime;
lastFile = f;
Dts.Variables["User::LastFile"].Value = lastFile;
Dts.TaskResult = (int)ScriptResults.Success;
thx regards dinesh vv -
Although my ipod shows the number of steps, calories, and time, it no longer is saving it to the history. Also when I open the history it takes me to May 2010 instead of the current date. Any ideas on how to get it to start recording the history again?
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try another cable
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar
The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
Thus, if you get it to work restore to factory settings/new iPod, not from backup
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
How do I clean up two user names and share most current music on laptop with the older computer and out of date ipod music. I have to do this carefully, so I don't lose the most current music library on the laptop?
If those older shuffles work and have the songs on them...
For songs purchased from the iTunes Store, you can use iTunes to transfer from iPod to computer. The command (in the current version of iTunes) is at
iTunes Menu Bar -> File -> Devices -> Transfer Purchases from [name of iPod]
However, you may need to have your current computer authorized with the Apple ID (iTunes Store account) used to make the purchase. If you do not, the purchases from that Apple ID may not transfer.
There are third-party methods and utiltiies (not using iTunes) to transfer song files from iPod to computer. These should not care about Apple ID or that a particular song was purchased from iTunes Store or not. If you do a Google search on something like "ipod transfer," you should get some links.
Once the song files from the two older shuffles are transferred to your computer, you can add those songs to your iTunes library. Then, sync your 4th gen shuffle from the "consolidated" iTunes library. -
Current date, first day of month, last day of month, current week, current
Hi All,
may be the question will sounds basic for your guys, I am connecting via MDX a cognos reportnet on a BW 3.0B..due to loads of limitations on filtering via MDX on 'business date/time functions' , I would need to create in the infoqueries that are my data sources, the following additionnal objects:
- current date
- first day of current month
- last day of current month
- current week
- current year
I do not want prefiltered infoqueiries but object with these single values so that from reportnet I can have something like: OCALDAY between 'first day of current month' and 'last day of curent month'
Is there standard fonction for this under BW/BEX or if we need to developp functions has nayone some code examples.
thanks a lot for your great input
DavidHi,
In universe level if you want implement the requirede functions then you have to write custom sql and if you want to implement them in Reporting level then most of the functions are available to you. e.g. Quarter,Month, Year, Current Date....
Cheers,
Suresh A. -
Please help! Looking for script to insert current date on page.
I currently use a Dreamweaver Extension that lets you insert
current date and time on your web page.
The problem is, I don't know Javascript and cannot edit the
Javascript codes to "remove the time"
I only need the current date that will change every day.
Do you know where I can get this script, I goggled and got
several but I'm looking for something authentic.
Also is it possible to have your page validate when you use
Javascript embedded in your HTML?
Thanks everyone,
Patrickquote:
Originally posted by:
Newsgroup User
Webethics wrote:
> The problem is, I don't know Javascript and cannot edit
the Javascript codes
> to "remove the time"
> I only need the current date that will change every day.
JavaScript generates the date by using the clock on the
computer of each
visitor to your site. If a visitor's clock has the wrong
date, your site
will also display the wrong date.
> Do you know where I can get this script, I goggled and
got several but I'm
> looking for something authentic.
I don't know what you mean by "authentic". Date generation in
JavaScript
is one of the most basic features of the language, so if it
works, it's
"authentic".
> Also is it possible to have your page validate when you
use Javascript
> embedded in your HTML?
Yes, but you shouldn't embed JavaScript in XHTML.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
So mr. Powers are there people that use Javascript Date in
their page?
Would you recommend it?
I could use PHP but I don't know PHP,
How do I come up with the string in this format, say,
Wednesday, October 29th, 2008 that will change to a new day
according to the server time and date.
Thanks so much for your help and I have two of your books! I
will be taking PHP classes in December.
Patrick -
used to be firefox and hulu got along just fine, never had my computer get retarded slow or any of the other things its currently doing while there's a tab open with hulu... but here lately its been eating the snot outta my processor (between firefox.exe and plugin container the two are consistently using 100% of my processor... most of it being firefox.exe itself)
and tonight i cant watch hulu at all. the video shows a frame then its another 10-15 seconds before another single frame is showed.
my firefox is the most current version.
my adobe flash player plugin is the most current version.
there's no reason this should be happening but it is happening and its friggin annoying
============================
this happens anytime i'm in the part of hulu that has the player for showing whatever episode i'm attempting to watch. when i attempt to watch hulu i have no other tabs open and no other excess programs running on my computer, and firefox+plugincontainer run my CPU to 100% just between those two processes. i can browse around the internet just fine (like checking my email, or even getting to my queue list on hulu, which i have my homepage set as.. the queue list loads fine but the player part of hulu is when things go to crap)
and i just tried the exact same episode of lie to me that i couldnt watch on firefox.... tried watching it on internet explorer and its playing perfextly fine EVEN WHILE FIREFOX IS OPEN.
firefox is my preferred browser and i hope this junk can be fixed somehow.Hi John, Sorry you have such problems, but you are in the wrong place for such a discussion.
<u>General Discussions </u>
If you wish to leave a short comment on Firefox please use
* https://input.mozilla.org/en-US/feedback
If you need more help from Adobe or wish to comment on Flash please consider using their site
* http://forums.adobe.com/community/flashplayer
* http://www.adobe.com/uk/company/contact.html
This forum is not the place for discussing other software or the internet in general. Note even Firefox development and enhancements is considered off topic on this forum. All we do is try to help fellow users with specific Firefox problems.
<u>Your own Firefox Flash Problem ? </u>
You need to remember that AdobeFlash is proprietary software licensed by a commercial Company. Some of that software may be free to use.
Flash should work well with Google Chrome as it is tightly integrated with that browser.
This forum may be able to help you with Flash Player problems when using Firefox, but any solution will require your assistance and help also.
If you have a problem with Flash Player use on Firefox start by looking at these articles
*[[Flash Plugin - Keep it up to date and troubleshoot problems]]
* http://kb.mozillazine.org/Flash#Flash_Player_11.3_Protected_Mode_-_Windows
* http://forums.adobe.com/thread/1018071#TemporaryWorkaround
If you are looking for help with Flash use on Firefox from this forum please say so and I will leave this question thread open, otherwise I will lock the thread as off topic for this forum.
Maybe you are looking for
-
Problem installing SSGD on Solaris 9
I am trying to install SSGD solaris package and I am getting the following error: ========= /var/tmp//installpDaG7s/checkinstallsDaG7s: /tmp/ttainst_0: permission denied pkgadd: ERROR: request script did not complete successfully Installation of <tta
-
My MacBookPro has a white screen with a grey file folder in the center of the screen with a white question mark blinking in it. What does this mean? And how can I get my computer back up and running normal?
-
I have some questions about Lightroom's handling of Nikon NEF files, specifically the parts of the NEF files that Nikon has decided it is a brilliant idea to encrypt. I am using a Nikon D200. How does Lightroom handle white balance in a NEF file? Has
-
Hi, Generally ver. 2.1 is speedy on both my computers - intel iMac 2.16Ghz 2GB Ram as well as the latest MacBook. Problem appears after applying highlights & shadows adjustment. Loupe becomes unusable - almost completely unresponsive. Same when panni
-
What does Disk Warrior do?
I heard of this program called Disk Warrior. I'm interested in purchasing it from what I heard. 1) What is it's main objective for my mac? 2) Would you strongly recommend it or is it just a bonus software? Thanks a lot. Dorian