filterBySelect = (selectedValue, colName) => {
	if (Array.isArray(selectedValue)) {
		if (selectedValue.length === 0) {
			return 'false';
		} else {
			const selectedConditions = selectedValue
				.map((v) => `${colName} = '${v?.replaceAll("'", "''")}'`)
				.join(' or ');

			return `(${selectedConditions}) and ${colName} not in (select dimensionValue from topN)`;
			// selectedValue.map((v) => `${colName} = '${v?.replaceAll("'", "''")}'`).join(' or ') +
			// `and ${colName} not in (select dimensionValue from topN)`
			// need to adjust line 95
			// cannot have duplicate keys, (dimensionValue = column name string) and (dimensionName = column name variable)
		}
	} else if (typeof selectedValue === 'string') {
		return `${colName} = '${selectedValue?.replaceAll("'", "''")}' and ${colName} not in (select dimensionValue from topN)`;
	} else {
		return 'false';
	}
}
@param {string | string[] | undefined} selectedValue
@param {string} colName
@returns {string}