Filter Role in BI Query
Hi,
I am very much confuse about the restriction role in default , characteristic Restriction ,key figure restriction.
Can anybody help me?
Regards ,
Rajesh
Hi Rajesh....
I will try to explain you with an example....
Filter are the Characteristic Restriction.........for an example there are 100 Company codes.......but you want to display only data only for Company Code F1 and AR1......then you can restrict the characteristic Company code for the value F1 and Ar1........
What do you mean by Keyfigure restriction.......are you talking about restricted keyfigures............if yes....
Suppose , you want to show the revenue for these two keyfigures for Fiscall Year / Period 001.2011 and 002.2011.....in two seperate column......
One restricted keyfigure is : Rev_001 and the otherone is Rev_002......
So create two restricted keyfigure, in one restrict the revenue for Fiscal Year / Period 001.2011 and in the other one for 002.2011...
Regards,
Debjani....
Similar Messages
-
OR Condition in Filter area of a query.
Hi All,
I have a scenario, where i need to implement a condition where I need to put combination or AND and OR condition.
Its something like:
Employment status shd be 'Active' OR
Term date Shd be in cureent year AND
line of Business = '99' or '97'.
I was planning to put these conditions in Filter area of a query, but since there is no option for OR condition. Hw shd I go about implementing this.
Any suggestions are welcome.
Thanx.
Pooja.Hi Pooja,
Multiple characteristics with value restriction corresponds to AND conditions and not OR Conditions.
Alternatively can create Formula on keyfigures which specifies all the conditions. Formula supports all logical ,mathematical,boolean operations.
Hope that helps.
Regards
Mr Kapadia
Assigning points is the way to say thanks in SDN. -
Guys,
I created a Role and assigned a Auth Object, But I am not able to see this role when I open my Bex Query? How can I see the roles in Bex Query?
Thanks,
KumarHi,
Have you attached any queries to the role using the menu tab?
If you have - you could try doing a 'user comparison' if it was not done after assigning your user id to the role.
You could also try logging into Query Designer again.
Mathew. -
Authorization Object for role creation for query display?
Hi,
Can Anybody here tell me what is the Authorization object that we use for role creation for query display?
I want to assign a role to the newly designed query! that query does not have any role so far!
Pls suggest me
Thanks,
RaviHi,
I could make the authorization tab green by entering the authorization object!
But user tab still remains red as it is not allowing me to enter my username in the user tab!
in the user tab i am unable to enter my user name?
Any suggestions?
Thanks,
Ravi -
Filter Table data on Query Result
Dear All
When I execute the following query (in Query Generator) I got 6411 records. But when I want to filer this table, in the drop down list in 'ITEM' column I found only 500 records (i.e. up to the recods starting with 'K' though there are records starting with 'W' in 'ITEM' field).
I am using SAP B1, PL 14.
Can any one suggest how to get all the records in the drop down list of filter window?
My query is as follows:
SELECT distinct D.ITEMCODE + ' - ' + D.DSCRIPTION 'ITEM',
DATENAME(M,H.DOCDATE) + ' - ' + DATENAME(YYYY,H.DOCDATE) 'MONTH',
D.PRICE
FROM PCH1 D INNER JOIN OPCH H ON H.DOCENTRY= D.DOCENTRY
WHERE H.DOCTYPE='I' AND D.ITEMCODE + ' - ' + D.DSCRIPTION IS NOT NULL
ORDER BY 1, 2
Thnaks & with regards
Aloke
Edited by: ALOKE BANDYOPADHYAY on Jul 15, 2011 4:51 PMDear Gordon
I have placed the following problem also in forum since one month without receiving any positive answer. So I am requesting you personally can you help me to solve the problem:
Following is the code I am using for revaluation of items which is giveing "Internal Error 5002':
Dim lMaterialRevaluation As SAPbobsCOM.MaterialRevaluation
lMaterialRevaluation = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oMaterialRevaluation)
For li As Integer = 0 To ls_Lines.Length - 1
If ls_Lines(li).Split(vbTab).Length 5 Then
My.Computer.FileSystem.WriteAllText(ls_OutFileName, lnl_SrlNo & "--> Can't Read in the data in Line " & li + 1, True)
My.Computer.FileSystem.WriteAllText(ls_OutFileName, vbNewLine, True)
lnl_SrlNo += 1
Continue For
End If
ls_ItemCode = ls_Lines(li).Split(vbTab)(0).Trim
ls_WareHouseCode = ls_Lines(li).Split(vbTab)(1).Trim
ld_Price = ls_Lines(li).Split(vbTab)(2).Trim
li_IncAccount = ls_Lines(li).Split(vbTab)(3).Trim
li_DecAccount = ls_Lines(li).Split(vbTab)(4).Trim
lMaterialRevaluation.Lines.SetCurrentLine(li)
lMaterialRevaluation.Lines.ItemCode = ls_ItemCode
lMaterialRevaluation.Lines.WarehouseCode = ls_WareHouseCode
lMaterialRevaluation.Lines.Price = ld_Price
lMaterialRevaluation.Lines.RevaluationIncrementAccount = li_IncAccount
lMaterialRevaluation.Lines.RevaluationDecrementAccount = li_DecAccount
lMaterialRevaluation.Lines.Add()
Next
Dim li_Ret As Integer
li_Ret = lMaterialRevaluation.Add
If li_Ret = 0 Then
MsgBox("Material Revaluation Completed")
System.Runtime.InteropServices.Marshal.ReleaseComObject(lMaterialRevaluation)
Else
oCompany.GetLastError(lErrCode, sErrMsg)
MsgBox(sErrMsg & ", Material Revaluation failed")
End If
Thanks & with regards
Aloke -
Missin Roles in BexAnalyzer Query section
Hi All,
I have issue with user can't see the roles in BexAnalyzer Query section.
SSM_CUST already have CONDENSE_MENU YES and DELETE_DOUBLE_TCODES NO.
S_USER_AGR ALready had the roles assigned. But still can't see the roles that assigned to them.
Please advise.
Regards,
PBhi,
are you saying you want to add custom Roles to 11G?
it's either on the Advanced page or the Administration where you can add new custom Roles.
there is also the RoleManager Service (API) that can add them programatically. -
Hi all,
Previously, we were using OBIEE 11.1.1.5.0 and we were able to assign users to application roles by using the initialization block to assign the ROLES session variables.
1. My USER_SECURITY table in Oracle database:
USER_NAME | USER_ID | ROL
user1 | 1723 | GobalDataRole
user2 | 1739 | GobalDataRole
user3 | 1743 | GobalDataRole
2. The SQL query in my session initialization block:
select USER_NAME, USER_ID, ROL
from USER_SECURITY
where USERNAME = ':USER'
3. The row-wise initialization option is not checked.
4. In the Oracle Enterprise Manager Fusion Middleware Control, we created new application role: GobalDataRole and sync with rpd.
5. The GobalDataRole is used in the RPD to filter the data under permissions --> data filter. GobalDataRole only has access to Country A data.
6. Result: under my account, also in rpd Manage --> Sessions, user variable details
User_name , user_id & Rol variable is working fine as expected,
When we log in as user1, we can see in My Account, user assigned to: BI Consumers; Authenticated Role; GobalDataRole
When we log in as user2, we can see in My Account, user assigned to: BI Consumers; Authenticated Role; GobalDataRole
When we log in as user3, we can see in My Account, user assigned to: BI Consumers; Authenticated Role; GobalDataRole
User1, User2, and User3 are able to see the data correctly according the their data access setup.
Now, we using OBIEE 11.1.1.7.1 and using the same method, but we not able to assign users to application roles by using the initialization block to assign the ROLES session variables anymore.
Result:
User_name & user_id variable is working fine as expected, but the ROl variaible is not capturing the DB value,
When we log in as user1, we can see in My Account, user assigned to: BI Consumers; Authenticated Role
When we log in as user2, we can see in My Account, user assigned to: BI Consumers; Authenticated Role
When we log in as user3, we can see in My Account, user assigned to: BI Consumers; Authenticated Role
User1, User2, and User3 can see all data (which is wrong) because they are not assigned to the correct application role that sets the data restriction/filter.
Has anyone encountered the same issue? Any advice on how to solve this?
Thanks in advance!
Satheeshkumar PThanks user10615659 ,
- Yes the variable ROLES available in OBIEE 11.1.1.7.1
- Tested the init block and variables in offline rpd its working as expected.
- In online rpd, except ROLES and GROUP variable remaining variables working fine.
- Verified log file in both online and offline init block testing - the init block execution is successful.
Thanks -
BPMON Alert Inbox - role based custom query
Hello experts,
I have a requirement from my customer in BPMON alert inbox to build a custom queries and distribute them to end-users based on security access or other kind of assignment.
Say for example, we have a monitoring object "purchase requisition" defined for all company codes (regions).
We do not want region A to see BPMON alerts for region B.
So far what I have found is:
1) the alert inbox shows all alerts to everyone who has access to BPO work center, cannot find an authorization object to restrict this.
BPM_DETAIL kind of supposed to do the trick, but it only checks the authorizations when "Detail info" button hit - way pass the initial alerts list.
We want to restrict the alerts visibility even before they come to hit the "Detail" button.
2) Query to view alerts: seems that STANDARD query is available to everyone, and the standard query shows ALL alerts. The Filter would work, and we can create a new query to see only partial alert list, but this query is not "custom" but actually "user-specific", i.e. only person who created it can see it.
We want the ADMIN person to create queries centrally for all regions, and be able to assign those queries to the regional people, so that they can only see the query that contain data pertaining to the region.
And by the way - the "standard" query should be only assigned to ADMIN (not to everyone).
Is it possible to achieve ?
Appreciate any comments.
Thank you
Elenayes, you're correct. Basically "Associate assigned security roles with specific security scopes and collections" is required when you've more than one security role. However, do you think it's worth a try "login
into console with respective administrative user and check the required access."
Also would that be possible to paste the screenshots of security scope properties of administrative users? That would also give some more idea.
I've noted down some of the issues in the following link ( I don't think nothing is directly related to your issue but it may give some clues) http://anoopcnair.com/2013/02/18/configmgr-sccm-2012-sp1-rba-implementation-gotchas-and-troubleshooting-tips/
Anoop C Nair (My Blog www.AnoopCNair.com)
- Twitter @anoopmannur -
FaceBook Forum For SCCM -
IP Characteristic Relationship used via Filter for derivation in Query
Hello Experts,
hopefully you can help me with following issue:
Currency is an Attribute from Company. I created a Characteristic Relationsship to derive Currency from Company
Afterwards I created an Aggregation Level with fields
Currency, Company, Material, Amount, Quantity, Unit.
On this Aggregation Level I defined a Filter with Company which will be filled from a Variable (Replacement Path, Query, single value).
I use this Filter in a Ready-Input Query and defined it like follows:
Rows: Amount and Quantity (restricted to TO)
Column: Material and Currency
The field currency should be filled automatically with Currency from Company but it did't. Due to this the Query is not ready input.
I know that it can be filled via User Exit but this is my last solution if nothing else is working. A Variable with Replacementh path and filled by Attribute of Company does not solve my issue.
Thank you in advance for any help.
Kind Regards
DorisHello,
thank you all for your answers. I used Workpackages for my issue. I picked it upfrom the "How to Use workpackages to control Locking in BI Integrated Planning".
With this solution I can fill the currency with Replacmenth Path from Attribute Company.
This is the first time that I worked with Workpackages for Authorization and I can recomend it because you don't need an User Exit.
Kind Regards
Doris -
Error occured when selecting a filter value on the query
hi,
after the execution of the query on a multiprovider, i select a filter value for a particular characteristic then i get a pop up error message "Error reading the data of infoprovider ZTC_SUV12"
could anyone of you help me
Thanks and Regards,
SubhaHello,
Does the MultiProvider that contains an SAP RemoteCube , if so then try this depending on which system you are working.
BW 3.0B
Implement Support Package 24 for 3.0B (BW3.0B patch 24 or SAPKW30B24 ) in your BW system. The Support Package is available ifnote 0723193 with the short text "SAPBWNews BW Support Package 3.0B Support Package 24", which describes this Support Package in greater detail, is released for customers.
BW 3.10 Content
Implement Support Package 18 for 3.10 (BW 3.10 patch 18 or SAPKW31018) in your BW system. The Support Package is available oncenote 0723260 with the short text "SAPBWNews BW 3.1 Content Support Package 18", which describes this Support Package in more detail, has been released for customers.
BW 3.50
Implement Support Package 09 for 3.5 (BW3.50 patch 09 or SAPKW35009</>) in your BW system. The Support Package is available oncenote 0763335 with the short text "SAPBWNews BW Support Package 09 NetWeaver'04 Stack 09", which describes this Support Package in more detail, has been released for customers.
hope it helps, -
Filter issue in MDX query leaving some values empty!
Hi all,
In short: I have a report with multiple values such as name of shop, postal code etc. The parameters have no default value and act as "like". If someone enters "krant" he'll get all the shop names that contain "krant" in their
name etc.
Same goes for postal code, if someone enters 2550 he'll get all data for 2550. The problem although is that if a user start with postal code as parameters and leaves the shop name empty, the shop name is not shown in my report! The other way around it works,
when I enter shop name i'll get all shops + postal code in my report.
I know this is because POS name cannot be shown in report because it's left blank, but I want my MDX query to be able to give me the POS names even if I only enter postal code.
Can someone please please look at my query below? I need to add 4 more parameters this way later on too!
SELECT
[Measures].[Sales amount]
ON COLUMNS, NON EMPTY
Filter(
[Point of sale].[POS name].AllMembers,
InStr(
[Point of sale].[POS name].CurrentMember.MEMBER_CAPTION,
@PAR_POSName
) > 0
*Filter(
[Point of sale].[POS postal code].AllMembers,
InStr(
[Point of sale].[POS postal code].CurrentMember.MEMBER_CAPTION,
@PAR_POSTAL_CODE
) > 0
*[Point of sale].[Client id].[Client id]
*[Point of sale].[POS id].[POS id]
*[Point of sale].[POS street].[POS street]
*[Point of sale].[POS town].[POS town]
*[Point of sale].[POS housenumber].[POS housenumber]
ON ROWS
FROM [mycube]Hi Yvanlathem,
Have you create the parameters in the MDX Query Designer? I haved tested it on my local environment (Microsoft SQL Server 2012 (SP1) - 11.0.3401.0 (X64) Enterprise Edition (64-bit)), we cannot reproduce this issue.
with
set subset1
as
filter ([Geography].[Geography].[Country].members,
instr([Geography].[Geography].currentmember.name,@name)>0
select {} on 0,
subset1 on 1
from
[Adventure Works]
Reference
Define Parameters in the MDX Query Designer for Analysis Services (Report Builder and SSRS)
Regards,
Charlie Liao
TechNet Community Support -
Insert 600 variable values in pop up filter of a web query
Hello all,
in order to analyze some Material movements I have to insert 600 material numbers in the selction of a query. In Bex Analyzer I can copy and paste the variable in the variable pop up screen.
But when I execute the query in web the filter pop up screen is different to the sap gui pop up screen from Bex Analyzer.
How can I insert 600 variable values in the variable filter screen when I execute a query in web?
The BW release is 3.5 Any ideas would be great.
Best regards,
Stefan from Munich/Germany<FONT FACE = "Tahoma", Font Color = "Blue">
Hi<br>
I don't think that option is possible in Web Reporting. However you may include different ranges of material numbers at the same time for ths purpose.<br>
Something is better than nothing
<br><br>
Hope it helps.<br><br>
Cheers Abhijit<br>
</FONT><FONT FACE = "Verdana", Font Color = "Red">
removed
</FONT> -
Retrieve Filter Field from af:Query Component
I'm using an af:query component on my form and have pre-definied ViewCriterias that load the page. Each ViewCriteria contains one field that is used across all of my search criterias....I need to be able to retrieve this field in my backing bean and get the value of it. I need to know what the user is searching on for this one particular field (i.e. which will always be available in the af:query. I have the queryListener pointing to a method in my backing bean...does someone have some sample code on how to access the fields used in the query and then access the value of one in particular?
public void headerQueryListener(QueryEvent queryEvent) {
CommonHelperFunctions.resolveMethodExpression("#{bindings.AllChangeOrdersQuery1.processQuery}",
null, new Class[] {QueryEvent.class}, new Object[] {queryEvent});
// What can I add here to retrieve a filter field and then retrieve it's value??
The queryListener on my af:query component then calls this headerQueryListener in my backing bean.
Thanks.I have tried the following code just messing around:
QueryModel varQueryModel = getQueryHeader().getModel();
List<AttributeDescriptor> attributeDescriptors = varQueryModel.getAttributes();
AttributeDescriptor ad = attributeDescriptors.get(3);
The attributeDescriptors has the information that I need. I can see the elements in my query and I can see that element 3 is the one I want, but it doesn't have the an _attrDef name but it does have an mAttrName and the mValues[0] mValue has the value that I'm looking for, but I'm having trouble figuring out how to access this information and retrieve what i actually need. I'm very new to Java and ADF so sorry if this is a basic Java question, but if anyone could point me to an example or some sample code, I really appreciate it.
Thanks in Advance. -
Why this to_date() filter slows down the query but not speed it up?
This query returns results in less than a second:
SELECT *
FROM ddms_datum
WHERE person_id = 123456
AND class_id IN (27, 28, 29)
AND ts <= TO_DATE ('11/11/2011', 'mm/dd/yyyy')
ORDER BY ts;But when I added one more filter, the following one takes forever:
SELECT *
FROM ddms_datum
WHERE person_id = 123456
AND class_id IN (27, 28, 29)
AND ts <= TO_DATE ('11/11/2011', 'mm/dd/yyyy')
AND ts >= TO_DATE ('11/4/2011', 'mm/dd/yyyy')
ORDER BY ts;Any ideas? It is a partitioned table.
Edited by: user9511515 on Nov 29, 2011 3:18 PM
Explain plan for Long running one:
PLAN_TABLE_OUTPUT
Plan hash value: 379705822
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 1 | 64 | 4166 (1)| 00:00:50 | | |
|* 1 | TABLE ACCESS BY GLOBAL INDEX ROWID| DDMS_DATUM | 1 | 64 | 4166 (1)| 00:00:50 | ROWID | ROWID |
|* 2 | INDEX RANGE SCAN | DATUM_TS_IDX | 1207 | | 24 (0)| 00:00:01 | | |
Predicate Information (identified by operation id):
1 - filter("PERSON_ID"=123456 AND ("CLASS_ID"=27 OR "CLASS_ID"=28 OR "CLASS_ID"=29))
2 - access("TS">TO_DATE('2011-11-04 00:00:00', 'yyyy-mm-dd hh24:mi:ss') AND "TS"<=TO_DATE('2011-11-11
00:00:00', 'yyyy-mm-dd hh24:mi:ss'))
filter("TS">TO_DATE('2011-11-04 00:00:00', 'yyyy-mm-dd hh24:mi:ss') AND "TS"<=TO_DATE('2011-11-11
00:00:00', 'yyyy-mm-dd hh24:mi:ss'))
18 rows selected.Explain Plan for fast sql:
PLAN_TABLE_OUTPUT
Plan hash value: 4090866632
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 114 | 7068 | 530 (1)| 00:00:07 | | |
| 1 | PARTITION RANGE ALL | | 114 | 7068 | 530 (1)| 00:00:07 | 1 | 22 |
| 2 | SORT ORDER BY | | 114 | 7068 | 530 (1)| 00:00:07 | | |
| 3 | PARTITION LIST INLIST | | 114 | 7068 | 529 (0)| 00:00:07 |KEY(I) |KEY(I) |
|* 4 | TABLE ACCESS BY LOCAL INDEX ROWID| DDMS_DATUM | 114 | 7068 | 529 (0)| 00:00:07 | KEY | KEY |
| 5 | BITMAP CONVERSION TO ROWIDS | | | | | | | |
| 6 | BITMAP AND | | | | | | | |
|* 7 | BITMAP INDEX SINGLE VALUE | DATUM_PERSONID_IX | | | | | KEY | KEY |
| 8 | BITMAP OR | | | | | | | |
|* 9 | BITMAP INDEX SINGLE VALUE | DATUM_CLASSID_IX | | | | | KEY | KEY |
|* 10 | BITMAP INDEX SINGLE VALUE | DATUM_CLASSID_IX | | | | | KEY | KEY |
|* 11 | BITMAP INDEX SINGLE VALUE | DATUM_CLASSID_IX | | | | | KEY | KEY |
Predicate Information (identified by operation id):
4 - filter("TS"<=TO_DATE('2011-11-11 00:00:00', 'yyyy-mm-dd hh24:mi:ss'))
7 - access("PERSON_ID"=123456)
9 - access("CLASS_ID"=27)
10 - access("CLASS_ID"=28)
11 - access("CLASS_ID"=29)
27 rows selected.Edited by: user9511515 on Nov 29, 2011 4:11 PM
Edited by: BluShadow on 30-Nov-2011 08:36
added {noformat}{noformat} tags to maintain formatting. Please read {message:id=9360002} and learn to do this yourself in future.user9511515 wrote:
This query returns results in less than a second:
SELECT *
FROM ab_datum
WHERE person_id = 123456
AND class_id IN (27, 28, 29)
AND ts <= TO_DATE ('11/11/2011', 'mm/dd/yyyy')
ORDER BY ts;
But when I added one more filter, the following one takes forever:
SELECT *
FROM ab_datum
WHERE person_id = 123456
AND class_id IN (27, 28, 29)
AND ts <= TO_DATE ('11/11/2011', 'mm/dd/yyyy')
AND ts >= TO_DATE ('11/4/2011', 'mm/dd/yyyy')
ORDER BY ts;
Any ideas? It is a partitioned table.
Edited by: user9511515 on Nov 29, 2011 3:18 PMpost EXPLAIN PLAN for both SQL statements -
Filter button on second query in workbook
I'm using BEx 7.10. I have a workbook that I added a second query to by inserting a worksheet and inserting an Analysis Grid. That all works fine. Is there a way to add the "Filter" and "Information" buttons to this second worksheet? I tried to just copy and paste from the first worksheet, but they don't work.
That is what I tried to do at first. But it's an excel function to copy the sheet. You can't even get into design view to change the data provider. So I added a new design grid and navagation pane. I could then change the data provider but for the navagation pane (which controls the Filter button) whatever change I made also changed the original worksheet. So this didn't work out too well. Is the filter button workbook specific, meaning you can only have one, can't have one on each sheet? And how is macro or VB code attached to that button?
Maybe you are looking for
-
BAPI for schedule lines (purchase scheduling agreement)
HI Is there a BAPI available to create schedule lines in purchase scheduling agreements? Is there any other way of creating schedule lines in purchase SAs via program? Thanks in advance Sriram
-
Hello been trying to sort out the Icloud and home sharing only av pressed delete some where along the line now all 600 songs are gone from my ipod is there any way i can get them back ?? plz help,
-
How do I find what vesion of Firefox is running on my computer?
How do you find what version of Firefox is running on a computer?
-
How to Execute SSIS package through MySQL Procedure
Hi Everyone, How to Execute SSIS package from MySQL Stored Procedure. Please share your suggestions on this. Regards, Vaishu
-
When i try to sync i get a message that says another user has it open
I am trying to use itunes to sync my ipod and ipad (which I have done many times) and I get a message that says that another user has it open and it needs to be closed. Does anyone have any guidance?