Solved

How do I get reporting services to recognize a bit field?

Posted on 2008-10-27
2
2,013 Views
Last Modified: 2012-05-05
I am returning a  bit value field from a Stored Procedue to the report and using the expression
=IIF(Fields!MyBitField.Value = 1, "Yes", "No")
and the report displays no for both 0 and 1
How do I get the report to recognize the value?
0
Comment
Question by:expertsexchangehunter
2 Comments
 
LVL 12

Accepted Solution

by:
jgv earned 500 total points
ID: 22822198
Haven't worked with bit fields in SSRS yet but would have thought it would return 0 or 1. Turns out it shows True/False. Try modifying the IIF statement like this and post back if it doesn't work as expected:
=IIF(Fields!MyBitField.Value = True, "Yes", "No")
0
 

Author Closing Comment

by:expertsexchangehunter
ID: 31510548
Ok. That works. <> 0 also worked
Thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Average Calculation - SAP Lumira 1 132
SSRS keeping tablix together 13 217
across tab - Distinct Count - Crystal Reports 2 81
Excel 2013: Displaying times in Milliseconds 6 205
Hi, I am very much excited today since I'm going to share something very exciting Tool used for Analytical Reporting and that's nothing but MICROSTRATEGY. Actually there are lot of other tools available in the market for Reporting Such as Co…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

808 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