Solved

Reporting Services Custom Formatting

Posted on 2009-07-07
2
930 Views
Last Modified: 2012-05-07
hi,
I am using reporting services 2008, and I am trying to show my TaskId field as 3 digits..i.e "000"
So for example, if I don't format it, it will show as 1, 2 or 3....etc
When I use Format(MyFieldId.Value, "000) from the Placeholder Properties, it shows just fine as ...i.e: 001, 002, 011 (Which is what I want) EXCEPT exporting the report to Microsoft Excel will show me the formatted field column as "#VALUE!" And If I remove the formatting from the reporting services and export it again to Excel it would show just fine but as 1,2, 11...etc

Exporting it to any other file..pdf, word, html will work fine with the custom formatting being set to "000" ONLY excel does not like it.

does anyone know how to fix this issue?
Thanks
0
Comment
Question by:smaguire
2 Comments
 
LVL 26

Accepted Solution

by:
Chris Luttrell earned 250 total points
ID: 24799011
Try this instead for the custom format for that cell, I just tried it in 2008 exporting to Excel and it worked for me, I guess maybe the part to do the negative format makes the difference.
000;(000)

SSRS2008CustomNumberFormatting.png
0
 

Author Closing Comment

by:smaguire
ID: 31600815
That was it, Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction As you'll probably know, a data region in a SQL Server Reporting Services report can be linked to only one dataset.  This makes it troublesome when you need to display data from more than one dataset in the same data region.  SQL Serve…
Have you ever had to extract data from a Microsoft SQL Server database and export it to an Excel file, but did not want to use a DTS package? The concept in this article is not new, but it is the answer and will also work on 64-bit SQL boxes.   …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now