SSRS Expression To Rename NULL Values - visual-studio-2012

I am using Visual Studio 2012 for my SSRS Report.
I have a field called Root Cause in my Column Groups section (with 3 column groups underneath that column group umbrella), and it pulls in 4 fields Offense, Defense, Both, and NULL values. So the headers for those sections when I preview the report show up as Offense, Defense, Both and then where NULL should be...it's just a blank section.
My goal is to replace the blank section with text that says No Value or something along those lines, just not be blank.
How do I format the SSRS Expression for that box to do so?

Try using =IIF(IsNothing(Fields!RootCause.Value),"No Value",Fields!RootCause.Value) as your expression.

Related

Export excel from sharepoint list without symbol # in lookup

When exporting the data from the Sharepoint list, columns of Lookup type are added a "#" in front of the original data. Is there any solution to remove that symbol?
It is by default. There is no way to remove "#" in front of the original values.
As a workaround, you can create a new Single of Line text column called Text01 in my sample, and use SharePoint Designer workflow to set its value to the values of the Lookup column like the below:
After that, go to the list settings, and modify the view and uncheck the lookup column under Columns section.
After the above, when you export the list using "Export to Excel", the result will be like:

SSRS Tablix filter out NULLs

I'm using Visual Studio 2012 and SQL Server 2012.
I'm working on trying to filter out records in my Matrix and I have a column group called Description which is grouping records by Open, Assigned, Completed and NULL values. I'm currently trying to filter out that column group so that it only shows Assigned and Completed...and filters out the Open and the NULL.
I know that I right click on Tablix Properties and go to Filters, and I choose Description <> Open and it works. But how do I filter out the NULL records in that same section?
You can filter on nulls by using a formula like this:

InfoPath 2013 unable to change table to repeating table

I'm trying to create a table with a repeating row in InfoPath 2013 (editing a Sharepoint 2013 custom list in case that matters). I'm unable to post a screenshot of the table to show you, but it is a 2-row, 2-column table with text in the first row, a Date/Time field in the 1st column of the 2nd row, and a text field in the 2nd column.
When trying to create this repeating table, I'm getting a prompt that says "InfoPath cannot automatically create a field or group in the section containing this control. To set the binding, select a field or group in which to store the control's data:" (I would post a screenshot of this too, but reputation is too low)
Any ideas as to why this is happening? I'm having trouble finding out exactly how repeating controls work in InfoPath and how to create them.

How to Auto-number Repeating sections in InfoPath 2010

I have several rows in my InfoPath form initially arranged in a table. Afterwhich, I've a repeating section consisting of a single row for the user to enter data row-wise in a repeated fashion. Each row needs indexing, the index starting from the index of the last row in the previous table.
There is no "Expression box" control available in InfoPath 2010 for auto-incrementing as stated by multiple other sources on the web.
I do not need the form to be numbered after submission. I want the ROWS to be auto-numbered while the user enters values under the repeating section while filling the form in the browser.
Is there a way or any work around to this problem? Or, is there any formula that can be used?
I can be done using the count function, example:
count(../preceding-sibling::*) + 1
You will need to have a field in your repeating group for the ID, then go to that field's properties and set it's default value to that function using the formula button. You'll then have to edit xpath values to set the value to that function call.
Note: I am using InfoPath 2007, so I am not 100% sure this applies to InfoPath 2010
I was looking for something simlilar, except I simply wanted my repeating sections to show a number.
The answer from #firestream almost worked for me, except for some reason, the first section was not being set. They were numbered as "blank, 2, 3, 4, ..." Also, I didn't need the number to be persistent in the data source, and didn't want the extra field.
I simply created an Expression Box control, and set the XPath to count(preceding-sibling::*)+1

SharePoint 2007: Custom Lookup columns

I would create two separate lists, and have the data entered in list 1 populate some of the data columns in table 2. Example: Request Name (single line of text), Description (Multi lines of text), Type of Request (Choice), and Completion Date (date).
When I go to the second list, I select 'Lookup', then 'Get information from:', select the first list, and all I see are "ID", "Content Type", "Version" and the "Title".
What do I need to do to get the columns from list 1 to appear in the 'Lookup' section of table 2?
The lookup field will only use text columns (regular text, calculated field with output type of text and computed columns that output text). You could probably fill out the additional fields by the means of a simple SharePoint Designer workflow that will run on item creation in the second list and fill out the columns.
I have been able to do this by creating a Feature with a custom List Definition using the FieldRef, JoinColName, JoinRowOrdinal, and JoinType attributes.
For more information, see SharePoint 2010: Set field value from query triggered by choice box selection.
I think programming will be needed you will have to use something like smartpart and create your own asp.net control that will read from database and show the data as you need it

Resources