Issue with getfieldselection(), getselectedcount(),..
I'm trying to add a calculation conditional to a stacked bar chart. The ideia is that values only be displayed if and Warehouse (InventoryReelsWhseCd) is selected. Thus, I think the calculation condition should be something like GetSelectedCount(InventoryReelsWhseCd)=1.
However, none of the function (getfieldselection() or getselectedcount()) is working with this field (InventoryReelsWhseCd) and I have no clue on how to understand whats going on...
When using this functions with other fields they work perfectly...
Re: Issue with getfieldselection(), getselectedcount(),..
GetSelectedCount(InventoryReelsWhseCd) > 0
If you put InventoryReelsWhseCd in a variable you have to use the name of the variable, the field name will not work. For example, if your filter is $(vInventoryReelsWhseCd) then you must use GetSelectedCount("=$(vInventoryReelsWhseCd)") > 0
Qlik Sense 3.2 doesn't recognize $(vInventoryReelsWhseCd) and InventoryReelsWhseCd equivalent in the GetSelectedCount function.