Show columns with empty dimension values missing webi - business-objects

I am looking to hide some columns as they have empty dimension values I see the checkbox for show columns with empty measure values, I see an option for show columns with empty dimension values, but it doesnt seem to do anything? I have also tried adding IS NOT NULL to the formula but it doesnt like the 'IS', so that doesn't seem to work either
Thanks in advance

Related

How do I use a combo box value in query criteria, or show all results if blank?

Currently, I'm trying to reference a combo box value in a query's criteria. Usually, I use a Like statement. However, in this instance, I'm trying to filter by some strings that aren't unique.
If I were to try to filter by MW, for instance, it would show MW, MWF, MWRF.
I've tried Nz([forms]![frmReschedWorkload]![FilterFactCal],'Is Not Null'). While that does filter correctly if there's a value in the combo box, it's not showing any results if the text box is blank.
Any help/advice you all could provide would be greatly appreciated.
Thanks
Note to anyone coming in the future, I was able to solve with putting this into the criteria:
IIf(IsNull([forms]![frmReschedWorkload]![FilterFactCal]),[tblOrders].[FactoryCalendar],[forms]![frmReschedWorkload]![FilterFactCal])

How to hide a duplicate row in SSRS

I am new to using SSRS. I have looked around Stack Overflow for answers to this question but haven't found it.
I am producing a simple report but wish it to be filtered to not display the result if it is a duplicate set of results.
Basic report
A lot of forum posts mentioned using code similar to the following to be set in the visibility of the Table Properties.
=IIf(Previous(Fields!Country.Value) = Fields!Country.Value, True, False)
However this didn't work. I then tried going to the properties box of the country to hide duplicates and this kind of worked. It removed duplicates if they were only in the next row and unfortunately it just made the cell blank.
Attempt at hiding the duplicate rows
What I wanted is to just display the list of unique values where the reference and the country are never repeated. This way I will get a list of countries for my reference.
Many thanks in advance to anyone who is able to help a new learner like myself.
I am adding in the edit suggested by Alejandro below,
It sort of works, the suggestion did remove the blank rows (which became blank when I applied the HideDuplicates from the properties of the country. The trouble is the report is only hiding duplicates if they come from the previous line. I tried grouping etc but it did not work.
Try selecting and setting the hidden property to the whole row.
UPDATE:
Using the expression works only if the Country column is sorted, so repeated countries will be in contiguous rows.
Go to tablix property and add a sort by Country property. Don't use HideDuplicates property but use =IIf(Fields!Country.Value = Previous(Fields!Country.Value), True, False) expression in the whole row.
It should work.
Let me know if you need further help.
It sounds like you just need to group the dataset, no?
If you open the row group properties, set it to group on Reference and Country.
Here are two tables... the first has no grouping and so there are repeats. The second is grouping by Reference and Country.

SSRS - Column visibility disabled

I have a group column in my report which I need to show/hide based on a parameter value. Since it's a group column, "Column Visibility" is disabled. I tried setting the "Hidden" property to true, but that leaves a white space which I don't want.
Can anyone please suggest me a solution for this? I tried for various solutions over the net, but none worked for me. Attaching a screenshot on the same.
Unfortunately, you're going to need a different strategy.
Changing the visibility isn't going to work without leaving the blank space and you can't make the entire column not visible because it's the main grouping.
Can you use a different column for the group so you can hide the Amount Received Date?
Or use an Expression to change the column to a different field?

Subtract two columns in two different tablix SSRS 2005

I have two tablix in my report(SSRS 2005). I want to subtract from two different columns. I use the following :
=Math.Round(Sum(Fields!LY_Sales.Value, "Ds1"))-Math.Round(Sum(Fields!TY_Sales.Value, "Ds2"))
For display of the columns i use the following:
=Format(Math.Round(Sum(Fields!LY_Sales.Value)),"#,##")
=Format(Math.Round(Sum(Fields!TY_Sales.Value)),"#,##")
sample display value :
seperate columns : LY_Sales - 40,240
TY_Sales - 86,983
Difference value : -47406
this does not show the actual difference, there is slightly difference in the value. Also i want to remove '-' symbol if it's negative i just want to show the difference. How can i resolve this
Can anyone help me to do this...
Thanks in advance ..
this does not show the actual difference, there is slightly difference
in the value.
I've done some testing and could not reproduce your issue.
If you are testing in BIDS, I would advise to delete the cache as this could be a potential root cause.
Also i want to remove '-' symbol if it's negative i just want to show
the difference.
You can do this with the Abs() function, which returns the absolute value of your input.
Your original expression would become:
=Abs(Round(Sum(Fields!LY_Sales.Value, "Ds1"))-Round(Sum(Fields!TY_Sales.Value, "Ds2")))

Round or change format for report for one column only

I created a report that works great.
Does anybody know how to format this properly without changing the rest of the columns? See red box. The answer should be 0.01.
I changed the format to decimal but it changes all the columns and I need the other columns to be whole numbers and the Amount OB column to be able to have decimals.
You can do this numerous ways with an RDL. One way is to set the text box properties, on the Number tab. Or you could do this in the expression of the value like so:
=FormatNumber(Fields!Weight.Value,2)
If you need to round the number you can also do that in the expression like so:
=Round(Fields!Weight.Value,2)
After spending hours figuring this out. I got the solution. I added the following expression in the total box for the Amount OB column.
=iif(Fields!MeasureDesc.Value= "Amount OB",
Format(SUM(Fields!MeasureCount.Value),"N2"), SUM(Fields!MeasureCount.Value))
This reads if the column equals Amount OB then use two decimal places else just sum the MeasureCount. MeasureCount are the cells that are under Amount OB.