Select command for 2 dimensions
Hi All,
Can we use Select command for query from 2 dimensions ?
or how to do the query using script logic ??
any suggession ??
Here's the expand parameters :
ROW ROW
OTHERDTLS PROCESS
BASMEMBERS BASMEMBERS AND FSG <> ""
More detail is needed. This is for BPC and which version?
- Are you trying to USE script logic to "SELECT" 2 sets of data for use in a logic statement?
- Or are you trying to build a report that will NEST 2 sets of ROW data?
Any other details would be helpful so we get a clear picture of the question
Thanks
Similar Messages
-
Problem on select command for table AFKO-GSTRS,AFKO-GSUZS
Hi all Abaper,
I faced a problem on using select command to select out the records from table AFKO (Production order header)
If i want to select out records that
AFKO-GSTRS >= 14.4.2006 (schedule start date)
AFKO-GSUZS >= 00:00:00 (schedule start time)
AFKO-GSTRS <= 15.4.2006 (schedule start date)
AFKO-GSUZS <= 00:00:00 (schedule start time)
The select statement:
SELECT AUFNR RSNUM DISPO GSTRS GSUZS
INTO TABLE GT_AFKO FROM AFKO
WHERE
( GSTRS >= GV_ST_DATE AND GSUZS >= GV_ST_TIME )
AND ( GSTRS <= P_DATE AND GSUZS <= P_TIME ).
PS. if GV_ST_DATE = 14.4.06, GV_ST_TIME = '00:00:00'
P_DATE AND = 15.4.06, P_TIME = '00:00:00'
This statement just select out records in
between 14-15.4.06 and at time '00:00:00'.
some Production orders at 14.04.06 ,'09:00:00' will be filter out.
I know the problem on that system just consider the date and time separately.
Does anyone know how to link the date and time up? or does any data type allow for combination of date and time data?
Thx for your reply in advance~Thx Amit and Vijay.
The data type for GV_ST_DATE, P_DATE are <b>SY-datum</b>
and GV_ST_TIME, P_TIME are <b>SY-UZEIT</b>
Actually, P_DATE & P_TIME are user input parameters.
The records I wanna get are the period back 24 hrs from P_DATE & P_TIME.
For example, if user input P_DATE = 15.04.2006,
P_TIME = '10:00:00'.
Then records selected out should be:
from 14.04.2006 , '10:00:00' TO 15.04.2006, '10:00:00'
if production order schedule start = <b>14.04.2006 , 09:00:00</b>
it will be <b>included</b>.
if production order schedule start = <b>15.04.2006 , 01:00:00</b>
it will be <b>excluded</b>.
However, the following statement cannot get the desired records.
Select....
where GSTRS >= GV_ST_DATE AND GSUZS >= GV_ST_TIME
AND GSTRS <= P_DATE AND GSUZS <= P_TIME.
Since GV_ST_TIME & P_TIME are both = '00:00:00',
for Production order( sch start date = 14.04.2006 , sch start time = 09:00:00 ), '09:00:00' is greater than '00:00:00' but it is not less than '00:00:00'.
Thus, this Pro. Order will be filtered!!
However can improve my SQL statement to get the desired data? -
Data selection slow for dimension value empty
Dear BW Experts,
I have face the below situation:
Let say i have dimension A {Date_billing, Date_invoice, Date_reconcilation}, and I have dimension B {Sales Org, Distribution channel}
Date_billing is always not empty because it is coming from billing document.
But Date_invoice and Date_reconciliation is sometimes value are empty because those are calculated base on some logic.
When i run querry with selection screen of {Date_billing, Sales org, Distribution Channel}, it runs very fast, it uses star stransformation.
But when i run querry with selection screen of {Date_invoice, Sales org,..}, sometimes it runs very slow and even give dump due to run time long. I have checked and what i found is "If user enters the Date_invoice which is existing in dimension table, then it return value very fast, but if users enters some value of Date_invoice which is not existing in dimension table then i run ver slow and give dump".
To advoid this situation, i have been thinking about NON_STAR_TRANSFORMATION, it is OK. But except this do we have any other solutions, do i missed somthing in my setting.
I have been thinking that I should change selection screen like the way that only date existing in dimension table of Date_invoice will display, but I do not want to do this, what i refer is "Is there any other solutions related to BW selection setting to eliminate those such empty value fastly when inner join happens."
I am looking forward to hearing from you.
Thanks and regards,
KIMC.Hi BW experts,
i have checked, the reason is that they use STAR TRANSFORMATION, and we used oracle 10.2.0.2, I really do not know how to calculation cost of querry base on CBO.
Please guy me, for example, i have a querry, how do i know cost of CBO run if that is STAR TRANSFORMATION and if that is NON STAR TRANSFORMATION.
I am looking forwards to hearing from you.
thanks and Regards,
KIMC> -
Count the total of SELECT command to particular table
Hi,
Does anyone know how to count SELECT command for particular table in certain period, like one day / week / month ?
Regards,
AliantoAssuming you have a date column to differentiate, then something like:
SELECT COUNT(*)
FROM table
WHERE date_column BETWEEN TO_DATE('20030119 00:00:00','yyyymmddhh24:mi:ss') AND TO_DATE('2003011923:59:59','yyyymmddhh24:mi:ss')will count records for Jan 19. Just substitute the appropriate range for what you want to count for the others.
TTFN
John -
Hi
I've been trying to adapt and deploy an enterprise appliaction developped and deployed
before under JBoss.
My database is MySQL and I use Together Control Center for development and hot deployment.
After having modified a lot of things (the seamless protability seems always sor
far :), now I get some strange error when deploying from withing Together Control
Center 6.0:
WLS61:General error: select command denied to user: '[email protected]' for table
'finess'
Off course the user foo has all possible and imaginable rights.
Does anybody have an idea on how to get around it ?
Thanks
AlirezaFound the answer... email that went to junk mail. Hope this helps others!
Hello Subscription User,
Thanks for choosing ClearDB for your database needs. We appreciate your business and
your interest in our services. Our commitment to all of our customers is that we
provide a high quality of service on all of our database systems. Part of that
commitment includes the enforcement of database size quotas in order to ensure
the highest quality of service for our customers.
As such, we're sending you this automated message regarding one of your databases:
Database: wp____
Tier/Plan: Mercury
Tier size quota: 20 MB
This database has either reached or has exceeded its maximum allowed size for the
'Mercury' plan/tier that it currently belongs to. As such, our systems were forced to
place a read-only lock on it. We kindly encourage you to upgrade your database
to a larger tier/plan so that we can restore write privileges and enable complete
access to it from your account.
If you feel that you have received this notification in error, please feel free
to contact us by replying to this email along with information that you feel may
assist us in assessing the situation with your database.
Thanks again for choosing ClearDB,
The ClearDB Team -
What is the sql command for SELECT with OR condition
Hi
What is the correct sql command for doing select with or condition??
SELECT * from TempData
WHERE port = '123'
OR serialnumber = '555'
So if there is a port = 123 or if there is a serialnumber = 555, I will get a successful select.
Thanks for helping a newbie!!Hi
What is the correct sql command for doing select with
or condition??
SELECT * from TempData
WHERE port = '123'
OR serialnumber = '555'
So if there is a port = 123 or if there is a
serialnumber = 555, I will get a successful select.
Thanks for helping a newbie!!Make sure you bracket your OR conditions
eg
SELECT * from TempData
WHERE column = 'VALUE'
and port = '123'
OR serialnumber = '555'
is read as
SELECT * from TempData
WHERE (column = 'VALUE'
and port = '123' )
OR serialnumber = '555'
which is not the same as
SELECT * from TempData
WHERE column = 'VALUE'
and ( port = '123'
OR serialnumber = '555' ) -
Package group selection redhat for dbca command
package group selection redhat for dbca cmd
user8818950 wrote:
Hi,
I need to install oracle database 10g in oel5 if so,
initially while installing the enterprise linux i met with the software application screen where it consist of the following
software development
webserver
virtualiatation
clustering
storage clustering
And in this screen what are the applications i should select,
Otherwise if i select the all the applications and proceed with my installation means what the problem will occur during the database installation
kindly note my machine is in a network where the other machines should also make use of the database in the future
Solutions needed for thisFor a plain database server, you don't need any of them. -
How to get the "Key" for Dimension in SSAS.
Hi
How to get the "Key" for Dimension in SSAS.
(Below value is the PPSParameters table XML column value in PPSDatabase in SharePoint.
Below three key values are belongs to "Dimension". I have tried to find the key but I could net get it.)
<NewDataSet>
<UserValues><Key>16A201A9E75128559F947D58E6D187A9</Key></UserValues>
<UserValues><Key>7FBEA449A6ED5606973306445839619E</Key></UserValues>
<UserValues><Key>A8F75F9720817BCD2E1DFC1C1CF1E678</Key></UserValues>
</NewDataSet>
Thanks & Regards
Poomani SankaranTo Be Honest there is not one straight Cmdlet that atleast I have come across
The best way would if you have Lync monitoring server
Using the Lync Server 2013 Monitoring Server
If you have the Monitoring Server role configured in your environment, and for Lync Server 2013 everyone should!, you can use information contained in the LcsCDR database to pull back the last time a user signed in. You can run the following query* to
pull back the user's SIP URI and their last login time:
USE LcsCDR
SELECT dbo.Users.UserUri, dbo.UserStatistics.LastLogInTime
FROM dbo.UserStatistics
JOIN dbo.Users ON dbo.Users.UserId = dbo.UserStatistics.UserId
ORDER BY UserUri
Which produces the following output:
The advantage to using the Monitoring Server to obtain this data is that unlike the information contained in the rtcdyn database, the information from the LcsCDR data will persist even when the user isn't signed into Lync.
To get approx count of users enable for Lync Server in your organisation
Get-CsUser -Filter {Enabled -eq $true} | MeasurE
Please not the above command let will give you an approx number not exact
From the Monitoring report yet the SIP account that signed in and then from count find out how many user havent signed in this is manual task
Hope this is helpful
Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph -
User has no write access to the selected members of dimension : CATEGORY
Hello,
Here is the Scenario:
I have a script called DAllocate.lgf in an app - Costing. Now I need to run that app from another app called Reporting. I know that Runlogic wont work in my case because in the Dallocate.lgf there are some Runlogic commands being used. and when Runlogic is being used to call a logic that has runlogics in it, it wont work. So what I hae done is in the SSIS package in the reporting app, I have added a logic task to an existing package and specified DAllocate.lgf with the app name costing.
Here is the issue:
When I run an SSIS package in costing app called Dallocate(which basically runs dallocate.lgf), it runs successfully. But If I run a package called PtoCA in Reporting that has Dallocate.lgf as a logic task, it gives the following error:
"user has no write access to the selected members of dimension : CATEGORY "
Thanks.Hi,
From your explanation it is clear that Dallocate.LGF has been run successfully in one of the logics. This means the issue is not in the Dallocate.LGF. The issue is in some other logic of the same DM package.
First, check which logic part faces this issue. Based on your explanation, definitely not in Dallocate.LGF.
Then, check how that particular Catergory dimension member which the user does not have access for, came into the logic calculation. Somewhere in the calculation, it is posting a value in the unauthorized member.
Karthik AJ -
No UDA Found for Dimension XYZ
We are loading metadata into Planning using outline load utility. The command we are using is as follows:
C:\Hyperion\products\Planning\bin\OutlineLoad -f:%scripthome%\EncPassword.txt /A:NFR /U:%Essid% /M /C /-F /I:C:\Data\NFR_Customer_Dim.csv /D:Entity /L:%scripthome%\Logs\Cust_Dim_OTL_Load.Log /X:c:/outlineLoad.exc
The outline load log throws a *"NO UDA defined for dimension xyz" error.* but seems to load the records fine, without rejecting any. Any idea why this is ?
The first part of the log is :
Successfully logged into "NFR" application, Release 11.113, Adapter Interface Version 5, Workforce supported and not enabled, CapEx not supported and not enabled, CSS Version 3
+"Account" dimension properties and information:+
Account, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Account Type, Time Balance, Skip Value, Exchange Rate Type, Variance Reporting, Source Plan Type, Plan Type (Sales), Aggregation (Sales), Plan Type (Plan2), Aggregation (Plan2), Plan Type (Plan3), Aggregation (Plan3)
No UDA's defined on "Account"+
+"Periods" dimension properties and information:+
Periods, Parent, Alias: Default, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Type, Start Period, End Period, Aggregation (Sales), Aggregation (Plan2), Aggregation (Plan3)
No UDA's defined on "Periods"+
......... So on and so forth for EACH dimension and then ....
+"Product" dimension properties and information:+
Product, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Aggregation (Sales), Aggregation (Plan2), Aggregation (Plan3), InputType
UDA's bound to "Product" dimension: Product_Type
+"InputType" attribute dimension (on base dimension "Product"). Attributes defined on the "InputType" dimension: ProductLine; ProductNumber;+
InputType, Parent, Alias: Default, Operation
Exchange Rates properties:
Table, Description, To Currency, From Currency, Operation, Method, Historical, Beg Balance, Year, Period, Average, Ending
UDA properties:
Dimension, UDA, Operation
Translation input file fields:
Value, Driver Member, Point-of-View, Data Load Cube Name
+[Tue Feb 01 01:30:12 EST 2011]Successfully located and opened input file "C:\Data\NFR_Customer_Dim.csv".+
+[Tue Feb 01 01:30:12 EST 2011]Header record fields: Entity, Parent, Alias: Default, Data Storage+
+[Tue Feb 01 01:30:12 EST 2011]Located and using "Entity" dimension for loading data in "NFR" application.+
+[Tue Feb 01 01:30:14 EST 2011]Load dimension "Entity" has been unlocked successfully.+
+[Tue Feb 01 01:30:14 EST 2011]Performing cube refresh[Tue Feb 01 01:30:36 EST 2011]Cube refresh operation has completed. Please check the Essbase log for status.+
+[Tue Feb 01 01:30:36 EST 2011]Create security filters operation will not be performed.+
+[Tue Feb 01 01:30:36 EST 2011]Examine the Essbase log files for status if Essbase data was loaded.+
+[Tue Feb 01 01:30:36 EST 2011]Planning Outline data store load process finished. *1599 data records were read, 1599 data records were processed, 1599 were successfully loaded, 0 were rejected.*+
\Do you get the same errors if you load just the first record from the file, if you don't keep increasing the number of records until you find the record that is causing the problem.
Cheers
John
http://john-goodwin.blogspot.com/ -
Command for "How to find Cursor Size" in Oracle Stored Procedure"
Hi
Can u tell me....
How to find Cursor Size" in Oracle Stored Procedure........
I want command for that........why don't you try select count(*) from your_table;That requires running the same query twice - or rather running two different queries twice. Besides it still doesn't guarantee anything, because Oracle's read consistency model only applies at the statement level (unless you're running in a serialized transaction).
This is such a common requirement - users are wont to say "well Google does it" - it seems bizarre that Oracle cannot do it. The truth is that that Google cheats. Firstly it guesses the number on the basis of information in its indexes and refines the estimate as pages are returned. Secondly, Google is under no onus to kepp all its data and indexes synchronized - two simultaneous and identical queries which touch different Google servers can return different results. Oracle Text works the same way, which is why we can get a count with CTX_QUERY.COUNT_HITS in estimate mode.
Cheers, APC
blog: http://radiofreetooting.blogspot.com
. -
Missing most detailed table for dimension tables
Hi ,
I am getting this following error
Business Model Core:
[nQSError: 15003] Missing most detailed table for dimension tables: [Dim - Customer,Dim - Account Hierarchy,Dim - Account Region Hierarchy,Fact - Fins - Period Days Count].
[nQSError: 15001] Could not load navigation space for subject area Core.
I got this error when I tried to configure # of Elapsed Days and # of Cumulative Elapsed Days by following way-
1. Using the Administration Tool, open OracleBIAnalyticsApps.rpd.
Configuration Steps for Controlling Your Data Set
Configuring Oracle Financial Analytics 5-51
The OracleBIAnalyticsApps.rpd file is located at:
ORACLE_INSTANCE\bifoundation\OracleBIServerComponent\coreapplication_
obisn\repository
2. In the Business Model and Mapping layer, go the logical table Fact - Fins - Period
Days Count.
3. Under Sources, select the Fact_W_DAY_D_PSFT logical table source.
4. Clear the Disabled option in the General tab and click OK.
5. Open the other two logical table sources, Fact_W_DAY_D_ORA and Fact_W_
DAY_D_PSFT, and select the Disabled option.
6. Add the "Fact - Fins - Period Days Count" and "Dim - Company" logical tables to
the Business Model Diagram. To do so, right-click the objects and select Business
Model Diagram, Selected Tables Only.
7. In the Business Model Diagram, create a new logical join from "Dim - Company"
to "Fact - Fins - Period Days Count." The direction of the foreign key should be
from the "Dim - Company" logical table to the "Fact - Fins - Period Days Count"
table. For example, on a (0,1):N cardinality join, "Dim - Company" will be on the
(0/1) side and "Fact - Fins - Period Days Count" will be on the N side.
8. Under the Fact - Fins - Period Days Count logical table, open the "# of Elapsed
Days" and "# of Cumulative Elapsed Days" metrics, one at a time.
9. Go to the Levels tab. For the Company dimension, the Logical Level is set to All.
Click the X button to remove it. Repeat until the Company dimension does not
have a Logical Level setting.
10. Make sure to check Global Consistency to ensure there are no errors, and then
save the RPD file.
Please help me to resolve.
Thanks,
SoumitroCould you let me know how you resolved this. I am facing the same.
-
Hi guys,
We have an issue about toplink. We have two enviroments, a developer enviroment glassfish 2.1, windows xp and java 1.6. Our application have toplink essentials, JPA and some entities mapped. In developer enviroment it all works done but in test enviroment we cant execute any query! And we cant understand why, we talk with our DBA and he got all grants to user but we have allways same problem:
[#|2009-12-30T12:31:03.562-0300|WARNING|sun-appserver2.1|oracle.toplink.essentials.session.file:/opt/glassfish/domains/domain1/applications/j2ee-apps/kmonitor-EAR/KMonitor-ejb_jar/-KMonitor|_ThreadID=225;_ThreadName=p: thread-pool-1; w: 196;_RequestID=fda25a98-2c3a-43d0-ae4e-4a1c1cd3167f;|
Local Exception Stack:
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.1 (Build b31g-fcs (10/19/2009))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SELECT command denied to user 'km_dsv'@'cassini' for table 'fontestatus'
Error Code: 1142
Call: SELECT id_fontestatus, criacao, usuario_criacao, nome, alteracao, codigo, usuario_alteracao, descricao FROM kmonitor.fontestatus WHERE (id_fontestatus = ?)
bind => [1]
Query: ReadObjectQuery(com.knowtec.suiteic.kmonitor.informacao.entity.Fontestatus)
Its the first query and its executed from JPA... we use mysql database.
Here persistence.xml:
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="KMonitor" transaction-type="JTA">
<jta-data-source>jdbc/kmonitor</jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties/>
</persistence-unit>
<persistence-unit name="KMonitor-standalone" transaction-type="RESOURCE_LOCAL">
<non-jta-data-source>jdbc/kmonitor</non-jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
</properties>
</persistence-unit>
</persistence>
We use KMonitor in glassfish, stand-alone unit is not used and ignore it.
Thanks!Hi I discovered problem. Top link doesnt have correct message for this problem!
My entity had this annotation:
@Entity
@Table(name = "fontestatus", catalog = "databasename", schema = "")
But catalog doesn´t exist in test enviroment, only development! solution is delete this:
@Entity
@Table(name = "fontestatus") -
Key Command for Option Clicking a Marker
Option Clicking a Marker does just what I want. It sets the playhead to the beginning of that marker without selecting the marker. Now if I could make the Keypad behave the same way, I could save myself a lot of damage to my Marker tracks. Right now a keypad # selects the marker, moves the playhead to it and sets the locators around it. preferences to make this more granular would be welcome.
The option keypad numbers seem to be unused in the default key commands. Perhaps the option key could be set to trigger the same behaviour as option clicking a marker. it makes it intuitive (meaning I tried it.)The only way I can think of is to use a Macro app like QuicKeys assigning a KeyStrokes to a sequence of two key commands:
For example:
ctr+opt+cmd+1 triggers 1 (go to Marker 1) followed by sh+opt+D (Deselect All)
ctr+opt+cmd+2 triggers 2 (go to Marker 2) followed by sh+opt+D (Deselect All)
ctr+opt+cmd+3 triggers 3 (go to Marker 3) followed by sh+opt+D (Deselect All)
You can assign the QuickKeys commands (ctr+opt+cmd+1, etc) to the keypads and they will move the Playhead to that Marker and selects the Marker. However, QuicKeys sends the second KeyCommand right away and deselects the Marker.
No deleting of selected Marker by accident anymore.
The KeyCommands in Logic are already very powerful, but when combined with QuicKeys (or any other Macro app) that lets you fire up a sequence of KeyCommands or mouse click on specific areas on the Logic interface per key commands, then it gets really powerful. Combine that with multi-touch gestures on your TrackPad using the amazing BetterTouchTool app, an you can take your customized workflow to a whole new level.
Hope that helps
Edgar Rothermich
http://DingDingMusic.com/Manuals/
'I may receive some form of compensation, financial or otherwise, from my recommendation or link.' -
My mouse pointer in finder is not working by double clicking on the application.I have to double click and select open for opening the application.Can you suggest me some settings to fix this problem?
Hi,
Try this ... reboot your Mac and see if double clicking works again.
Also, you can just select the Application you like to open and hold down the Command+O to open.
Also, did you check your setting for the mouse in system preferences.
Dimaxum
Maybe you are looking for
-
The control panel will not let me activate either Cointacts or Calendar as it says I do not have a default profile active, which I do have. I have checked over and over again, but it will still NOT let me activate it. I am using Office 2010 on a PC r
-
No Final Cut Studio System ID file: Must re-enter the SN every time.
I was having trouble with needing to re-enter the FCS 3 SN every time I open an app. I am going mad. Another thread said to delete the Final Cut Studio System ID file then restart the program. Well now I have no Final Cut Studio System ID file and I
-
How to create database from servlet?
Hey all, I want to create database and store the tables in that database. I don't have idea. any help.. the concern is... I am using WSAD as a IDE.my backend is Oracle. First ,I need to check if user having ms-access in his system.if yes then I need
-
IDML file problems - text disappears & unselectable when found
Hi, My first question here. I use Adobe CS5.5 and I need to export .indd files into the .idml format so they are readable by my translation software. I exported my file to idml, but when I open this file, I get a "unable to set bounding box message",
-
Hello i took an export of iFS schema "ifssys" and tried to import into another database with same set of tablespaces. the tables got created but index creation failed with following error msg. Oracle error 6510 encountered. Pl/Sql: unhandled user-def