Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
We have business units that have closed, so their values for the current year are obviously 0 since they do not exist. There are other units that DO exist in the current year but have actual 0 values.
Values for closed business units return as null (they are percentages being divided by 0), but values for true 0s return as 0.
I know I can use the "Include Zero Values" check box to remove both. How can I remove ONLY dimensions that return null values and not dimensions that return true zero?
The only solution I've come up with is load a separate dimension that excludes closed business units; this is not ideal because I want the closed units to display if a user wants to look at data from previous years.
Thank you!
Lucas
Did u try unchecking 'Include null values' in the dimension properties?
Or may be {<DimensionField={"*"}>} in the measure expression
Hi,
Have you try with un-tick include zero values option ?
Vikas
Hi,
Maybe it will be easier to flag your data in the script when its closed business units and use the flag value to show (or not) your dimension in the chart.
That's what i always use.
hi again,
No, prepare the data in the load script.
Ex :
Load *, if([Business Unit]= 'X' and DATE_Closed>=today() , 1, 0) as Flag_Open_Close
Resident MyTable;
Then, you could use this flag as a shown condition in your dimension
Ex: Flag_Open_Close=1
Would something like this work in the dimension field:
IF(Not IsNull(Measure),Dimension value)
Then make sure Include Null Values is unchecked.