How to show NULL value when import data into excel
when retrieve data from sql server and import these data into excel.
data source is like : select a ,b c from tab
if a,b,c is nullable. when import these NULL value into excel, it becomes blank value, there is nothing in the excel cell.
if i don't want to use select isnull(a,'NULL') as a to convert the values.
what's else can i do to make it? is there a way to prevent changing the NULL to blank ?
or is there an easy solution to replace all the blank value to NULL in the excel ?
help me ~
Similar Messages
-
How to filter compounding value when no data available for that field.
Hi experts,
I have a compounding value (Logical Procurement System) for an infoobject username which shows up in Bex when no data is available for that row. It shows up like this "compounding value/not assigned" instead of just "not assigned". I have put the compounding infoobject in the filter area and restricted that value/set to no display. still the compunding key/xxxxxxx. shows up. Any thoughts to fix this issue is appreciated.
I looked into SDN threads..but no help. This issue is stopping me from moving reports to production.
Let me know if you need any information in this regards.
Thanks,
SAPBWIHi,
Please add this compunding char in free char.Do not set it to no display
-Vikram -
How to eliminate null values from the data?
This query displays data for a project with approval & submission dates...I'm trying to eliminate records that have null values in Approval & submission date columns at the same time. But rather keep the records that have atleast one submission date or approval date?
SELECT distinct QP.QIP_id,
Max(decode( Upper(QP.Status_CD), Upper('Approved') , Effective_date, null )) as Approved_date,
Max( decode( Upper(QP.Status_CD), Upper('Submitted') , Effective_date, null ) ) as Submitted_date
FROM Llp_Sys.Project_Status QP
WHERE SYSDATE >= qp.effective_date
AND (qp.terminated_date IS NULL OR SYSDATE < qp.terminated_date)
GROUP by QP.QIP_ID,Qp.Status_CD
order by QP.QIP_IDfrancislazaro wrote:
This query displays data for a project with approval & submission dates...I'm trying to eliminate records that have null values in Approval & submission date columns at the same time. But rather keep the records that have atleast one submission date or approval date?
SELECT distinct QP.QIP_id,
Max(decode( Upper(QP.Status_CD), Upper('Approved') , Effective_date, null )) as Approved_date,
Max( decode( Upper(QP.Status_CD), Upper('Submitted') , Effective_date, null ) ) as Submitted_date
FROM Llp_Sys.Project_Status QP
WHERE SYSDATE >= qp.effective_date
AND (qp.terminated_date IS NULL OR SYSDATE < qp.terminated_date)
GROUP by QP.QIP_ID,Qp.Status_CD
order by QP.QIP_ID
based on my assumption, will the following not work ? if so then post some sample data and expected output (simplify as much as possible)
SELECT *
FROM (SELECT DISTINCT qp.qip_id,
MAX(DECODE(UPPER(qp.status_cd),
UPPER('Approved'), effective_date,
NULL
)) AS approved_date,
MAX(DECODE(UPPER(qp.status_cd),
UPPER('Submitted'), effective_date,
NULL
)) AS submitted_date
FROM llp_sys.project_status qp
WHERE SYSDATE >= qp.effective_date
AND ( qp.terminated_date IS NULL
OR SYSDATE < qp.terminated_date
GROUP BY qp.qip_id, qp.status_cd
ORDER BY qp.qip_id)
WHERE approved_date IS NOT NULL OR submitted_date IS NOT NULL;Edited by: Clearance 6`- 8`` on Jul 9, 2010 12:46 PM -
How to set null value for a date column using database adapter
Hello,
I have a table wih 3 columns
(id NUMBER,
modified_on DATE
contentText VARCHAR2)
I have a row wih theses values (1, 20/03/2010 16:30, 'coucou')
I want use a DB adapter in a BPEL process to change the value of column modified_on to (null). I'm using the out-of-he box "update" method (no custom sql, nieher "insert or update (merge)" method)
- If I only set values of "Id" and "contentText" -> insert is done but I missed the modification of "modified_on" to (null)
- If I set all values and use expression '' (2 single quote without any space) for modified_on I got an error on update
BWriteInteractionSpec Execute Failed Exception.
update failed. Descriptor name: [DBUTFORM.TForm]. [Caused by: String index out of range: 10]
Caused by Exception [TOPLINK-3001] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.ConversionException
Exception Description: The object [xs:datetime], of class [class java.lang.String], could not be converted to [class java.sql.Timestamp].
Internal Exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 10.
Thanks for help1008318 wrote:
its my personal need..then it is a very bad personal need. DATE is not an appropriate type to be using for a primary key, as it cannot be guaranteed to be unique, especially when inserting multiple rows at once.
You would be better working to business needs and implementing correct technical solutions to those needs, than to just do things based on your personal needs. -
How to disabled all constraints when importing data (urgent)
Hi,
I am running import on my database. It’s dump file size 40GB & I forget to set import parameter constraint=N. due to that import is very slow.
Could any body help me out.
Thanks,
ATHi,
>>due to that import is very slow
I'm not sure whether this is the "source" of low performance, because just in the end of the process that integrity constraints are enabled.
1) New tables are created. (Type definitions, Table definitions)
2) Data is imported. (Table data)
3) Indexes are built. (Table indexes)
4) Triggers are imported. (integrity constraints, views, procedures, and triggers)
5) Integrity constraints are enabled on the new tables.
6) Any bitmap, functional, and/or domain indexes are built.
Cheers
Legatti -
How can I write the name of data into Excel?
Now, I write T1 T2 T3 and so on into an excel file and each is in one column. How can I insert the data name such as " T1 T2 T3" on the top row by programming?
I am using "write to spreadsheet file. vi" now and wire the data with "build array".How can you creat the "red box" (linked to append report text.vi) with name as Pressure, temperature, operator ?
Actually, I use much simpler way. Could you please have a look at it?
I attach an vi file to express my meaning.
附件:
save try.vi 40 KB -
Hi All,
When iam importing data into excel, leading zero's are truncating.
Eg: I have a column orgid in a table. Data is like 00067509,056429...
When importing into excel, leading zeros are truncated and orgid data shown in excel as 67509,56429...
Please help to get zero's in excel.you did not post info how you create the data to be available for excel. it is important to us that you also describe how you create the data. i will assume that you create the text file on oracle and i'll try to give an example as a workaround that might work to you. we create a .csv file that can be opened to excel and each of the column is enclosed by double quotes and separated by comma. the column whose values had leading zeroes we added an equal sign before enclosing them to a double quotes (e.g. ="000123456") this way when it is opened on excel it preserves the leading zeroes.
. -
Error when importing data using DTW template
Dear All gurus/experts,
I have a problem when importing data into SBO system using DTW. The error message is "sort error, pls check the prepared data and delimeter. I use SBO 2004 SP 00 PL 41. I don't understand to cope with this problem, I have no idea anymore. I appreciate your answer. TIA
Rgds,Tks for your reply. I have seen it and the error message relates to delimeter. I have tried to correct the error by recreate the file and save as tab delimeted. Right now I am trying to import the files.
Rgds, -
ORA-00926: missing VALUES keyword | when importing data
Hello,
I get the missing VALUES keyword error when importing data from an Excel spreadsheet. Until yesterday everything worked fine. Today I'm having this problem because OSD does not build the DML correctly. See:
insert into WFT_GROEPEN (CODE,OMSCHRIJVING,NIVEAU,INDIC_LAAGSTE_NIVEAU) VALUES('1.1.1.1','- Value of business acquired',4,'N');
Working with OSD 1.2.1 on Windows XP.
Anyone got a clue?
Kind regards,
DennisHi,
Thanks for your reply. I found the problem myself. I got 2 columns in the Excel sheet with the same name. Then OSD creates an insert statement like following which gives the 'missing VALUES keyword' error.
insert into WFT_GROEPEN (CODE,OMSCHRIJVING,NIVEAU,INDIC_LAAGSTE_NIVEAU)NIVEAU) VALUES('3','Toelichting balans beleggingen',NULL,'N',NULL);
Regards,
Dennis -
When importing CDs into i-tunes should the artwork be there automatically. If not how do I get artwork to show in i-tunes and on my ipod. I had artwork with a PC but now I have a mac artwork does not appear.
I don't use iTunes's "fetch artwork", so I'm not 100% sure, but unless you are signed in to your iTunes account, artwork is not automatic. Even then, iTunes doesn't always find it.
You can copy-and-paste artwork from the inernet, either Amazon or Google. I use 300x300 pixel images.
For the future, if you have iTunes questions, you might be better off posting them in the iTunes for Mac forum, this is iTunes for Windows. In this situation, it doesn't make any difference, but next time maybe it will. -
How to get maximal value from the data/class for show in Map legend
I make WAD report that using Map Web Item.
I devide to four (4) classes for legend (Generate_Breaks).
I want to change default value for the class by javascript and for this,
I need to get maximal value from the class.
How to get maximal value from the data/class.
please give me solution for my problem.
Many Thx
Eddy Utomouse this to get the following End_date
<?following-sibling::../END_DATE?>
Try this
<?for-each:/ROOT/ROW?>
==================
Current StartDate <?START_DATE?>
Current End Date <?END_DATE?>
Next Start Date <?following-sibling::ROW/END_DATE?>
Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
================
<?end for-each?>
o/p
==================
Current StartDate 01-01-1980
Current End Date 01-01-1988
Next Start Date 01-01-1990
Previous End Date
================
==================
Current StartDate 01-01-1988
Current End Date 01-01-1990
Next Start Date 01-01-2005
Previous End Date 01-01-1988
================
==================
Current StartDate 01-01-2000
Current End Date 01-01-2005
Next Start Date
Previous End Date 01 -
How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working 10g
Hi,
How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working in obiee10g version.
We have tried below methods
1) criteria tab and edit the ‘column properties’ associated with your fact measure. Choose the ‘Data Format’ tab, tick to override the default format and choose ‘Custom’.
It seems that the syntax for this custom format is positive-value-mask (semi colon) negative-value-mask (semi colon) null-mask. So this means we have a few options.
E.g. if you want zeros (0) instead of null then enter:
#,##0;-#,##0;0
2) in that formula columns we have put it below case condition also ,
Measure Column: Nom_amt --> edit formulas
CASE WHEN Nom_amt IS NULL THEN 0 ELSE Nom_amt END
3) we have uncheked IS NULL check box in the admin tool also
I tried above formats still it's not working for me..kindly help me on this..
thanks to do the needfull
Best Regards,
R.DevarasuHi,
Null value in database displaying as 0 in report, I need to keep value as in database, and I have one calculated row which is based on null values should also null in report.
but it showing 0 for null values also so, my calculated row showing wrong result.
my report is like
col1 col2
ABC 0
BCD 12
DEF -12 --this is calculated row.
I require result like:
col1 col2
ABC null
BCD 12
DEF null --this is calculated row.
Please let me know how I can achieve this.
Thanks,
Rahul -
How to remove NULL values from crosstab sheet in Viewer/Plus.
I created a worksheet as crosstab. The sheet shows blanks in Desktop when there is no data in the cell, but the same sheet is showing NULL in Viewer. Is there any solution to make NULL as 0 or blank in Viewer?
Thank you.Here you can find solution for this issue and its works for me......
Show null values as -
Performance issue with FDM when importing data
In the FDM Web console, a performance issue has been detected when importing data (.txt)
In less than 10 seconds the ".txt" and the ".log" files are created the INBOX folder (the ".txt" file) and in the OUTBOX\Logs (the ".log" file).
At that moment, system shows the message "Processing, please wait” during 10 minutes. Eventually the information is displayed, however if we want to see the second page, we have to wait more than 20 seconds.
It seems a performance issue when system tries to show the imported data in the web page.
It has been also noted that when a user tries to import a txt file directly clicking on the tab "Select File From Inbox", the user has to also wait other 10 minutes before the information is displayed on the web page.
Thx in advance!
Cheers
MatteoHi Matteo
How much data is being imported / displayed when users are interacting with the system.
There is a report that may help you to analyse this but unfortunately I cannot remember what it is called and don't have access to a system to check. I do remember that it breaks down the import process into stages showing how long it takes to process each mapping step and the overall time.
I suspect that what you are seeing is normal behaviour but that isn't to say that performance improvements are not possible.
The copying of files is the first part of the import process before FDM then starts the import so that will be quick. The processing is then the time taken to import the records, process the mapping and write to the tables. If users are clicking 'Select file from Inbox' then they are re-importing so it will take just as long as it would for you to import it, they are not just asking to retrieve previously imported data.
Hope this helps
Stuart -
How to Replace Null Value as 0 in an OBIEE11g Pivot Table?
Hi,
How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working in obiee10g version.
We have tried below methods
1) criteria tab and edit the ‘column properties’ associated with your fact measure. Choose the ‘Data Format’ tab, tick to override the default format and choose ‘Custom’.
It seems that the syntax for this custom format is positive-value-mask (semi colon) negative-value-mask (semi colon) null-mask. So this means we have a few options.
E.g. if you want zeros (0) instead of null then enter:
#,##0;-#,##0;0
2) in that formula columns we have put it below case condition also ,
Measure Column: Nom_amt --> edit formulas
CASE WHEN Nom_amt IS NULL THEN 0 ELSE Nom_amt END
3) we have uncheked IS NULL check box in the admin tool also
I tried above formats still it's not working for me..kindly help me on this..
thanks in advance...
Best Regards,
R.DevarasuHi Amith,
I have update your suggested one,but it's working few of the rows only..remainings rows some of cells still NULL only
Measure colmns is : Nom_SGD
IFNULL(Nom_SGD,0.00)
Movment : dynamic date calc by using $2-$1 oracle formula's
Actually i am doing below things only,
31/12/2011 31/03/2011 Movment
Country
India 100 -50 -150
Singapore 200 200
UK 1200 -1200
USA 0.00 0.00 0.00 (here changed null as 0)
Helpmeon this...
Maybe you are looking for
-
My husband just got me an iPad2 for Mothers day and today when I tried to sign on to it it said I do not have a cellular data network? I'm at work where we have Wi-fi. Can't I just use that to sign onto my webmail and to get onto the internet?
-
Urgent: Facing problem with restoratio​n prosses
Good day, I'm Facing problem with restoration process. During restoring my data from my PC to my Q10 phone using link app. the application reject my request & kept giving me following error: Operation Cancelled. Really need your help Gent's & I'll be
-
I traced a user session against our TEST database to try and find out why an error is occuring. That trace file was quite large, with several queries showing up as going against SYSTEM tables: select /*+ index(idl_sb4$ i_idl_sb41) +*/ piece#,length,p
-
Illustrator File Icon missing in Vista Business? !
Hello, Under WinXP, the AI file type would display an orange flower icon for Illustrator files. Under Windows Vista Ultimate, the AI file icon is only a white page... Any idea why? Can this be changed? Thanks, Luke
-
i have a 30 gb zen xtra and just recently, my computer will not read the player. it knows when its plugged into the computer but i can not access the files. i dont want to format the dri've because i cannot afford to lose all my data. is there someth