Josefin Gruvander
06/30/2022, 12:50 PMBoris
06/30/2022, 12:55 PMBoris
06/30/2022, 12:57 PMJosefin Gruvander
06/30/2022, 1:09 PMBoris
06/30/2022, 1:45 PMSELECT IF(SELECT COUNT(attribute) WHERE attribute=value_A BY ALL OTHER) > 0 THEN metric_A ELSE metric_B;
In this simplified example you are basically checking if there's more than 0 lines with attribute value A - which would only be case if the value A is selected in the filter - then it would be showing metric A. If it's not selected metric B would shown.
This approach might have some implications on how the LDM would have to be and would probably needed usage of WITH/WITHOUT PF, BY ALL OTHER (EXCEPT) keywords in the metrics and a lot of testing and experimentation but overall should be possibleJosefin Gruvander
07/01/2022, 6:01 PMProductboard
07/15/2022, 9:27 AM