Show Blank Key Figures as 0
Dear all,
I want to ask something,, is there any way to show blank/null key figures (in BEX analyzer) as 0?
Thank you very much...
Regards,
Kevin
Edited by: supertan on Jan 30, 2012 5:00 AM
1.You can achieve your requirement by writing field level Code at transformation level -
if the SOURCE_FIELDS-<object> = ' ' (i.e. blank).
result = 0.
endif.
2. Try to use Query settings - how to display data under Display Tab
Zero Value display --- select : Zero without currency
3.Create a formula and add KF with 0 ( KF+0)
Use Boolean Function
(KF > 0) * KF + (KF <= 0) * 0
Regards,
rvc
Similar Messages
-
BEx Query-Problem opening query showing restricted key figure is inactive
Hi all,
While activating the Query we are getting error , the object is missing in active version ?
And also it is not allowing to open the query how to activate the query element now?
Also restricted key figure is inactive and how to activate the query in background ?Hi,
I have never heard of query activation, we simply create the query and save it. I don't know which activity you are referring to but try to open your query through RSRT and check what is the error it shows?
And before that make sure that your Infoprovider is in active state.
Regards,
Durgesh. -
Key figure description not show in BEx and WAD sometimes
Hi experts!
I have a big problem. Sometimes we have the effect that a report shows no key figures. I mean I see the numbers but no key figure description is shown.
Example (correct)
Country | Hierarchy | Banking | ATM | ....
Germany | Key figure 1 | 1.000 | 500 | ....
| Key figure 2 | 27 | 9 | ....
| Key figure 3 | 27 | 9 | ....
| Key figure 4 | 27 | 9 | ....
Example (wrong)
Country | Hierarchy | Banking | ATM | ....
Germany | | 1.000 | 500 | ....
| | 27 | 9 | ....
| | 27 | 9 | ....
| | 27 | 9 | ....
We can solve the problem if so we deleted the query from the cache but that is not really a good solution.
Any suggestions?
Regards, ThomasHi Thomas,
I have a similar problem in WAD. After applying Patch 19, the Key Figures descriptions do not display in certain reports.
From Query Designer, everything is OK.
Could you fix the issue?
Jean-Luc T. -
How to write conversion routine for key figure?
Our customer has this requirment:
we need to know the last time of some TV program in BEx report, If a TV program last 500 seconds, we need show the key figure like this: 00:08:20, If a TV program last 100000 seconds, we need show the key figure like 27:46:40 (27 hours and 46 minitues and 27 seconds), If we define a key figure as time, BW system will report a error that say it is not acceptable time. If we want to define a integer, but we need display it like hhmmss format. We know we can write conversion routine for char. but I don't how to write conversion routine for key figure. Please give me any hint if any other solutions?
Edited by: SY DONG on Dec 2, 2010 3:36 AMIf you want to do in Transformation Layer :
You can use routine ...break up the seconds into minute hour and seconds
you will have to handle few cases in this:
let say your variable lv_seconds holds the number of seconds you want to convert to hour min and seconds
DATA: lv_seconds type i,
lv_hrs type i,
lv_sec type i,
lv_min type i.
lv_hrs = lv_seconds / 3600
if lv_hrs >= 1.
lv_min = (lv_hrs - trunc(lv_hrs))*60
here again handle seconds if min >60.
else.
lv_hrs = '00'.
lv_min = lv_hrs*60
It is just hint ..how you can manipulate the seconds to get it...you will have to think about the complete algorithm
Regards,
RK -
Analyser: Presenting negative key figures in red font
I need to show negative key figures with a red font within Analyser. I have got as far as creating a template workbook and in there changing the SAPBExStdData style to include number formatting that has red negatives. When I create a workbook based on this template and check the style of one of the negative values, then it is picking up my modified style. However, the style is not actually being applied unless I select each cell, open the style dialog and click OK! Even if I do this the colour reverts back to black at the first refresh. Any ideas?
I solved the requirement with the following code, this retains the formatting (currency etc) applied by BEx and also checks to see that the cell background is not set to red (for example by an exception).
Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
Dim negColour As String
' loop through all cells in the results area
For Each c In resultArea.Cells
' ignore cells with no number formatting at all
If c.NumberFormat > "" Then
' make sure that the number formatting includes actual numbers
If InStr(c.NumberFormat, "0") > 1 Then
' if the background is red then use white to colour negative values
If c.Interior.ColorIndex = 3 Then
negColour = "[White]"
' otherwise use red text for negatives
Else
negColour = "[Red]"
End If
' if the number format is already split for negative values
If InStr(c.NumberFormat, ";") > 1 Then
' insert just the negative colour formatting
c.NumberFormat = Replace(c.NumberFormat, ";", ";" & negColour)
' otherwise the split and formatting need to be added
Else
c.NumberFormat = c.NumberFormat & ";" & negColour & "-" & c.NumberFormat
End If
End If
End If
Next
End Sub -
Restricted key figure with operater symbol depending on characteristic v
We have a operating income report that shows actual, forecast and budget amounts, the variance and %variance in its columns and revenue and expense items (Hierarchy nodes, expandable) in its rows.
The %variance key figure for revenue and expenses is calculated the same way, except if it's a expense node it has to be multiplied by -1. We would like to show that key figure in one column only. What would be the easiest way to achieve that?
Thanks a lot,
FabianHow do you identify the account as revenue or expense...if my understanding of your issue is correct....you must be having a GL Hierarchy (example) in the rows and you are tring to show the actual, plan by value type. To overcome with your issue, the best and definite solution that works (we did have the same approach) is to reverse the sign at the hierarchy level in rsh1 itself than worrying about it in the query.
-
Characteristic used as a key figure
Hi,
I have a characteristic (TRANSACTIONID) with many attributes. The NARATIVE is one of its navigation attribute (is a characteristic char(30) ). For some transaction the NARATIVE may contain a description, but for others it can contain a TAX value.
In my reports I have to use this characteristic as a Key figure and also to use currency translation to show this key figure in other currency.
I tried with replacement path but it didn't work.
Is it possible somehow?
Thanks a lot in advance,
DragosThanks a lot for your answers,
I tried in Query Design but I cannot make this possible.
I have added a new key figure in the cube and made a transformation between that characteristic and this key figure. -
Problem with restricted key-figure using off-set variable
Hello Gurus,
I have created a query in Bex Query Designer with a key figure restricted. This key figure shows me the 0amount value for the last month. When I select 003.2009, the key figure brings the 002.2009 values. I used an off-set variable to do this
It works!
But when I show this key-figure in Webi, no value shows up on the table.
Any suggestions?
tks
Edited by: Allisson Valverde on Jul 23, 2010 12:12 AMWhich variable are you using in BEx and in WEBI to restrict the month/year?
-
How to ignore blank/null key figure value in BI Queries
Reports on Multiprovider - we see some cells of a Key figure as blanks. These blanks are interpreted as zeros by the system and calculated accordingly resulting in incorrect values. As per our requirement, we need a count of all hard/real zeros only, not the blanks. For example, if there are 10 rows of which 6 are real zeros and 4 are blanks - our count should be 6 and not 10.
How to ignore the blanks in BEx queries please?
Thanks for your help.
UpenderRakesh,
It is not possible to find a pattern because the report is on a MultiProvider with 2 InfoProviders- Purchasing documents DSO and Material Movements InfoCube.
Every Purchasing Document has several materials associated with it. These materials are compared with materials in Materials Movement. Not all materials in Purchasing Document are found in Materials Movement. For those Materials found in Materials Movement, the Quantity is obtained. For these found rows, the correct value is showing up - if the quantity is zero, it is showing in reports as zero. If the material is not found in Material Movements then Quantity shows up as blank values.
My requirement is ignore such blank quantities and not count them. Only Quantities with 0 values should be counted. Currently both blanks and zero values are counted showing inflated count.
Thanks,
Upender -
Key Figures not showing in BEx Workbooks
Hi,
Recently we migrated the BW3.5 workbooks to BI7. After the migration and transportation of the workbooks to Quality system, in some of the workbooks the Key figures are not showing up and in some workbooks the key figures which are set as 'Hide" in the query are also showing up.
Can anyone please suggest a way to fix this issue.
Thanks in advance.
KalyanHi,
Thanks for your response.
Even if there is no transaction data for the key figure, it should still show up in the report but as blank column, but in my case the key figure is not at all showing in the report.
"Hide" setting for key figure is specific only to BEx and is done in the BEx query, which is being used by the Workbooks, so i do not think that it has anything to do with the InfoObject migration.
Kalyan -
Query key figures showing incorrect values
Hi,
key figures in my query are showing incorrect values NO CALC POSSIBLE
Data in the cube is coming from different datasources and the cube is compressed.
this is how data in the cube looks like
plant Unit currency Stock Quantity Stock Value total ( *** key figure ( inflow and outflow)
P001 ST 1000 0
P001 EUR 100
Query result
plant stock(PC) Stock Quantity Stock Value total ( cumy figure ( inflow and outflow)
P001 No Cal possible 1000 100 No Cal possible
How do I resolve in query or cube level so that the NO CALC possible is not displayed.
thanksHi,
Indeed my cube is a copy of 0IC_C03.
Could you please explain more about the filtering.
I have the following key figures
0TOTALSTCK
0ISSTOTSTCK
0RECTOTSTCK
ZISSSTCK_VALUE
ZREC_VALUE
ZTOTSTKVALUE
ZTOTSTKVALUE is CKF with inflow and outflow of ZISSSTCK_VALUE
ZREC_VALUE
Whenever there is 0 it displays NO CALC possible. I would like to have it blank or 0s.
thanks -
Description of key figure is blank in English
In our project a Custom key figure is created in spanish language and description also in spanish.
Version: BW 3.1
When I have logged in to spanish language and checked the report in Bex ,description of key figure is available.
But when I log in to english environment the description in bex rport of key figure is showing blank
In rsa1 in both spanish and english environments key figure description is okay and correctly displaying.
Could you please throw some light in it so that I can solve the error
regards,
HarunHi Haroon,
Please check this link.
Problem with Description Visibility
Ash. -
Key Figure value in Cube showing with extra zeros
Loaded data into the cube. When I display the result
Key figure values are showing with 2 extra zeroes and Quantity value shaowing with 3 extra zeroes.
Original value
Price, Quantity, Sales Rev
2 1 2
3 2 6
When display value from cube
Price, Quantity, Sales Rev
2,00 1,000 2,00
3,00 2,000 6,00
Why zero is showing? How can I display the original value? In PSA, values are showing correctly.
Thanks,Hi,
These are the zeroes after the decimal places. this is the property of the key figure.
In your report you can change the display value. In the display properties of the Key figure under the number of decimal places make it as 0. This will remove the zeroes.
Hope it helps.
Regards,
Gaurav
Edited by: Gaurav Kothari on Oct 16, 2008 10:35 AM -
Key figure, number of decimal places are not showing in report output
Dear experts,
At cube level PO qty value is getting 0.010 where as in bex report output of PO qty showing as 0. I have chosen decimal places as 0.000 in key figure additional properties tab. In query designer also I have chosen no of decimal places as 0.000 in display propertiesu2026please help me out. How can I get 0.010 value in report o/p.
Thanks in advance.
Srivalli.Hi,
Try to run the query in RSRT. CHeck if you are getting the same output. Also make sure that in the reports all the filters are same as you have applied in the info -cube to see the data.
- Jaimin -
How to show filter values of restricted key figures in BEx Analyzer?
Hi,
I have following report.
Quantity USA Quantity China
Product 100 150
Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
E.g.:
Country USA
Quantity USA
Product 100
If I put both restricted key figures in the query, this line is not shown.
Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
Thanks!
Regards,
PascalHi,
I have following report.
Quantity USA Quantity China
Product 100 150
Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
E.g.:
Country USA
Quantity USA
Product 100
If I put both restricted key figures in the query, this line is not shown.
Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
Thanks!
Regards,
Pascal
Maybe you are looking for
-
Photoshop Elements 6.0 Update to 6.01 Fails
My computer: Dual Core @ 3 GHz 8 G Ram Win 7 64 HD - 500 G Earlier today, I re-installed Photoshop Elements 6.0. The installation was completed without any issues. I then downloaded the file, ps601up.exe, from adobe.com to update Elements to 6.0.1.
-
hello friends, i m trying to implement a scenario where i need to send a MATMAS05 IDoc from MDM to R3 via XI.... once IDoc reaches R3 i want to update the database using MATMAS05 IDoc... can any 1 please tell me the process code that is used for MATM
-
Wee need os x lion update 10.7.1 soon
too many crashed app wee need new update most of programs is not workin update update update pls
-
Help, Install EBS 11i, JSP is not responding
Good afternoon, I tried to install oracle 11i - Window XP, SP2, - vc98 - cygwin Rename : gawk.exe to awk.exe grep.exe to egrep.exe make.exe to gnumake.exe gcc.exe to cc.exe ipconfig : Windows IP Configuration Ethernet adapter Local Area Connection: C
-
Error using drill down function on receiving transaction in GL
"The Receiving Accounting Events function is not available under General Ledger Super User" is received when attempting to drill down on a receiving transaction through GL. I have searched for any missing roles/responsibilities under GL super user an