How can i display units only for the result set
hi
i do not want to display units (example: $ or %) for my key figure columns but i want to display units to the result.
how can i do that
Hi Surya,
I don't think it is possible to have both non-unit and unit in the same kf.
One potential workaround to do this is to create a calculated key figure/ formula that use the NODIM function for single values. Example: NODIM(0AMOUNT). Then, create a calculated key figure/formula that computes overall result on the same kf and supresses individual values but does not use NODIM....perhaps this can help you work out a solution.
Hope this helps.
Regards,
Petter
Message was edited by: M Petter
Similar Messages
-
How can i display a portlet in the Edit view only ?
Dear All,
I'm developing a portal in which the end user can change the content of the portal page (personalize) using Edit smart link and i ask How can i display a portlet in the Edit view only ? not shown in the production view ?Last time I heard with Oracle they said the only way is to look at the current URL. If it contais _mode=16 then we are in edit mode.
This is a function I use:
FUNCTION inEditMode return boolean is
bEdit boolean := false;
begin
if PORTAL.wwpro_api_parameters.get_value('_mode', 'qaz') = '16' then
bEdit := true;
end if;
return bEdit;
end inEditMode;
Kind regards
Tomas Albinsson
Stockholm, Sweden -
How can I display on a string the symbol omega (ohms)
how can I display on a string the symbol omega (ohms)
Hi,
See there : http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000032410000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
Hope this helps !
Julien -
How can I remove Personal Hotspot for the iPad
How can I remove Personal Hotspot for the iPad, I use apple configurator but I still can NOT do it. any idea?
I mean hide it, or remove it or delete it. I just don't wanna anyone on my enterprises use it because my data plan gonna be high cost.
supported by my carrier, I asked my carrier if they can remove it ? they said they can NOT. -
My phone was stolen, I have moved it in lost mode,but I can see that whoever has it,is changing phone name and can use it until I activate lost mode again.Can I do it permanently? How can I cancel ICloud back for the stolen phone, as I cannot delete the stolen phone backup (says that backup is being in use) and this is keeping memory occupied in the Cloud and I cannot back-up the other devices.
http://support.apple.com/kb/ht2526
-
How can I buy apple watch for the space black stainless steel case and the black sport band for one order?
Unfortunately no. I asked the same question when I went to the local Apple Store for my "try on" and as of now you would have to order the watch with the metal link band and the black sports band separately.
-
How can i find Czech books for the ibook app?
i would like to download books in Czech languge.
some one know how can i find Czech books for the ibook app?Google Czech ebooks.
You'll need to make sure the format will work with iBooks or one of the reader apps when you download.
Start with the free books and go on from there. -
2 days ago i rented The Avengers, beside it took almost 7h to download, at the end it did not get fully downloaded... 20 last minutes were not there. I know is just 5 dollars, but, how can i make a claim for the amount paid?, what if I buy a movie later? i will get the same problem!!! still I do not know how the avengers ends!! please do not tell me haha, focus on the problem here!
Welcome to the Apple Community.
Apple's policy on sales of digital content is that all sales are final. If however you wish to appeal to Apple, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.
Currently, if your purchase happens to be your most recent purchase you will not be redirected to the report form, in this case use the report a problem option from the invoice that was emailed to you.
I believe your issues are probably a network issue, which unless you resolve are likely to be repeated again. -
How can I put something in for the last Wednesday of every month
How can I put something in for the last Wednesday of every month
I don't believe there is such a custom repeat option with the iPhone's Calendar app, but if you are syncing calendar events with a supported calendar app on your computer or syncing calendar events over the air with an email account that supports it with an option to create such a custom repeating event with the online calendar, set up the custom repeating event there.
-
How can I get null values for the later weeks
Hi All,
When I execute this code I get the records till current week.
How can I display the output so that I get null values for the later weeks. (with the help of v_numOfWeeks variable in the code)
Thanks,
Vikram
DECLARE
v_query VARCHAR2(4000);
TYPE ref_cursor IS REF CURSOR;
v_refcur ref_cursor;
v_sum NUMBER;
v_id NUMBER;
v_name VARCHAR2(1000);
v_weeknum NUMBER;
v_pernum NUMBER;
v_numOfWeeks NUMBER := 5;
BEGIN
v_query := ' SELECT SUM(product_bkg), postn_id, postn_tbl.postn_name, b.week_num, b.period_num
FROM ops_cv_extract b, (SELECT row_id, desc_text postn_name
FROM s_postn) postn_tbl
WHERE lvl_6_id = 5767
AND fiscal_year = 2008
AND b.week_num < 4
AND b.period_num = 3
AND b.postn_id = TO_NUMBER(postn_tbl.row_id)
GROUP BY postn_id, postn_tbl.postn_name, b.week_num, b.period_num
ORDER BY postn_tbl.postn_name, b.week_num';
OPEN v_refcur FOR v_query;
LOOP
FETCH v_refcur INTO v_sum, v_id, v_name, v_weeknum, v_pernum;
EXIT WHEN v_refcur%notfound;
dbms_output.put_line('P'|| v_pernum||'W'|| v_weeknum||' '||v_name||' '||v_sum);
END LOOP;
END;
This is the output when I execute this code.
P3W1 COMM CNTRL ISAM 213 26961.61
P3W2 COMM CNTRL ISAM 213 12870.4
P3W3 COMM CNTRL ISAM 213 245.88
P3W1 COMM CNTRL ISAM 273 72831.2
P3W2 COMM CNTRL ISAM 273 8739.38
P3W3 COMM CNTRL ISAM 273 3764.92
P3W1 COMM CNTRL TAM 213 49844
P3W2 COMM CNTRL TAM 213 20515.17
P3W3 COMM CNTRL TAM 213 16167.46
P3W2 COMM CNTRL TAM 216 12561.4
P3W3 COMM CNTRL TAM 216 2027.1
P3W1 COMM CNTRL TAM 273 -3336.71
P3W2 COMM CNTRL TAM 273 -1376.68
P3W3 COMM CNTRL TAM 273 19707.42
P3W1 Damon Walters -609.07
P3W2 Damon Walters 30030.24
P3W3 Damon Walters 37475.1
This is the output I'd like to get
P3W1 COMM CNTRL ISAM 213 26961.61
P3W2 COMM CNTRL ISAM 213 12870.4
P3W3 COMM CNTRL ISAM 213 245.88
P3W4 COMM CNTRL ISAM 213
P3W5 COMM CNTRL ISAM 213
P3W1 COMM CNTRL ISAM 273 72831.2
P3W2 COMM CNTRL ISAM 273 8739.38
P3W3 COMM CNTRL ISAM 273 3764.92
P3W4 COMM CNTRL ISAM 273
P3W5 COMM CNTRL ISAM 273
P3W1 COMM CNTRL TAM 213 49844
P3W2 COMM CNTRL TAM 213 20515.17
P3W3 COMM CNTRL TAM 213 16167.46
P3W4 COMM CNTRL TAM 213
P3W5 COMM CNTRL TAM 213
P3W1 COMM CNTRL TAM 273 -3336.71
P3W2 COMM CNTRL TAM 273 -1376.68
P3W3 COMM CNTRL TAM 273 19707.42
P3W4 COMM CNTRL TAM 273
P3W5 COMM CNTRL TAM 273
P3W1 Damon Walters -609.07
P3W2 Damon Walters 30030.24
P3W3 Damon Walters 37475.1
P3W4 Damon Walters
P3W5 Damon Walters Edited by: polasa on Oct 28, 2008 6:42 PMSure, in a Single SQL ->
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Elapsed: 00:00:00.01
satyaki>
satyaki>
satyaki>-- Start Of Test Data --
satyaki>with week_tab
2 as
3 (
4 select 1 period_num, 1 week_num, 10 bkg1 from dual
5 union all
6 select 1, 2, 40 from dual
7 union all
8 select 1, 3, 30 from dual
9 union all
10 select 1, 2, 20 from dual
11 union all
12 select 1, 1, 10 from dual
13 union all
14 select 1, 1, 20 from dual
15 union all
16 select 1, 3, 10 from dual
17 union all
18 select 2, 1, 15 from dual
19 union all
20 select 2, 2, 20 from dual
21 union all
22 select 2, 3, 10 from dual
23 union all
24 select 2, 1, 15 from dual
25 union all
26 select 2, 2, 30 from dual
27 union all
28 select 2, 3, 20 from dual
29 )
30 -- End Of Test Data --
31 select period_num,
32 week_num,
33 (
34 select sum(week_tab.bkg1)
35 from week_tab
36 where period_num = m.period_num
37 and week_num = m.week_num
38 group by week_num, period_num
39 ) sum_bkg1
40 from (
41 select dum.week_num,
42 wk.period_num
43 from (
44 select 1 week_num from dual
45 union all
46 select 2 from dual
47 union all
48 select 3 from dual
49 union all
50 select 4 from dual
51 union all
52 select 5 from dual
53 ) dum ,
54 (
55 select distinct period_num
56 from week_tab
57 ) wk
58 ) m;
PERIOD_NUM WEEK_NUM SUM_BKG1
1 1 40
1 2 60
1 3 40
1 4
1 5
2 1 30
2 2 50
2 3 30
2 4
2 5
10 rows selected.
Elapsed: 00:00:00.48
satyaki>Regards.
Satyaki De. -
Custome Event for the Result Set iView
Hi,
does anybody know how to set up the Custom Event on the Result Set iView in order to trigger an event when a record is selected?
I know how to do it using an event Type = EPCF + Event Name + Namespace, but this creates an extra colum on the Result Set iView with the Custom Event name on it, that has to be click in order to trigger the event. I do not want click on this column, i just want to create the event when the record is selected.
Regards
Diego.Hi Diego,
We are also implementing similar scenario.
We also want to open a window on the clik of any column of the result and if the result is zero we want to trigger some another iView.
So if u have found any solution can u just let me know.
OR else can u just elaborate on ur current scenario using EPCF and custom event.
Thanks in Advance.
Regards Shruti. -
How to add a dummy row in the result set of a SELECT statement.
Hello Everyone -
I have requirment to add a dummy row in the result set of a SELECT statement.
For e.g. lets say there is a table Payment having following colums:
Payment_id number
status varchar2(10)
amount number
payment_date date
so here is the data :-
Payment_id Status Amount payment_date
1 Applied 100 12/07/2008
2 Reversed 200 01/ 06/2009
3 Applied 300 01/ 07/2009
Here is my SQL
Select * form payment where payment_date >= 01/01/2009
Output will be
2 Reversed 200 01/ 06/2009
3 Applied 300 01/ 07/2009
My desired output is below
2 Reversed 200 01/ 06/2009
3 Applied 300 01/ 07/2009
2 Reversed -200 01/ 06/2009 ------(Dummy Row)
Thrid row here is the dummy row which I want to add when status is "Reversed"
I would be very thankful for any kind of help in this regard ...
Thanks,
GauravCartesion joining against a dummy table is a useful method of creating a dummy row:
with my_tab as (select 1 cust_id, 1 Payment_id, 'Applied' Status, 100 Amount, to_date('12/07/2008', 'mm/dd/yyyy') payment_date from dual union all
select 1 cust_id, 2 Payment_id, 'Reversed' Status, 200 Amount, to_date('01/06/2009', 'mm/dd/yyyy') payment_date from dual union all
select 1 cust_id, 3 Payment_id, 'Applied' Status, 300 Amount, to_date('01/06/2009', 'mm/dd/yyyy') payment_date from dual union all
select 2 cust_id, 1 Payment_id, 'Applied' Status, 100 Amount, to_date('12/07/2008', 'mm/dd/yyyy') payment_date from dual union all
select 2 cust_id, 2 Payment_id, 'Reversed' Status, 200 Amount, to_date('01/05/2009', 'mm/dd/yyyy') payment_date from dual union all
select 2 cust_id, 3 Payment_id, 'Applied' Status, 300 Amount, to_date('01/06/2009', 'mm/dd/yyyy') payment_date from dual union all
select 2 cust_id, 4 Payment_id, 'Reversed' Status, -400 Amount, to_date('01/06/2009', 'mm/dd/yyyy') payment_date from dual union all
select 2 cust_id, 5 Payment_id, 'Applied' Status, 500 Amount, to_date('01/07/2009', 'mm/dd/yyyy') payment_date from dual),
--- end of mimicking your table
dummy as (select 'Reversed' col1, 1 rn from dual union all
select 'Reversed' col1, 2 rn from dual)
select mt.cust_id,
mt.payment_id,
mt.status,
decode(dummy.rn, 2, -1*mt.amount, mt.amount) amount,
mt.payment_date
from my_tab mt,
dummy
where mt.status = dummy.col1 (+)
order by mt.cust_id, mt.payment_id, dummy.rn nulls first;
CUST_ID PAYMENT_ID STATUS AMOUNT PAYMENT_DATE
1 1 Applied 100 07/12/2008
1 2 Reversed 200 06/01/2009
1 2 Reversed -200 06/01/2009
1 3 Applied 300 06/01/2009
2 1 Applied 100 07/12/2008
2 2 Reversed 200 05/01/2009
2 2 Reversed -200 05/01/2009
2 3 Applied 300 06/01/2009
2 4 Reversed -400 06/01/2009
2 4 Reversed 400 06/01/2009
2 5 Applied 500 07/01/2009Edited by: Boneist on 07-Jan-2009 23:10
NB. You may have to mess around with the ordering if that's not come back in the order you wanted. You didn't mention what the rules were for any expected ordering though, so I've made up my own *{;-)
Also, I added an identifier (cust_id) to differentiate between different sets of payments, since that's usually the case. Remove that if it's not applicable for your case. -
Hi,
How can I force the Time Capsule - Time Machine Couple to communicate via an Ethernet cable for the initial backup without changing the wi-fi configuration of the Time Capsule?
I do not want to change the wi-fi configuration of the TC because it appeared that I was not able to restaure it proprerly after a first "ethernet backup".
Please note that I do not want to use my TC to extend my wi-fi network nor create a new one. But, when I disable the wi-fi on the TC, as I want to restaure it, I only can see "expend" or "create a network" options within the wirless config page of AirPort Utlity; "Connect to a network" is not shown in the list!
Thx a lot for your attention,
François
MBP 15' mid-2010
OS X 10.8.2 (12C54)
Time Capsule end-2011 (2TB - v7.6.1)You MUST change the TC mode to something other than join a wireless network.. because in that mode, TC turns off the ethernet ports.
The join a wireless network is hidden option because apple do not support it and it works poorly.
You can access it by holding down the option key.
You can also save the current settings and restore them after you finish the ethernet backup.
Please note using join means double hop wireless and your TC data speed to the Mac will be extremely slow.. this will also affect your other internet connections and any other computers on the wireless network as it will use most of the capacity for much longer period than directly connecting to the TC.
Basically that is why Apple do not support it.. it is lousy way to work a TC in a network. -
KM Search: How can I define a query for the user who currently logged on?
Hello,
I want to use the KM Search iView to display all documents from the currently logged on user in a certain sort order. The result should be some kind of report for the user...
In the search option I can define a default sort order. And I can also define it for a special user with cm_modifiedby(value=username)
But how can I define the predefined property value generically for the current user?
I tried to insert following values in the parameter Predefined Properties of the search option:
Predefined Properties (csv): cm_modifiedby(value=<user.id>)
Predefined Properties (csv): cm_modifiedby(value=%user.id%) -> like in the predefined properties
Predefined Properties (csv): cm_modifiedby(value=$sap_user) -> like in the xml forms builder
But non of these 3 parameters worked. Has anybody an idea what the right variable is?
Thanks a lot.
Best regards
NicoleHi Nicole,
1. First of all you need to use "<User.UserID>" to get the currently logged on user.
2. You need to create an AppIntegrator iView (so based on com.sap.portal.appintegrator.sap.Generic) in order to be able to use this dynamical parameter. The parameter "URL template" should look like:
<Request.Protocol>://<Request.Server>/irj/servlet/prt/portal/prtroot/com.sap.km.cm.basicsearch?layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=quick&rndLayoutSet=SearchResultLayoutSet&SearchCompsName=UISearchComponents&QueryString=*&SelectedCustomProps=cm_modifiedby(value=<User.UserID>)
Best regards,
Robert -
I just brought some song in iTunes, and add lyrics in it, can be display in MAC, but can't display in my IOS8 iPad . Please help!
For whatever reason the iPad will not display lyrics, I think its been this way since iOS 7. The iPhone will display them, but not iPad. I don't think its a bug, I think Apple wants it this way for some reason ... give your feedback here:
http://www.apple.com/feedback/ipad.html
Maybe you are looking for
-
Text cut of on very bottom of page when I print - Photosmart 6520; Macbook Pro
I don't know what's going on, but when I print two-sided from a word doc on my mac, the the lower half of the text at the very bottom of each page cuts off. Can anyone help me fix this problem? I'd really appreciate it.
-
I have latest I pad lighting connection and would like to view my photos through my tv what cable do I need
-
Airport Express and phone interference
When my home phone rings or we make a call, our wireless internet connection (airport express) disconnects. Has someone already had this issue? if yes, is there any solution to resolve it?
-
I am unable to show the User IP , php file is working fine Followed this article : http://active.tutsplus.com/tutorials/actionscript/get-user-ip-address-using-php-and-action script-3/ My html : http://awaisahmad.info/uploads/user_ip.html myphp : htt
-
Cenvat Forecast error : j1i6
Dear experts , When i run the t code j1i6 , i get the following error Default Condition Type not defined for Tax Procedure TAXINN further analysis : Diagnosis Default condition type not defined for tax prcedure Procedure Maintain table j_1ita