Bringing Duplicate values in OBIEE Answers report
Hi Experts
Need you advise on the below:
I need to bring the duplicate rows in obiee11g report. I have a seq. generator which makes the complete row unique.
But the problem is Business User doesn't want to bring that column in report and then hide it.
I also unchecked "DISTINCT SUPPORTED" plus few more parameters in teh DB properties but no help.
Pls. guide how to achieve it on rpd level so that user doesn't have to drag the column to get duplicate rows.
Appreciat any guidance.
Hi
I tried the solution but it didn't work .
These 9 records come when I don't bring the unique identifier in the report request
2013 November FirstNameA LastNameA 1851
2013 November FirstNameB LastNameB V594
2013 November FirstNameC LastNameC 1851
2013 November FirstNameD LastNameD V594
2013 November FirstNameE LastNameE V594
2013 November FirstNameG LastNameG 1851
2013 November FirstNameH LastNameH 1851
2013 November Samuel Ian 1775
2013 November Sandra David 1775
These 10 records come when I bring the unique identifier in the report request . See for - FirstNameE LastNameE
The user wants to see both the rows without actually dragging the unique identifier.
2013 November 16 Sandra David 1775
2013 November 17 FirstNameA LastNameA 1851
2013 November 18 FirstNameB LastNameB V594
2013 November 19 FirstNameC LastNameC 1851
2013 November 20 FirstNameD LastNameD V594
2013 November 21 FirstNameE LastNameE V594
2013 November 22 FirstNameE LastNameE V594
2013 November 23 FirstNameG LastNameG 1851
2013 November 24 FirstNameH LastNameH 1851
2013 November 25 Samuel Ian 1775
Similar Messages
-
Duplicate value in Command extract report
Hi Experts
I am getting a duplicate record when extracting the BOM which is so called Material Extract in my words
when running the report I am getting the duplicate value for the cost estimate. near the form extract_bom_details under select queries
Can anyone help me why I am getting so by seeing the coding please.
TYPES:
BEGIN OF ty_bom,
matnr(12) TYPE c, " Material #
werks(4) TYPE c, " Plant
stprs(10) TYPE c, " Quantity
meins(3) TYPE c, " Unit of Measure
END OF ty_bom,
it_ty_bom TYPE ty_bom OCCURS 0,
*Start of block of changes for JPC20061107
BEGIN OF ty_bom_sapfmt,
matnr TYPE MARC-MATNR, " Material #
werks TYPE MARC-WERKS, " Plant
stprs TYPE MBEW-STPRS, " Quantity
meins TYPE MARA-MEINS, " Unit of Measure
END OF ty_bom_sapfmt.
Report COMMAND_EXTRACT_D *
REPORT command_extract_d .
*CLASS cl_gui_control DEFINITION LOAD.
*CLASS cl_gui_frontend_services DEFINITION LOAD.
Tables
TABLES:
kna1,
knb1,
knvv,
mara,
mast, "JPC20061107
marc,
makt,mbew,
sscrfields.
CONSTANTS: BEGIN OF gc_status,
acc TYPE zcrstat1 VALUE ' ACC',
hol TYPE zcrstat1 VALUE ' HOL',
sto TYPE zcrstat1 VALUE ' STO',
ok TYPE zcrstat1 VALUE ' OK',
hold TYPE zcrstat1 VALUE 'HOLD',
END OF gc_status.
CONSTANTS: BEGIN OF gc_reason,
000 TYPE zreason VALUE '000',
001 TYPE zreason VALUE '001',
002 TYPE zreason VALUE '002',
003 TYPE zreason VALUE '003',
004 TYPE zreason VALUE '004',
005 TYPE zreason VALUE '005',
006 TYPE zreason VALUE '006',
007 TYPE zreason VALUE '007',
008 TYPE zreason VALUE '008',
010 TYPE zreason VALUE '010',
011 TYPE zreason VALUE '011',
021 TYPE zreason VALUE '021',
022 TYPE zreason VALUE '022',
023 TYPE zreason VALUE '023',
024 TYPE zreason VALUE '024',
025 TYPE zreason VALUE '025',
026 TYPE zreason VALUE '026',
999 TYPE zreason VALUE '999',
END OF gc_reason.
TYPES: BEGIN OF ty_kna1_fields,
kunnr TYPE kna1-kunnr,
sperr TYPE kna1-sperr,
aufsd TYPE kna1-aufsd,
lifsd TYPE kna1-lifsd,
faksd TYPE kna1-faksd,
loevm TYPE kna1-loevm,
END OF ty_kna1_fields.
TYPES: BEGIN OF ty_knb1_fields,
kunnr TYPE knb1-kunnr,
bukrs TYPE knb1-bukrs,
sperr TYPE knb1-sperr,
loevm TYPE knb1-loevm,
END OF ty_knb1_fields.
TYPES: BEGIN OF ty_knvv_fields,
kunnr TYPE knvv-kunnr,
vkorg TYPE knvv-vkorg,
vtweg TYPE knvv-vtweg,
spart TYPE knvv-spart,
aufsd TYPE knvv-aufsd,
lifsd TYPE knvv-lifsd,
faksd TYPE knvv-faksd,
END OF ty_knvv_fields.
TYPES: BEGIN OF ty_knkk_fields,
kunnr TYPE knkk-kunnr,
kkber TYPE knkk-kkber,
ctlpc TYPE knkk-ctlpc,
crblb TYPE knkk-crblb,
knkli TYPE knkk-knkli,
klimk TYPE knkk-klimk,
skfor TYPE knkk-skfor,
ssobl TYPE knkk-ssobl,
END OF ty_knkk_fields.
TYPES: BEGIN OF ty_cust_stat_output,
kunnr(10) TYPE c, "Customer #
stat(4) TYPE c, "Customer status
END OF ty_cust_stat_output.
TYPES:
BEGIN OF ty_customers,
kunnr(10) TYPE c, " Customer #
div1(1) TYPE c, " Pipe delimiter
name1(32) TYPE c, " Customer name
div2(1) TYPE c, " Pipe delimiter
altkn(8) TYPE c, " Old Customer #
div3(1) TYPE c, " Pipe delimiter
stras(30) TYPE c, " Street
div4(1) TYPE c, " Pipe delimiter
ort01(20) TYPE c, " City
div5(1) TYPE c, " Pipe delimiter
regio(3) TYPE c, " State
div6(1) TYPE c, " Pipe delimiter
pstlz(4) TYPE c, " Postcode
div7(1) TYPE c, " Pipe delimiter
telf1(14) TYPE c, " Phone 1
div8(1) TYPE c, " Pipe delimiter
telf2(14) TYPE c, " Phone 2
div9(1) TYPE c, " Pipe delimiter
erdat(10) TYPE c, " date
div10(1) TYPE c, " Pipe delimiter
splant(2) TYPE c, " plant
div11(1) TYPE c, " Pipe delimiter
END OF ty_customers,
it_ty_customers TYPE ty_customers OCCURS 0,
BEGIN OF ty_custstat,
kunnr(11) TYPE c, " Customer #
company(2) TYPE c, " #
status(3) TYPE c, " acc,cod,hol,
END OF ty_custstat,
it_ty_custstat TYPE ty_custstat OCCURS 0.
TYPES:
BEGIN OF ty_materialm,
matnr(12) TYPE c, " Material #
maktx2(40) TYPE c, " Command sales desc.
maktx(16) TYPE c, " Basic description
extwg(6) TYPE c, " External Material Group
flag1(1) TYPE c, "
flag2(1) TYPE c, "
flag3(1) TYPE c, "
flag4(1) TYPE c, "
END OF ty_materialm,
it_ty_materialm TYPE ty_materialm OCCURS 0,
BEGIN OF ty_materialp,
matnr(12) TYPE c, " Material #
werks(4) TYPE c, " plant
batch(1) TYPE c, " download to batch
END OF ty_materialp,
it_ty_materialp TYPE ty_materialp OCCURS 0.
TYPES:
BEGIN OF ty_bom,
matnr(12) TYPE c, " Material #
werks(4) TYPE c, " Plant
stprs(10) TYPE c, " Quantity
meins(3) TYPE c, " Unit of Measure
END OF ty_bom,
it_ty_bom TYPE ty_bom OCCURS 0,
*Start of block of changes for JPC20061107
BEGIN OF ty_bom_sapfmt,
matnr TYPE MARC-MATNR, " Material #
werks TYPE MARC-WERKS, " Plant
stprs TYPE MBEW-STPRS, " Quantity
meins TYPE MARA-MEINS, " Unit of Measure
END OF ty_bom_sapfmt.
Selection screen definition
SELECTION-SCREEN: BEGIN OF BLOCK bom WITH FRAME TITLE text-004.
PARAMETERS:
p_dbom LIKE filepath-pathintern DEFAULT 'Z_COMMAND_BOM_EXTRACT',
p_fbom LIKE rlgrap-filename.
SELECT-OPTIONS:
s_bmatnr FOR MARA-MATNR, "JPC20061107
s_bwerks FOR MAST-WERKS no-extension no intervals, "JPC20061107
s_bextwg FOR mara-extwg.
SELECTION-SCREEN: END OF BLOCK bom.
SELECT-OPTIONS:
s_kunnr FOR kna1-kunnr.
SELECTION-SCREEN: END OF BLOCK ccst.
DATA: clsdir TYPE REF TO cl_gui_frontend_services.
DATA: strfolder TYPE string.
DATA: folderln TYPE i.
DATA: gva_error(1) TYPE c VALUE ' '.
Initial procedure on START ***************
INITIALIZATION.
p_fcust = 'CUST.prn'.
p_fmatm = 'MATM.prn'.
p_fmatp = 'MATP.prn'.
p_fbom = 'BOM.prn'.
p_fccst = 'CCSTAT.prn'.
p_fccst2 = 'CCSTATC.prn'.
p_fccstl = 'CCSTATL.prn'.
s_dextwg-option = 'BT'.
s_dextwg-low = '1'.
s_dextwg-high = '8'.
APPEND s_dextwg.
s_bextwg-option = 'BT'.
s_bextwg-low = '1'.
s_bextwg-high = '1'.
APPEND s_bextwg.
AT SELECTION-SCREEN.
IF p_ccust EQ 'X' AND ( p_fcust IS INITIAL OR p_dcust IS INITIAL ).
MESSAGE s000(zppu)
WITH 'You must specify the file details for the customer data'.
gva_error = 'X'.
ENDIF.
IF p_cmatm EQ 'X' AND ( p_fmatm IS INITIAL OR
p_fmatp IS INITIAL OR
p_dmatm IS INITIAL ).
MESSAGE s001(zppu)
WITH 'You must specify the file details for the material data'.
gva_error = 'X'.
ENDIF.
IF p_cbom EQ 'X' AND ( p_fbom IS INITIAL OR p_dbom IS INITIAL ).
MESSAGE s002(zppu)
WITH 'You must specify the file details for the BOM data'.
gva_error = 'X'.
ENDIF.
IF p_cbom EQ 'X'.
IF s_bwerks-low is initial.
MESSAGE s002(zppu)
WITH 'You must specify a plant to run BOM extract for'.
gva_error = 'X'.
ENDIF.
IF LINES( s_bwerks ) > 1.
MESSAGE s002(zppu)
WITH 'You can only specify 1 plant for BOM extract'.
gva_error = 'X'.
ENDIF.
ENDIF.
IF p_ccst EQ 'X' AND ( p_fccst IS INITIAL OR
p_fccst2 IS INITIAL OR
p_fccstl IS INITIAL OR
p_dccst IS INITIAL ).
MESSAGE s002(zppu)
WITH 'You must specify the file details for the customer'
'status data'.
gva_error = 'X'.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
PERFORM user_command.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fcust.
PERFORM get_gui_filename USING p_dcust p_fcust.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fmatm.
PERFORM get_gui_filename USING p_dmatm p_fmatm.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fmatp.
PERFORM get_gui_filename USING p_dmatm p_fmatp.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fbom.
PERFORM get_gui_filename USING p_dbom p_fbom.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fccst.
PERFORM get_gui_filename USING p_dccst p_fccst.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fccst2.
PERFORM get_gui_filename USING p_dccst p_fccst2.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fccstl.
PERFORM get_gui_filename USING p_dccst p_fccstl.
END-OF-SELECTION.
Data selection execution.
DATA: lwa_kna1 TYPE kna1,
lwa_knb1 TYPE knb1,
lwa_knvv TYPE knvv.
DATA: lwa_marc TYPE marc,
lwa_mara TYPE marav,
lwa_makt TYPE makt.
DATA: lit_marav TYPE marav OCCURS 0.
DATA: lit_customers TYPE it_ty_customers,
lwa_customers TYPE ty_customers.
DATA: lit_custstat TYPE it_ty_custstat,
lwa_custstat TYPE ty_custstat.
DATA: lit_materialm TYPE it_ty_materialm,
lwa_materialm TYPE ty_materialm.
DATA: lit_materialp TYPE it_ty_materialp,
lwa_materialp TYPE ty_materialp.
*(del)DATA: lwa_bomlist TYPE ty_bomlist, "JPC20061107
*(del) lit_bomlist TYPE it_ty_bomlist. "JPC20061107
DATA: lwa_bom TYPE ty_bom_sapfmt,
lit_bom TYPE it_ty_bom WITH HEADER LINE. "JPC20061107
lit_bom TYPE it_ty_bom. "JPC20061107
DATA: output_file TYPE string.
DATA: lock_file TYPE string.
DATA: lva_mssage TYPE string.
DATA: lva_matnr(18) TYPE n.
DATA: lva_date TYPE datum.
DATA: txtper(3) TYPE c.
DATA: custper TYPE i.
DATA: custcount TYPE i.
DATA: itemnum TYPE i.
CHECK gva_error <> 'X'.
IF p_ccust EQ 'X'. " Do the customer file extract
PERFORM extract_customer_details.
ENDIF.
IF p_cmatm EQ 'X'. " Do the Material file extract
PERFORM extract_material_details.
ENDIF.
IF p_cbom EQ 'X'. " Do the BOM file extract
PERFORM extract_bom_details.
ENDIF.
IF p_ccst EQ 'X'. " Do the customer credit status file extract
PERFORM extract_credit_status_details.
ENDIF.
*& Form extract_customer_details
text
--> p1 text
<-- p2 text
FORM extract_customer_details.
SELECT * FROM knb1
INTO lwa_knb1
WHERE bukrs = p_dcomp.
MOVE-CORRESPONDING lwa_knb1 TO lwa_customers.
MOVE-CORRESPONDING lwa_knb1 TO lwa_custstat.
MOVE '#' TO lwa_custstat-company.
MOVE p_dwerk TO lwa_customers-splant.
--WG1K903075: Start Delete-
move: '|' to lwa_customers-div1,
'|' to lwa_customers-div2,
'|' to lwa_customers-div3,
'|' to lwa_customers-div4,
'|' to lwa_customers-div5,
'|' to lwa_customers-div6,
'|' to lwa_customers-div7,
'|' to lwa_customers-div8,
'|' to lwa_customers-div9,
'|' to lwa_customers-div10,
'|' to lwa_customers-div11.
--WG1K903075: End Delete---
--WG1K903075: Start Insert-
MOVE: ' ' TO lwa_customers-div1,
' ' TO lwa_customers-div2,
' ' TO lwa_customers-div3,
' ' TO lwa_customers-div4,
' ' TO lwa_customers-div5,
' ' TO lwa_customers-div6,
' ' TO lwa_customers-div7,
' ' TO lwa_customers-div8,
' ' TO lwa_customers-div9,
' ' TO lwa_customers-div10,
' ' TO lwa_customers-div11.
--WG1K903075: End Insert---
APPEND lwa_customers TO lit_customers.
APPEND lwa_custstat TO lit_custstat.
ENDSELECT.
DESCRIBE TABLE lit_customers LINES custcount.
LOOP AT lit_customers INTO lwa_customers.
txtper = 100 * sy-tabix / custcount.
custper = txtper.
SELECT SINGLE * FROM kna1
INTO lwa_kna1
WHERE kunnr = lwa_customers-kunnr.
MOVE-CORRESPONDING lwa_kna1 TO lwa_customers.
lva_date = lwa_customers-erdat.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = lva_date
IMPORTING
date_external = lwa_customers-erdat
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
REPLACE ALL OCCURRENCES OF '.'
IN lwa_customers-erdat WITH '/'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = lwa_customers-kunnr
IMPORTING
output = lwa_customers-kunnr.
WRITE: lwa_customers-kunnr RIGHT-JUSTIFIED TO lwa_customers-kunnr.
MODIFY lit_customers FROM lwa_customers.
Percentage indicator display
lva_mssage = 'Extracting customers'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = custper
text = lva_mssage.
ENDLOOP.
IF p_gui IS INITIAL.
PERFORM get_file_path USING p_dcust p_fcust output_file.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
LOOP AT lit_customers INTO lwa_customers.
TRANSFER lwa_customers TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
ELSE.
MOVE p_fcust TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
TABLES
data_tab = lit_customers
EXCEPTIONS
OTHERS = 11.
ENDIF.
output_file = custcount.
CONCATENATE
output_file
' Customers extracted'
INTO
lva_mssage.
message lva_mssage type 'I'.
ENDFORM. " extract_customer_details
*& Form extract_bom_details
text
--> p1 text
<-- p2 text
FORM extract_bom_details.
select MARAMATNR MBEWBWKEY MBEWSTPRS MARAMEINS "JPC20061220
into lwa_bom
from ( MARAV AS MARA
inner join MARC
ON MARAMATNR = MARCMATNR
INNER join MBEW
ON MARCMATNR = MBEWMATNR
AND MARCWERKS = MBEWBWKEY
where MARA~MATNR in s_bmatnr
and MBEW~BWKEY in s_bwerks
and MARA~EXTWG in s_bextwg.
clear lit_bom.
WRITE lwa_bom-matnr TO lit_bom-matnr.
MOVE lwa_bom-werks TO lit_bom-werks.
MOVE: lwa_bom-stprs TO lit_bom-stprs,
lwa_bom-meins TO lit_bom-meins.
APPEND lit_bom.
ENDSELECT.
SORT lit_bom ascending.
Ending for lines inserted for change 20061107
IF p_gui IS INITIAL. "write to server
PERFORM get_file_path USING p_dbom p_fbom output_file.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
custcount = lines( lit_bom ).
LOOP AT lit_bom.
txtper = 100 * sy-tabix / custcount.
custper = txtper.
lva_mssage = 'Extracting material B.O.Ms'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING percentage = custper
text = lva_mssage.
TRANSFER lit_bom TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
ELSE.
MOVE p_fbom TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
write_field_separator = ' '
TABLES
data_tab = lit_bom
EXCEPTIONS
OTHERS = 11.
ENDIF.
ENDFORM. " extract_bom_details
output with duplicate values
MARA BWKEY STPRS MEINS
10004989 BN01 28.00 TO
10004989 BN01 28.00 TO
10005010 BN01 19.00 EA
10005010 BN01 19.00 EA
10005018 BN01 800.00 BAG
10005018 BN01 800.00 BAG
10005115 BN01 82.74 TO
10005115 BN01 82.74 TO
10005117 BN01 137.30 TO
10005117 BN01 137.30 TO
Regards
PirozHi,
Use this statement then duplicate entries removed.
DELETE ADJACENT DUPLICATES FROM table-field.
regards,
Lakshminarayana -
Omit Duplicate value in D/N report
Dear Expert,
I have a report based on outbound Delivery.
Data showing in my report with duplicate value.
Delivery Item Condition value
3600000016 90001 2,169,180.00
3600000016 90002 2,169,180.00
3600000016 90003 2,169,180.00
But I need to my report report like:
3600000016 90001 2,169,180.00
3600000016 90002
3600000016 90003
Thanks & B.RgdsHi,
Apply the below logic.
data: wa like itab,
v_count type i.
loop at itab.
if v_count > 0.
if itab-deliveryitem = wa-deliveryitem and
itab-condition = wa-condition and
itab-value = wa-value.
clear: itab-condition, itab-value.
modify itab.
else.
wa-deliveryitem = itab-deliveryitem.
wa-condition = itab-condition.
wa-value = itab-value.
endif.
else.
wa-deliveryitem = itab-deliveryitem.
wa-condition = itab-condition.
wa-value = itab-value.
endif.
v_count = v_count + 1.
endloop. -
Setting column width in OBIEE Answers report
Hi All,
Not sure if this has been asked before in the forums, but I did not succeeded in finding any clues. We have an OBIEE 10g Answers table view report that we need to display on our dashboard. The problem is that we need to set some width for all the columns in the report so that report does not extends horizontally as data in column grows but not much luck setting width in Column Properties. Since I am a newbie in the world of OBIEE, so I would appreciate any guidance with setting widths in an Answers report.
Looking forward to your responses.
Regards,
MariaHi,
The best option to do this is :
1. Create a report which has less data. And in the column properties hide it.
2. Edit the Dashboard page and there is an option called 'Add Column'
3. Place the report with the hidden column.
4. Please hide the complete section and remove the collapsible. And save it
5. When you view the report, it would not appear in the page but you can view the desired report.
Please let me know if you still face issues.
Regards
MuRam -
Remove (.) tablename.column_Name from OBIEE Answers Report
Hi,
I am using answers report as a DataSource in BiPublisher report. When I view the XML generated ,it always has tablename._columnName_ (.).
I have to avoid this .,instead if I can get only column name in the XML tag,then it would be fine for me. The problem I am facing is :
I have to use answers report as a DataSource to build a flex template and thus flash report. The flash report is a dynamic one,let me say one tabular and the other chart.
When clicked on any value on the tabular report ,the chart should change dynamically. To achieve this we do some flex coding where we use class.object name.
When the object name has a . Flex is confused. How can I get rid of this . generated in the tag name of the XML?
Thanks In Advance,
KrishnaHello,
i have experienced an error like this, and after i seach a while, realized that there is wrong join table condition. may be you can have a look table joins again. hope it helps.
Ugur MIHCI
www.ifslibrary.com -
Underscores appearing when the Source is OBIEE Answers report.
Hi,
When I use OBIEE Answers for my Source in the XML data I see the table name.columns in the below format with a Underscore at the beginning and end.
Is there any way that we can give proper names to it as becasue when I am using this in Analyzer Template there is no way I can rename the columns.
<_Responsibility_._Booking_Channel_>ATO/Call Centre</_Responsibility_._Booking_Channel_>
<_Origin_City_._Origin_Country_Name_>Jordan</_Origin_City_._Origin_Country_Name_>
<_Origin_City_._Origin_City_Name_>AMMAN</_Origin_City_._Origin_City_Name_>
<_Destination_City_._Destination_Country_Name_>Egypt</_Destination_City_._Destination_Country_Name_>
<_Destination_City_._Destination_City_Name_>CAIRO</_Destination_City_._Destination_City_Name_>
<_Flight_Segment_._No_of_Customer_Journeys_>5</_Flight_Segment_._No_of_Customer_Journeys_>
<_Flight_Segment_._No_of_Flight_Segments_>5</_Flight_Segment_._No_of_Flight_Segments_>
Regards,
BhavikHey Bhavik,
I'm having a similar problem with the formatting of the columns taken from OBIEE Answers. I'm trying to do the following, but its not liking the period in the middle of a variable name.
<xsl:variable name="totalOH" select="sum(current-group()/_EQUIPMENT_._OH_)"/>
I'll let you know if I find anything.
-Luke -
Max date related to Max value in OBIEE answers
Hi,
I have one requirement in answers where in which i have to show the data with following columns
My table structure is Account Number, date, Balance
My report structure is Account Number, Max balance, Max balance Date, Balance as on start date, Balance as on end date.
I have to provide a adhoc date filter, where in which user has the option to select the start date and end date.
user wants the report in same format
Can any one please let me know how to handle this in OBIEE 10.1.3.4 Answers.
Thanks
KrishnaHi Deva,
But i tried with a simple scott RPD. It has two tables DEP and EMP. In the criteria section i dragged and dropped 4 columns. DEPNO, DNAME, ENAME AND SALARY. And in the criteria filter section, i added the column "DNAME" and chose the static filter as "ACCOUNTING". when i clicked on the results tab. It displayed the results related to DNAME-ACCOUNTING. After that, I created a dashboard_Prompt in which i chose the column prompt and the column as DNAME and the condition i gave is - equal to. In the Dashboard section, I dragged and dropped both the Dashboard_Prompt and Analysis. In the Dashboard, in Dashboard_Prompt section is chose the value "RESEARCH". Now the default analysis that was displaying the results related DNAME-ACCOUNTING changed and filtered the data related to DNAME-RESEARCH.
By this experiment, I guess giving static value in criteria and changing it in the Dashboard_prompt will work. Is it right?
Thanks
Thenmozhi -
Showing only the duplicate values in a webi report.
Hi, I have a unique identifier in my table which is not unique as we are not correctly maitaining the data, I am looking for a way in Webi to list out only the duplicate numbers in the table for that unique object as an audit report so I can make sure it remains clean with no duplicates. Any suggestions on an easy way to do this?
Create a Row Count Measure, as the value being 1, in your Universe for the report. Add that Row Count into the query for the report, re-execute the query, highlight the entire report and then set a filter for that by dragging and dropping the Row Count Measure and filtering where the value > 1.
Edited by: Dennis Scoville on Jul 27, 2009 11:29 AM -
Issues while Exporting OBIEE Answers Report to Excel
Hi All,
In my report, I have a column named (Order number) which is a measure column. I am displaying this column in a pivot table view. In the measure section i am duplicating this column(Order number) and applying % for the column in the following way:
Order number column-> Show Data As-> percent Of-> Column
After doing this i am getting values like this 0.3, 99.5 etc etc... But when i export this report to Excel sheet. The result appears like this .0%, 1.0% etc like this. But I want 0.3, 99.5 that is the decimal points should be displayed accurately in the excel. How could I do it? Pls anybody shed light on this issue? Awaiting your reply...
Thanks in Advance
ThenmozhiHi,
You can try adding the below statement in the Custom CSS section of the column properties:
mso-number-format:"\@"
Refer snapshot here:
http://i53.tinypic.com/a09kqv.jpg
This will treat the data in the column as text while downloading to excel, hence retaining any leading or trailing spaces.
Award points it is useful.
Thanks,
Satya -
How to Identify duplicates in OBIEE Answers.
Hi Friends,
Please help me here.
I am having a secnario in OBIEE Answers.
How to identify duplicates using combination either first names with Last Name or with DOB in OBIEE.I dont have access to RPD currently.
Also please let me know using RPD also how i achive this .
Example :
Cusomers table:
First_Name Last_Name DOB
ABC XYZ 29-Mar-2011
ABC XYZ 28-Mar-2011
ABC PQR 29-Mar-2011
ABC XYZ 29-Mar-2011
Case 1: Check row 1 & row 2 having First_Name & Last_Name duplicate but DOB is differ.
Case 2: check row 1 & row 3 having First_Name & DOB duplicate but last name is differ.
case 3: check row 1 & row 4 having First_Name,Last_name & DOB duplicate.
Advance Many Thanks.,
DakHi Dak,
option 1:
go to advanced tab of that particular report...
You find check box Check this box to issue an explicit Select Distinct
option 2:
Uncheck the following item in Physical layer database features.
DISTINCT_SUPPORTED
For displaying duplicate rows refer : http://carpediemconsulting.wordpress.com/2008/08/13/displaying-duplicate-values-in-obiee-reports/
Thanks
Aravind -
Selecting a column in Answers report based on user prompt/ apply filter
I need to do the following in OBIEE Answers report (version 10.1.3.4.1):
1) Think of a simple table with dim TX_type and some measures like month_jan, month_feb, month_mar
so the fact table looks like (column names) tx_type, month_jan, month_feb, month_mar
2) I need to select the measure column based on a user dashboard prompt, prompt populates a presentation variable var_month = jan or feb or mar
3) I need to select the correct measure (one of these month_jan, month_feb, month_mar) and then apply column filter based on the dim TX_type to split the values of these into multiple columns for report. So the report may look like (in Answers)
Sales , Tax, overheads
where Sales may be defined as sum(month_jan) where rows have TX_type = 'sales'
where Tax may be defined as sum(month_feb) where rows have TX_type = 'tax'
where overheads may be defined as sum(month_mar) where rows have TX_type = 'overheads'
IF the user selects jan
IF user selects Feb then the 3 report columns are based on month_feb and likewise for month_mar
I cannot use column selector option as the report column further apply filter in column filter definitions in Answers...
4) When I try to build the column filter using a presentation variable (var_month), the presentation variable is not getting populated in the column filter.
For e.g. IF var_month = 'jan'
THEN month_jan (let us assume the logical column name is month_jan too)
ELSE month_feb and so on...
However, the var_month always shows 0 in the IF clause. If we used a repository variable instead, it works fine. But since repostory variable cannot be changed on the fly (by user prompt) it is not usable.
We cannot change fact table defintion....and we have 12 measures column and about 8-10 different colum filter based report columns using this measure.Hi shyamvaran,
have you thought about a SQL statement in the prompt, something like:
SELECT
case when 1=0 then Table."Column" else 'Jan' end
FROM "Subject Area"
union
SELECT
case when 1=0 then Table."Column" else 'Feb' end
FROM "Subject Area"
union
SELECT
case when 1=0 then Table."Column" else 'Mar' end
FROM "Subject Area"
union
SELECT
case when 1=0 then Table."Column" else 'Apr' end
FROM "Subject Area"
etc...
Use this to give you the 12 values for your months then give the prompt column a presentation variable name and set a default value in the 'Default To'. Also set the same default value for the filter.
A couple of points:
1. If you're transforming the presentation variable from 'Jan' to 'month_jan' you may need to edit the syntax for the filter column (not using the dialog box).
2. If you're transforming the behaviour of a dimension / measure column in the report, have you specified the syntax correctly, e.g. sum('@{pres_var}')?
Hope this helps,
Justin -
Converting OBIEE Answers / Interactive Dashboards into .pdf or .xls files
Hi all;
I’m a freshie here as well as in Business Intelligence industry. Right now, without prior knowledge about this tool, I’m working in OBIEE answer.
Is it possible for us to convert OBIEE answer report/dashboard into .pdf or .xls files? Other tools like Cognos and Business Object have their own utilities to convert the tool’s reports into those formats. I believe OBIEE also have that essential, but untill now, i couldn’t find it.You can download Reports on Dashboard to PDF and HTML from:
Click Printer Friendly icon placed at bottom left corner and PDF or HTML.
You can download individual reports on Dashboard:
Page Options ==> Edit ==> Report Properties ==> Report Links. Check the options you want to see below the report. -
How to delete duplicate value in movement type 541 & 542(alv report)
hi experts,
i have some problem in alv report,
input we can give some movement type for ex(101,102,541,542, etc)
how to delete duplicate value in 541 and 542.
regards
gunasekaran.Try:
Delete adjacent duplicates from ITAB comparing FIELD1, FIELD2.
to do this the ITAB must be Sorted first.! -
Pass Input Values to BI Publisher Report Layout from BI Answers Dashboard
Has anyone been able successfully pass user input values from a BI Answers dashboard prompt into a BI Publisher report? I'm trying add user inputted text (notes, comments) into a report he/she runs.
I've been trying with no success. I've matched the name of the presenation variables in Answers to the parameter definitions in BI Publisher.
I've declared the parameter in the RTF template as below:
1. Declaration
<?param@begin:param1?>
2. retrive value:
<?$param1?>
If i run it directly from BI Publisher, there is no issue. When I pass the value from an Answers dashboard, the text is never displayed in the report?
Any suggestions?
Thanks,
Lael
Oracle Business Intelligence 10.1.3.4.2
BI Publisher 10.1.3.4.1
Red Hat 5.6
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
AIX 6.1Hi Vishal,
Refer: http://blogs.oracle.com/xmlpublisher/entry/running_bip_reports_in_biee_wi
or
http://kirti-bi-solutions.blogspot.com/2009/06/passing-parameters-from-obiee.html
thanks,
Saichand.v -
Deliver Answer reports using OBIPublisher scheduler VS using OBIEE Delivers
Hi Gurus,
I am working on a POC where I need to give a comparative study between delivery mechanism of OBIEE delivers and OBI Publisher Scheduler for sending across Answers/dashboard reports built in OBIEE.
Business & IT wants to use OBI Publisher scheduler to deliver reports to end users .I have extensively worked on OBI Delivers for delivery of alerts and configuring of IBOTS for various different tasks.
If somebody can tell me the pros and cons of using one or the other tool then it would be of great help.
Scenario:- we have some Cash Advance reports in OBIEE Answers/Dashboard from Oracle Applications(OTM) which are built using OBIEE and the reports needs to be delivered using OBI Publisher scheduler.Can I do this and if I can what are the advantages and disadvantages of doing it in OBI Publisher.And is it a good idea to use OBI Publisher scheduler because I belive to use the Publisher's scheduler I have to put the Answers reports in OBI Publisher and use Publisher's scheduler for delivery.Please let me know if my understanding is correct.
This is something for which I need to have a solution very soon.please help.
Thanks a lot in advance for all the help.
Regards,
SankarI think Delivers it's probably a better solution than the BIP Scheduler since it's better integrated to OBIEE. I don't think you can schedule a Dashboard in BIP Scheduler, as far as I know BIP takes Answer queries only. Besides a BIP report requires some setup before you can schedule it unlike Answers and Dashboards which can be scheduled directly in Delivers.
I guess it comes down to an architecture decision. If I were you I would try to use Delivers only. If you think Delivers is missing any BIP Scheduler functionality I would post another thread in the forum as they might another way to do it in Delivers which you don't know.
Maybe you are looking for
-
I am creating a program that has two balls which produce a sound when bouncing off the walls and each other. I am having trouble when they collide with each other, as my value for when they hit each other does not seem to be working. Here is my sourc
-
Using the Teststand API to create a .tpj file
Hello, I'm looking for an example on how to create a teststand project file with the API. I cannot find a methode or property to create it, and add the project file(s) to a workspace. I've tried with PropertyObjectFile (Classe) without success. Let m
-
Connecting my Nikon to my Macbook air
I am trying to connect my Nikon Coolpix P530 to my macbook air via a cable. When i initially connect the camera iPhoto opens the images on the camera, but they disappear quickly and then can't be found again.How can I connect the camera via the cable
-
Two pivot tables in one report - obiee 11.1.1.5
Hi experts! Is possible to do a two pivot table (EACH with DIFFERENT CALCULATED ITEMS)?? For example: Pivot table: Calc1 Calc2 Calc3 (Hide all other members dimension, only show 3 Calc items) Pivot table2: Calc5 Calc6 Calc7 (Hide all other members di
-
How do you change the language in iPad Pages?
How do you change the language in iPad Pages? I tried lookin for it but I can't find it.