Forum Discussion
DIACHROMA
Helper II
5 years agoFilter a table based on concatenated values
Hi guys, I am working with a table in which the products are concatenated in the same column instead of having one row per product row : REF PRODUCT OFFERED 001 AAA BBB DDD 002 C...
- 4 years ago
DIACHROMA OK, try this as the RETURN then:
COUNTROWS(DISTINCT(SELECTCOLUMNS(FILTER(__AllRefsTable,[__Ref]<>BLANK()),"__Ref",[__Ref])))
DIACHROMA
Helper II
4 years agoOk ! I did it, it returns Visit IDs in one value. I export the result to excel to check it, I have 1445 IDs in total.
I don't know if it can help, but the 1 which is extra in the total appears when I select a product which should normally show me Blank or 0. Isn't there something in the formula that could make 1 to this product that should not appear?
Greg_Deckler
Community Champion
4 years agoDIACHROMA OK, try this as the RETURN then:
COUNTROWS(DISTINCT(SELECTCOLUMNS(FILTER(__AllRefsTable,[__Ref]<>BLANK()),"__Ref",[__Ref])))