REF_ROWS() giving an error on a Slice

Iโ€™m trying to use REF_ROWS() in a virtual column on a slice and Iโ€™m getting an error message. Iโ€™m using the expression as per the documentation, and it works on the table, but not on the slice.

REF_ROWS( โ€œfrom-datasetโ€ , โ€œref-columnโ€ )
where from-dataset is the table or slice name.

The error message is: Unable to find table โ€˜slice-nameโ€™

Any help would be appreciated!

0 3 91
3 REPLIES 3

Hi @John_McCredie, welcome to the community!
With โ€œon a sliceโ€ you mean that you are pointing the to the slice instead of a normal table in your Ref_rows() app formula?
If thatโ€™s the case, make sure the name of the slice is right, even copy and paste it from the slice name to the formula and then also make sure the config of the column is correctly using the slice instead of the table on โ€œElement type detailsโ€ โ†’ โ€œReferenced table nameโ€

I just did a copy and paste and would you believe there was a space at the beginning! Thanks. Canโ€™t believe it was such a simple issue. Doh!

Well, it solved your problem!
BR

Top Labels in this Space