Level up or Down in Query Deisgner / BI 7.0
Hi Experts,
in the BI 3.5 it was possible in query designer to use a key figure or caharcteristic.
I can not find this function in BI 7.0.
Could you please help me how to do it or how to find it?
Thanks
Hi Mate,
Please go through this link you can get some idea reg your function
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90bc0c7a-031d-2a10-d7a2-9047b4d1f43f
points = thanks
Good day
regards
Arun
Similar Messages
-
I have been busy editing my film and for the third time now, i have been correcting my audio levels with each clip - this takes me hours - and everytime I go back to the project, the audio levels fall back down. So everything i did previously was a waste of time.
Does anyone have the same issue? Is there anything I am doing wrong here?Gosh, that sounds aweful close to the same problem people are experiencing with the undo bug. They don't know their having a problme until they hit Command+Z to undo their last change, and they can't, the undo command is actually grayed out in the menu. I understand if this happens, X is not auto saving your changes either. So, the next time you make all of your changes, check to see if your undo command is grayed out from the menu. If it is, duplicate your project to force a manual save. Then Quit X and reopen it and insure you project is intact.
-
Hierarchy Level value displayed in BEx Query
Is there a way to display the Hierarchy Level value (0, 1, 2, etc...) associated with each hierarchy level in BEx Query as a characteristic?
we are currently using the Crystal Reports function HierarchyLevel(GroupingLevel(GL Account Node id)) to display the level of the node (0, 1, 2, etc...). Is there something similar to this in BEx Query.
We would like to use this Level value to do groupings in Crystal Reports. When we try to create a Group, we can only create the groups on fields that are brought over in the BEx Query results.
Thanks --Hi ,
Hierarchy level can be defined in Bex query as well.
In the query property there is option where you can say hierarchy active for that particular object.
Also you can define level upto which it can be active in initial display say 3 level
Also when you want to drill down further level 4,5 you can right click and select that particular level say 4 or 5 or 6.
If you want to display hierarchy flat there is no option in BW then to right code,but I heard in crystal report it will automatically display in fl;at version as well means
Level 0 level 1 ......KF1 KF2 etc.
Thanks and regards -
Preventing drill down after query runs
I have an Order query with a hierarchy attached to the infoObject. I created select-option on the Hierarchy node with a node variable. When the query runs if we tell it to display 1 level it works as desired by showing the node name and total. The problem here is the user can then drill down on the hierarchy and we don't want that because we have three summary queries in a workbook and a grand total number at the bottom.
We like the summary number but can we turn off the drill down?
ThanksHi Marcus,
I do not know how to turn off interactive features once and for all. But, here are a couple of ideas (implemented in a workbook).
1. I need a certain characteristic displayed as "Key + Text". Each time query is refreshed, I check to ensure the correct display of that characteristic. If the characteristic is displayed correctly, OK. If the characteristic is displayed, but not correctly, I use the OLAP command "PC02" to display it correctly. If the characteristic is missing, I push the query all the way back to "start". Here is code for this:
Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
Dim c As Range, myCell As Range
Set myCell = Nothing
For Each c In resultArea.Cells
If c = "Sales Area" Then
Set myCell = c
Exit For
End If
Next c
If myCell Is Nothing Then
Run "sapbex.xla!SAPBEXfireCommand", "STRT", myCell
Else
Run "sapbex.xla!SAPBEXfireCommand", "PC02", myCell
End If
End Sub
2. This example more directly addresses the question of restricting the interactive features. In a workbook, the "Enable Interactive Functions" checked is stored in the query repository sheet (SAPBEXqueries) in column "O". TRUE if checked, FALSE if not checked. You can check to see if this has been changed from FALSE to TRUE, and if it has been changed, you can take the query back to "start". Here is the code for that:
Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
Dim bexWS As Worksheet
Set bexWS = Sheets("SAPBEXqueries")
numQ = bexWS.Range("A2")
For i = 1 To numQ
If bexWS.Range("F" & i + 3) = queryID Then
If bexWS.Range("O" & i + 3) = True Then
bexWS.Range("O" & i + 3) = "FALSE"
Run "sapbex.xla!SAPBEXfireCommand", "STRT", resultArea
End If
End If
Next i
End Sub
- Pete -
CHANGE THE LEVEL NUMBER IN AN SQL QUERY
Hi
I've this query:
SELECT LEVEL,LPAD(' ',(LEVEL+1)*5,' ')||ENAME ENAME
FROM EMP
START WITH MGR IS NULL
CONNECT BY PRIOR EMPNO = MGR
the result is:
LEVEL ENAME
1 KING
2 JONES
3 SCOTT
2 FORD
3 SMITH
my question is that if i except FORD how can i change the level number to SMITH from 3 to 2.
for example:
SELECT LEVEL,LPAD(' ',(LEVEL+1)*5,' ')||ENAME ENAME
FROM EMP
WHERE ENAME <> 'FORD'
START WITH MGR IS NULL
CONNECT BY PRIOR EMPNO= MGR
the result is:
LEVEL ENAME
1 KING
2 JONES
3 SCOTT
2 SMITH
regards
nadiaHi,
If you notice the level of SMITH is 4 in the initial query but when you exclude FORD, then SMITH is taking up his level i.e., 3.
SQL> SELECT LEVEL lvl, ENAME
2 FROM EMP
3 START WITH MGR IS NULL
4 CONNECT BY PRIOR EMPNO = MGR;
LVL ENAME
1 KING
2 JONES
3 FORD
4 SMITH
2 BLAKE
3 ALLEN
3 WARD
3 MARTIN
3 TURNER
3 JAMES
2 CLARK
3 MILLER
12 rows selected.
SQL> Select decode(ename, 'SMITH', lag_level, lvl) dec_lvl,
2 ename from (
3 SELECT rownum rn, LEVEL lvl, lag(level) over (order by level) lag_level, ENAME
4 FROM EMP
5 START WITH MGR IS NULL
6 CONNECT BY PRIOR EMPNO = MGR )
7 Where ename <> 'FORD'
8 order by rn;
DEC_LVL ENAME
1 KING
2 JONES
3 SMITH
2 BLAKE
3 ALLEN
3 WARD
3 MARTIN
3 TURNER
3 JAMES
2 CLARK
3 MILLER
11 rows selected.
SQL>Regards -
Displaying a level up or down in a structure
Hi All,
i have created a structure with differents objects. By one object i would to show the main object as sum. therefore i created 2 other elements which i assign to the main object as level down. It should be shown in the report as Hierarchy.
By running the report, it is not showing the the tree. It is colapse.
How to display all elements?
Thank you
CheersHi Sonni,
thank you for replying,
in the display pane, there is no setting for expansion.But for object you can find that.
Could not find any setting solving my problem.
Cheers -
Hello,
I am making the Drill Down configuration.
1st Level is
- Area
2nd Level is
-Branch
3rd Level is
-Shops
After I make above configuration, I test this on the BI Answers.
ex)
Area
New York
Tokyo
Paris
1. I click the column "Tokyo".
2. Then the report will show like this
Area Branch
Tokyo Asakusa
Ginza
and I can click "Tokyo","Asakusa" and "Ginza".
But at this point, I don't want to let users click the "Tokyo" column , but only "Asakusa" and "Ginza" columns.
Is it possible by the configuration of the BIEE Repository or Answers ??Hi,
I dont think so it is possible.
But If you click "tokyo" only you can see "Asakusa" and "Ginza".How would you stop user to not click tokyo if you want to get to other step to "branches".
If you want to achieve that directly create a dimension for Branch and shops.So user will see branches and shops and make it as a separate sheet for that specific user and give him permissions.
Hope it helps you.
By,
Kranthi. -
How to reference Report level program unit in report query?
I have created a report level function FREF13 which returns a VARCHAR2 variable. I am trying to reference this function in report SQL statement like:
select * from wtr where file_ref = FREF13(:fref)
I am getting error 'ORA-00904: Invalid column name' error. This is because it is unable to recognize FREF13 as local function.
Is it possible to reference local program units in report query?
Rgds,
ManishNo, it's not possible. The only things you can reference in a SQL query are columns and functions accessable in the database (since this is where the query is executed). You should create the function in the database.
Regards,
Danny -
Drill Down BeX Query with hierarchy in WEBI
Hi,
I am using a Bex Query with Hierarchy in my WEBI report. Is it possible to drill down ? I am not able to use Scope of Analysis because it is disabled. I am very new to WEBI. Please help me out.
Thanks in Advance.
Lakshmi Mohanhttp://www.google.co.in/url?sa=t&rct=j&q=drill%20down%20bex%20query%20with%20hierarchy%20in%20webi%20%20%20&source=web&cd=2&ved=0CDQQFjAB&url=https%3A%2F%2Fcw.sdn.sap.com%2Fcw%2Fservlet%2FJiveServlet%2FpreviewBody%2F137316-102-1-277519%2FWeb%2520Intelligence%2520on%2520SAP%2520implementation%2520best%2520practices.pdf&ei=xofcTpSgF5DJrAeaxpiIBw&usg=AFQjCNHuwDIpvxciPKJyEdoz3GiVjRKgqA
http://www.scribd.com/doc/62293080/40/Query-Drill-for-hierarchies -
Exceptional Aggregation Option at Query Level in BW 3.5 Query Designer
Hi all,
I want to use Exceptional aggregation with reference char 0CALDAY,on Formula keyfigure in the Query designer(BW3.5).
But I am not getting that option when I went into Properties of that Keyfigure.So please Suggest me where I will Find that Exceptional Aggregation option & Ref.Char at the Query level.
Thanks,
Kiran ManyamHi
In the Key Figure Properties dialog box, choose Enhance >>. The Aggregation Behavior field is added to the dialog box.
You can make settings for the aggregation of the calculated key figure and the time that the calculated key figure is calculated here. Depending on the complexity of the formula, you can select various settings in the enhanced properties of the calculated key figure. The following types of calculated key figures with the corresponding formula complexity are available:
http://help.sap.com/saphelp_nw04/helpdata/en/6f/56853c08c7aa11e10000000a11405a/frameset.htm
Hope it helps -
Logging level to get the physical query
Hi All,
Can anyone let me know , what log level i have set it up, so that I can get the physical query for BI Answers request.
Thanks
Shi,
Logging Levels
Level 0
No logging.
Level 1
Logs the SQL statement issued from the client application.
Logs elapsed times for query compilation, query execution, query cache processing, and back-end database processing.
Logs the query status (success, failure, termination, or timeout). Logs the user ID, session ID, and request ID for each query.
Level 2
Logs everything logged in Level 1.
Additionally, for each query, logs the repository name, business model name, presentation catalog (called Subject Area in Answers) name, SQL for the queries issued against physical databases, queries issued against the cache, number of rows returned from each query against a physical database and from queries issued against the cache, and the number of rows returned to the client application.
Level 3
Logs everything logged in Level 2.
Additionally, adds a log entry for the logical query plan, when a query that was supposed to seed the cache was not inserted into the cache, when existing cache entries are purged to make room for the current query, and when the attempt to update the exact match hit detector fails.
Do not select this level without the assistance of Technical Support.
Level 4
Logs everything logged in Level 3.
Additionally, logs the query execution plan. Do not select this level without the assistance of Technical Support.
Level 5
Logs everything logged in Level 4.
Additionally, logs intermediate row counts at various points in the execution plan. Do not select this level without the assistance of Technical Support.
Level 6 and 7
Reserved for future use.
Hope this helps,
cheers,
vineeth -
IPhone: Looking for a 3 level TableView drill down example
Hi
The TableView drill down example available at Apple's Dev Center, as well as all the other examples of drill downs I've seen, only explains how to do a drill down with just 2 levels. The first view is a table view, and when the user selects an item in the list, another view with more information about that item is loaded.
However, I'm looking for an example on how to do a drill down with 3 levels, or more. The two first views should be regular table views and the final view can be some other view.
I'm currently struggling, trying to understand how to use only one TableViewController for the two first levels. Surely this must be possible, or do I have to create one TableViewController class for each level in the drill down?I'll piggy-back on this question as mine is the same and I don't see any responses as of yet.
To continue drilling down (3rd level; maybe also 4th/5th, ending in a textView), are subsequent levels down just the first detail view simply reconfigured with fresh data from an additional array, or....should another (and another, and another...) unique detail view be created for each level and used instead? Is one method faster for the user or less trouble for the app writer, short or long term?
If it matters, the layout can be either programmatic or via the Interface Builder - just need a clue which direction to pursue.
If someone could just give a quick answer it would help a struggling new developer, thanks -
Totals passing to child levels in drill down?
Hi
I have an issue where i have set my hierarchy for Region to State.
When I drill down my reports, the totals are passing to child levels
So if I have the totals as Region A $100
Region B $200
and If i drill down on Region A to States ASA ASB, ASC
what I see is
State ASA (region total) $100
Region A State ASB (region total) $100
State ASC (region total) $100
What I would like to see is
State ASA $ 50
Region A $100 State ASB $ 20
State ASC $ 30
How do I set things up ? Any help would be appreciated.
Thanks
BobHi,
In BMM layer check weather content level(last tab) is set to detail level(state level or lower than that) in LTS of that fact table.Make it to detail level and try.
Regards,
Srikanth -
Hi Friends,
I have table TEST_REP with below data
DA SUMA
2011 2
2011 3
2011 5
2012 2
2012 7
2014 2
2014 10
2015 2
2016 33
2015 26
2017 21
2017 2
2018 23
13 rows selected
I have used following query to get the below output:
select
br_mat MAT_YEAR,
sum(br_par) TOTAL
from (
(select to_char(da) br_mat,suma br_par from test_rep)
UNION ALL
select to_char(seeddate + level-1),0
from dual d, (select min(da) min_maturity_year,
max(da) max_maturity_year,
TO_Number(TO_CHAR(sysdate,'YYYY')) seeddate
from test_rep
) t
connect by level <= (t.max_maturity_year - t.min_maturity_year) + 1
group by br_mat
order by br_mat;
Output :
MAT_YEAR TOTAL
2011 10
2012 9
2013 0
2014 12
2015 28
2016 33
2017 23
2018 23
2019 0
2020 0
10 rows selected
Expected Output :
MAT_YEAR TOTAL
2011 10
2012 9
2013 0
2014 12
2015 28
2016 33
2017 and Greater 46
Please help .Adapt your query using something like (the following won't list missing years - 2013) NOT TESTED!
select case when da >= :upper_limit
then :upper_limit || ' and Greater'
else to_char(da)
end mat_year,
sum(sumA) total
from test_rep
group by case when da >= :upper_limit
then :upper_limit || ' and Greater'
else to_char(da)
end
order by 1
Regards
Etbin -
Drill down in query when structure is in use (in query designer)
Hi Guys,
I have a structure in a report. This report was created with a characteristics structure.
Now I have a problem like this for example:
Three company codes 1000, 1100.
Turn over 100000.
Now the report shows only the turn over for all company codes.
Company codes 100000
I thought the navigation / drill down for company codes will be automatically available.
I expected
Company code 1000 80000
Company code 1100 20000
Result 100000
Is there something what should be activated extra?
I a hierarchy mandatory for structures?
Edited by: saplaz on May 23, 2011 3:22 PMHi,
Either make use of hierarchy or make use of selection in structure.
create selections for all the compay code which you want to display in your query output.
Like make a new selection inside that drag and drop company code and select the value after that restrict it whith your desired key figure.
By following the above steps you will get the repective turnover of comapny codes against each other.
Hope it helps.
Regards,
AL
Maybe you are looking for
-
Webservice for proxy to SOAP adapter interface
Hi Experts, we have scenario Proxy to SOAP for this inteface is it possible to provide the webservice from PI side. if yes please let me know the steps. i know the process how to provide the webservice when the SOAP adapter at sender side. 1) through
-
Siri keeps telling me something is wrong, can you try that again! what gives? also where is my face time icon? help!
-
Live cache error while correctingg inconsisitency in Resource
Dear Expert While correcting inconsistency in live cache inconsistency is not getting corrected . Error is Bucket vector does not exist in Live cache for resource WR201_1000_008 we are using Block planning in PPDS . I have checked SAPAPO/RST02 But r
-
Power Cut now Don't have Ownership of TM
I had a power cut last night and since starting up I've lost ownership of my Time Machine USB HDD and I don't know how to get ownership again. I've checked the get-info menu on the drive but theres no box to get ownership and DU doesn't have an optio
-
My nokia c6 just arrived.(USA) I havent had any problems yet except I cant get it to connect to the wifi in my house. I use a strong network and is used by a nokia e71 and laptops. I have the right key and it connects, but when I try to use facebook