Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I've created a categorization band for amount, but I'm encountering an issue where the 8th band ("Above 6m up to 10m") is not displaying, even after adding Sum({1} 0) to the expression.
Here’s the expression I’m using:
IF(Amount<= 100000, DUAL('Up to 100k',1),
IF(Amount> 100000 and Amount<= 300000, DUAL('Above 100k up to 300k',2),
IF(Amount> 300000 and Amount<= 500000, DUAL('Above 300k up to 500k',3),
IF(Amount> 500000 and Amount<= 1000000, DUAL('Above 500k up to 1m',4),
IF(Amount> 1000000 and Amount<= 2000000, DUAL('Above 1m up to 2m',5),
IF(Ammount> 2000000 and Amount<= 4000000, DUAL('Above 2m up to 4m',6),
IF(Amount> 4000000 and Amount<= 6000000, DUAL('Above 4m up to 6m',7),
IF(Amount> 6000000 and Amount<= 10000000, DUAL('Above 6m up to 10m',8),
DUAL('Above 10m',9)
))))))))
AS [Bands];
Hi @LoKi_asterix , first, there is an additional m in the 6th band Amount file --> Ammount
And if is not that, check this example that i created :
///a few rows, you can find more in the txt with the full data example
Data:
Load * INLINE [
Id, Amount
1 , 41094104
2 , 53558154
3 , 77401058
];
There may simply no values within this range.
If there are really values then remove all selections and use this field as dimension with count() expression or a static 1 within a new object. After that you could reduce the data-set with the wanted selections again and the next step may adding more complexity to the object. When the field-value unexpectedly disappeared you found the trigger and probably also the cause behind it.