Formatting related with SSRS - ssrs-2012

I have a question regarding SSRS.
I have issues with formatting, I have a column that have a value like 1-5, Less than 1, >100 in my SSRS.
The issue is WHEN YOU EXPORT TO CSV ALL RECORDS THAT HAS A VALUE 1 - 5 CHANGED TO 5 - JAN.
From sql, excel all are perfect. The is issue is regarding csv export.
Is there any one who have an idea.
Thank

Your problem is not the CSV Export. If you open the csv file in a simple text editor, you will see the data as you expected ("1-5").
I assume you are opening the CSV file in Excel.
Excel is interpreting the text as a date. If you change the column formatting to general/text in Excel it should display correctly.

Related

Oracle OBIEE (BI): export result of analysis without hidden columns to CSV

I have an analysis which contains hidden one column. While I'm trying to export result to .xlsx file, it works right, and hidden column doesn't print and calculation works fine. But when I'm trying to export it to .csv - either with ';' delimeter or tab-delimeter - hidden column appears.
There is no opportunity to exclude this column from analysis defenition because of field that I need to calculate, that has strong dependence on hidden column. Also I can't keep it in that form and remove column and add calculation by myself because this file after export automatically will be imported to database which has not enough space to make such operation every month till forever. Is there any way not to print hidden column and save prepared calculation while exporting to CSV?
No. CSV exports exactly what's in the analysis. That's its point and task. You can always clone your analysis, prepare the columns as you need and then just expose it as a download link.
CSV = exact, pure raw data as it's in the analysis construction
Excel = formatted based on what's rendered visually

Exporting to Excel 2016 in Sortable Date Format

When exporting a query result from SQL Developer to Excel (format xlsx) the dates in my query seem to be exported as text.
I need to filter and sort this data in Excel.
After exporting Excel gives me the option to convert the dates to 20XX, but is there a way to format my dates fields in such a way that I can sort straight away?
My current date format in Preferences is DD-MON-RR
I have a workaround; instead of exporting directly to XLSX, export result as a CSV. Excel is capable of opening such files and - guess what - sorting by date column works fine (I've just tested it). Then, if you want, save file as XSLX.
Yes, I know, this is impracticable, but that's the best I know right now.

how to remove extra line in excel from SSRS report

I have an SSRS report name revenue. When i run the report, I get the desired result as per my development with row group. Problem is when I export this report data in excel, I get extra line added at each child row group which has garbage value.
Any suggestion will be really helpful.
Try exporting to CSV. This will remove the formatting and should provide a cleaner export to Excel.

Extra blank records in CRM import

I am trying to import a dataset into a custom entity in Dynamics CRM 2015 on-prem, using the import template for the entity, saved as CSV.
My dataset is quite small - only 10 rows. (Yes, I know it would probably take less time to just enter them manually).
When I import the data, CRM reads it as 3,001 records. The extra records show up totally blank. I am sure I don't have any extraneous data in other rows and columns.
Has anyone seen this, or have any idea what could be going on?
I have faced the same issue once. Sometimes the csv file containing some empty rows.
I have copied only the rows which containing data to a new csv file and imported it again. This approach solved my issue.
You can try once.
Another option is to open your CSV in Notepad or some other text editor. If there are additional rows, you will see them (rows that look like ",,,,,,,". You can delete them in the text editor and save, thereby being sure that Excel won't add the blank values back.

How do I export a spreadsheet (csv) in excel using ascii control characters as the delimiters?

I have this csv file that I would like to parse with Ruby. The file's data is a cluster with commas and new lines in the fields but Excel still reads it properly. If the file could be exported from excel using the unit and record separators as the delimiters for the columns and rows, I'd be golden.
Anybody know how to specify those characters in excel? Thanks!
Use Ruby CSV with this option:
:col_sep
The String placed between each field. This String will be transcoded
into the data’s Encoding before parsing.
See more here: http://ruby-doc.org/stdlib-2.0.0/libdoc/csv/rdoc/CSV.html
I ended up having Google Sheets export the file as json. Steps I followed here There were 10,000 records and the browser tab crashed when it tried to do all of them. So I had to piece meal it. I'm sure there's a better way to do it.

Resources