Hide/Show columns only when exporting to .CSV
Hi, how can i hide a particular column when exporting the report to excel
Hi,
You can set column conditionally by request.
E.g. columns that you do not like export set condition PL/SQL function body returning a boolean
RETURN NVL(:REQUEST,'EMPTY') NOT IN('CSV','XLS','PDF','XML','RTF');I have sample here
http://apex.oracle.com/pls/otn/f?p=40323:63
EMPNO column is not exported from report
Br,Jari
Similar Messages
-
Dropping zeros when exported to CSV format
I formated in Numbers using 5 digit place holder and setting "hide seperator" and "show zeros" This looks perfect in Numbers but when I export to CSV (I want to import the mailing list to AddressBook) it drops the front zero. I tried formating a new column as text and pasting the list into it, but it turned into numerical format and dropped the zero again when exported to CSV. Any suggestions would be appreciated. I can't help but feel I am being stupid. This shouldn't be so difficult.
I did the following test:
1) I formatted a column as text and entered several cells worth of 5-digit zip codes that had leading zeros.
2) I formatted a column with a custom format of five digits, leading zeros, and no separator. I typed in a few numbers with less than five digits and they displayed with leading zeros. No surprise there.
3) I formatted a column as text and copy/pasted from column in (2) to this text-formatted column. I was actually surprised it kept the leading zeros because the underlying data (a bunch of 3 and 4 digit numbers) does not actually have them.
4) I exported this file as CSV.
5) I opened the CSV in TextEdit and the leading zeros were there in all three of these columns.
This all seems to be working as you would want it to. Am I doing something different than you?
To complete the test, I opened the CSV with Numbers and it dropped all the leading zeros upon import. But you are not re-importing it into Numbers so this last step wasn't really a fair test. -
Display Column only when Current Year Selected
Hi Gurus,
1)I have a Req where in I need to Display a Column only when 2012 is selected,It shouldn't appear when i select 2010 & 2011 in the Prompt.
2)I have to display a column only when the Last month of the Quarter is selected.
Any help???Hi,
Make it two reports, one with the column and the other report without the column. Place both the reports in two different dashboard sections and use conditional show/hide section as explained here,
http://total-bi.com/2011/01/obiee-hide-show-sections/
Regards,
Dpka -
Fonts not showing correctly only when on my account page on app store
fonts not showing correctly only when on my account page on app store
Firstly, make sure that your device is not hidden (left hand pane). If it just reads device then toggle between SHOW and HIDE.
Secondly, try all the other ports on your computer, even a number of times.
Thirdly, if you have another computer try plugging your device into it without taking any action, give it a moment, remove it and try it back in your other computer again.
Failing all that, see here - http://support.apple.com/kb/TS1538 for Windows and http://support.apple.com/kb/TS1591 for Macs
And failing all that put the device into Recovery mode. See here and note the paragraph 'If you restore from a different computer.... ' down near the bottom of the page -
http://www.apple.com/support/ipad/assistant/itunes/ -
Display a particular column only when certain criteria is satisfied
Hi Experts,
I have a requirement from a user with which i am struggling. The person wants to see an entire report but see a particular column only when certain criteria is satisfied. I am not talking about filtering the entire Query but just a certain column.
Ex.
Data in Cube
Req | Candidate | Candidate Status | Grade
1 | C01 | Draft | A
1 | C02 | Withdrawn | B
2 | C03 | Hired | B
3 | C04 | In Process | A
3 | C05 | Hired | C
Result in Query
Req | Candidate | Grade
1 | <Blank> | A
1 | <blank> | B
2 | C03 | B
3 | <blank> | A
3 | C05 | C
Basically, user wants to see candidate information only when Status is Hired. Rest of the time, it should be blank.
Is this possible ?Hi,
From My view this is not possible in Query.
You can do this in Backend or
You can create 2 Query
1.Query whith candidate name who is hired.
2.Query without candidate name whose status is not hired.
3.Merge these these report using Excel Macro.
Thanks and Regads,
MuraliManohar -
Adding sysdate to filename when exporting to csv in Apex V3.0.1 using IE6
Hi,
I have created an application item (AI_DTTIME), together with an application computation that fires on before-header that is set-up as follows:
TO_CHAR(sysdate, 'DDMMYYYY HH24:MI') ||'.'
Within the report addtributes on a page under "Report Export", within the filename, I assigned &AI_DTTIME.
When I go to test it by clicking on the link label, it seems to assign a number to the filename, such as 40.csv. Each time I clink on the link label, the filename value simply increments to the next value, i.e 41.csv
Can anyone see what I may be doing wrong or how to apply the sysdate to a filename under "Report Export".
Thanks.
Tony.Hi Tony, Hi Andy
I have a similar functionality to achieve by adding sysdate of filename when exporting to csv, adding wthr this csv is in dev or prod,URL of this report and it is powered by xyz company
I have created an application item same as andy did and the application computation with computation item AI_DTTIME, computation point - Before Header, computation type - static assignment and computation - TO_CHAR(sysdate, 'DDMMYYYY HH24MI') ||'.'
After that in report-export filename i added the address of my application item i.e &AI_DTTIME
but when i am trying to export my report to csv the header is coming with " TO_CHAR(sysdate,'DDMMYYYY HH24MI')_' "
Can you suggest where i am wrong?
Regards
Adi -
Tabular form - let end user hide/show columns
I have been requested to create a tabular form, but end user should have ability to hide/show columns, also they should rename the column headers. So I have created a table with column name called "attribute1", attribute2", etc. Based on that table, create a tabular form, which has column header as "attrbute1", "attrbute2", etc. Now end user wants to rename attrbute1 as he wants. And he/she also wants to have a link called "hide/show" next to the column header, so end user can control which column they want to hide/show. It is so easy to do that control from developer side, however, shift that function to end user from front end seems very difficult to me. I have search around and haven't found any good solution yet. Please help. Thanks advance.
Hi,
Anyone, can help me with this scenario.
Brgds,
Mini -
Extra columns when exporting to CSV format
Using Crystal Pro XI R2, I have a report that is listing three fields, each 1" in width next to each other (no gap between columns). When I export to Excel, the resulting file has no blank columns before the data. However, when I export to CSV, even after checking the box to not include header/footers, I get three extra commas preceding the first column of the report. The report only has a single detail section unsuppressed. Since the CSV file is being imported into another application, I must either manually remove the extra commas or fix this problem. Since I am not a member of the punctuation police, I am hoping to find a Crystal solution.
Fuskie
Who originally had six extra commas preceding his data, but reduced it to three after blocking export of headers/footers...The 3 comas is a good indication that you you have 3 empty fields in your report. Not sure how they may have gotten there without you knowing about it, but that would be my first guess.
See if you can find them. they may be the save color as the back ground, making them "invisible". Try selecting your entire details section and see if you don't see anything unusual.
I've also noticed that CR will allow you to place fields off the edge of the report... even to the left of it. Once their over there you may not be able to select them to remove them.
Assuming that you don't find the offending fields on the report you can try this:
Make a copy of your report using the Save As...
In the copy, while in design view, do a Ctrl+A to select all objects on the report and delete them.
Then simply reinsert the fields you want to export for your CSV export.
Hope this helps,
Jason -
Hide / Show Column in Download to CSV
Hi,
I have an IR where I have to show a column in report, but hide it while downloading to CSV.
I get this by having a condition on this column -
NVL(:REQUEST,'EMPTY') NOT IN('CSV','XLS','PDF','XML','RTF') I also have a column where I have to hide it in the report, but show it while downloading to CSV.
I am able to hide it, but this column doesn't show up while downloading.
I am using this coundition on this column
NVL(:REQUEST,'EMPTY') IN('CSV','XLS','PDF','XML','RTF') APEX - 4.0.2
Thanks.Please Update on this..I have a same query as above..Thanks
-
Problem when Exporting to CSV delimited File in SSRS
When I export my information to CSV file so its in raw data format and easily used in one of the fields I have a number that is big (for example, 140313055811). It's really just an invoice number, but when I export it to CSV and open it, it shows
something like 1.41E+11. I need to get it to display the full number instead of this. Is there a way? I tried making the textbox that its in as a number, I tried make the value area of the field =int(name of field), I tried changing it to text.
None of these do the trick.Hi grahamtribe,
After testing the issue in my local environment, I can reproduce it when open the csv file with Excel. As per my understanding, there is no width when we export the report to csv, Excel is just using the default cell sizes when we open the csv. When a number
value is wider than the default cell size, it would use Scientific format.
In this scenario, we can select all the cells in the csv file, then click Format| AutoFit Column Width to change all the cells width to fit its corresponding values in Excel level.
Besides, we can try to export to excel instead of csv. Excel format can inherit the column width in the report. So in this way, we can directly change the width to fit the values in Reporting Services level.
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
HIDE/SHow Column Saving preferences
Hello All,
I am trying to have a report that allows users to hide and show columns.
I have looked at the example on this link
http://htmldb.oracle.com/pls/otn/f?p=31517:78:1596122781426415::NO:::
My only issue is:
How do you save the preferences, as I cannot seem to see how its done on the link
FrankHi,
Recently I met the same question and the solution is , give column level security in presentation layer by
* Click the column
* In general tab permission tab is there, give access to specific users and save.
Now when you login with the user and see the column, it will throw error. In order to avoid that
Change the following property in security section of nqsconfig file
* PROJECT_INACCESSIBLE_COLUMN_AS_NULL = yes;
It works.
Regards,
Anitha.B -
SharePoint 2013: Hide/Show Column fields while uploading document in Document Library
Dear all,
I have created a document Library LIB001 and I have created One Column of type Choice, drop down list, (CCHOICE) and I have created 3 other columns, (Column1, Column2, Column3).
What I want is while uploading a file in the document library, when I choose a certain value from CCHOICE, i want to show/hide and/or make the column mandatory.
Can anyone help/guide me how to achieve this?
Many Thanks
VinayDear all, I am trying the following code, but it's not entering the onchange of drop down list event. <script> $(document).ready(function () { var countryField = SPUtility.GetSPField('Document Type'); var countryFieldValue = countryField.GetValue(); alert
(countryFieldValue); // ----- Hide/Show the field based on new selected value. var id = SPUtility.GetSPField('Document Type').Dropdown.id; alert ('field ID: '+id); $('#' + id).on('change', function () { alert ('Inside on Change:'+countryFieldValue); if (countryFieldValue
== 'Type1') { SPUtility.GetSPField('Column1').Hide(); } else if (countryFieldValue == 'Type2') { SPUtility.GetSPField('Column2').Hide(); } }); }); </script> Can anyone help me please. Many Thanks & Regards Vinay -
Data modeler, error when exporting to csv files
hi, i have a relational model and i need to export this model to csv files, when exporting the model it errors,
displaying the following error nmessage:
Oracle SQL Developer Data Modeler Version: 2.0.0 Build: 584
Oracle SQL Developer Data Modeler Export Log
Date and Time: 2010-09-21 15:17:17
Design Name: Diagram
Model Name: CSV
Export Finished
Errors: 1
Warnings:0
<<<<< ERRORS >>>>>
java.lang.NullPointerException
the issue is a file is missing when exporting proccess is done, the file is DM_CommentsRDBMS.csv, this file contains the commens of columns.
Thanks.Hi,
I logged bug however information is not enough to locate the problem.
You can use export to reporting schema in order to get your model exported - in database in that case.
We are not going to extend "export to CSV file" functionality any further - it'll be as it is now.
Philip -
Leading zeros are dropped when exporting as csv
I have a report that when I export as csv, leading zeros in text columns are dropped in excel. The text columns appear fine in the report, however, when I export the leading zero is gone in excel. For example, in the report my text column could have a value of 0101, when it is exported to excel it has a value of 101. The code behind the link to export to csv is f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_EXCEL_OUTPUT_R#REGION_ID#
Is there a way to keep the leading zero in excel?
Regards
MarkThanks for your reply. In my query I wrapped the column with double quotes as you suggest, and added the same column for display:
select '"'||column1||'"' execl_col, column1 disp_col from table where ....
Using htmldb_application.g_excel_format as a conditional display I can control what is displayed on the screen and export to csv the double quoted text field. I have that part working fine. Using my previous data example, I am now seeing in excel 0101"".
Did I wrap the field incorrectly with double quotes? How can I exclude the
double quotes in the export to csv?
Regards
Mark -
Why is my ping so high in the first column only when i do a tracert?
When i do a tracert my ping is really high in the first column only on each hop and then it drops to a respectable level. Does anyone know why it is like this on my 4G LTE device? On my dsl when i do the same ping test its pretty even across on each hop. This is what im seeing when i do a ping test on my 4G LTE device.
tracert www.yahoo.com
Tracing route to ds-any-fp3-real.wa1.b.yahoo.com [98.139.183.24]
over a maximum of 30 hops:
1 9 ms 3 ms 3 ms
2 1101 ms 34 ms 38 ms 193.sub-66-174-20.myvzw.com [66.174.20.193]
3 169 ms 55 ms 52 ms 49.sub-69-83-13.myvzw.com [69.83.13.49]
4 52 ms 56 ms 54 ms 194.sub-69-83-13.myvzw.com [69.83.13.194]
5 179 ms 58 ms 57 ms 101.sub-66-174-17.myvzw.com [66.174.17.101]
6 168 ms 57 ms 60 ms TenGigE0-0-1-0.GW14.BOS4.ALTER.NET [152.179.2.97
7 181 ms 58 ms 57 ms 0.ge-0-3-0.XL3.BOS4.ALTER.NET [152.63.17.130]
8 170 ms 59 ms 58 ms 0.ae3.BR1.NYC1.ALTER.NET [152.63.18.222]
9 177 ms 67 ms 59 ms ae11.edge2.NewYork.Level3.net [4.68.62.41]
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 192 ms 49 ms 60 ms ae-4-90.edge4.NewYork1.Level3.net [4.69.155.210]
14 185 ms 51 ms 60 ms YAHOO-INC.edge4.NewYork1.Level3.net [4.28.130.82
15 380 ms 73 ms 129 ms ae-5.pat2.bfz.yahoo.com [216.115.96.67]
16 339 ms 69 ms 146 ms ae-4.msr2.bf1.yahoo.com [216.115.100.73]
17 215 ms 152 ms 80 ms xe-5-0-0.clr2-a-gdc.bf1.yahoo.com [98.139.128.11
18 289 ms 217 ms 217 ms et-17-1.fab6-1-gdc.bf1.yahoo.com [98.139.128.47]
19 187 ms 87 ms 79 ms po-14.bas2-7-prd.bf1.yahoo.com [98.139.129.227]
20 474 ms 314 ms 294 ms ir2.fp.vip.bf1.yahoo.com [98.139.183.24]
Trace complete.hi there
see you never got an answer from vzw
take it you still have the high ping or no ping in my cases
your doing better then i
seems the lte is getting bad with this problem over time as my connection times out causing half loaded web pages and lots of buffering in video playback
i have had 3 tickets in the past 3 month to try and get this fixed but they say cant find anything wrong
and noone else is having the problem here are a few things that seems to have helped me out
1 increase your TTL time till live
this tells your computer to wait a bit longer before giving up and requesting that a packet of info be resent
2 in your computers network settings and reg you can change packet size to a smaller number and add a stop bit to the packet with a time stamp on each packet back in the old days this was what v 90 modems did to get v92 speeds and did help with noisy copper wire dial up and seems to help here too
http://www.dslreports.com/drtcp
is a tool that will help you change your computer setting and reg
use drtcp and the results from this page
http://www.dslreports.com/tweaks
xp win 7 win 8 this will help. vista did it right and dynamically change these settings on the fly and all of step 2 is unnecessary
remember your original settings write them down so you can go back to them should you have problems
also make a restore point and backup your reg before tinkering with windows os
send a private message to me if you need more help or get a computer savvy friend to help you out if you need
3 if your signal noise is under 4G -100bd the lower the better, there is a way to set your android to lte only mode.
more likely to lose data and voice in weak signal areas but great if tethering or hotspotting at home
dail *#*#4636#*#* this is a back door to your android software and is open source code by android os not vzw
and will not unlock your phone voiding warranties. be warned though if you set things wrong in here
you can make more problems be very sure what you change and do one thing at a time so you remember and can dial in again and change it back should you disable something you need. fyi each time you dial in the number it resets to vzw default setting and may look like it did not save setting but it doz. till you dial in again.
good luck
ron
ps im not a vzw rep in any way other then a fellow customer not getting answers.
Maybe you are looking for
-
Sync DVD in Universal Disc Format (UDF) to my AppleTV
I was wondering if anyone out there could point me in the right direction. Some time ago I made a home movie using iMovie/iDVD and my only back up after a hard disk crash is a DVD in Universal Disc Format. How can I convert this DVD to a format that
-
Error in License check for IDES ECC 6.0
Hi All, I am unable to log into our 800 client since yesterday, i am getting the foloowing error while trying to log in "Logon not possible (error in license check)" Before this we were getting a warning message that the license will expire in 10 day
-
Material Price at Valuation type using LSMW
How to upload material prices at valuation type level in LSMW Program for Material Master which should affect MBEW table.
-
Hello everybody, I am kinda new to SQL. There is only one Primary key for our database. For example 'ID'. Somebody had this code in the WHERE clause code before I started working on this. Do we really need to use the LEFT OUTER JOIN (+) in order to b
-
SQL failover test for reporting
I have setup a mirror and failover for sql appv reporting. does anyone know of a good way to test if the failover is working? Thanks Dave Kozlowski