Forum Discussion
DataGuy2016
9 years agoAdvocate IV
DISTINCT command pulls BLANKS
Hi there, We are creating DISTINCT tables. We are getting distinct rows, but we are also getting a BLANK row. How do we remove the BLANK row so we only have non blank rows? We looked at:...
- 9 years ago
Just change the column instead of all table
Table = DISTINCT(FILTER(VALUES(Transactions[CheckInLoc]),LEN(Transactions[CheckInLoc])>0))
Vvelarde
9 years agoCommunity Champion
Hi, please try with this:
Table = DISTINCT(FILTER(Transactions,LEN(Transactions[CheckInLoc])>0))
- DataGuy20169 years agoAdvocate IV
Hi,
Nice try and thank you very much for your suggestion.
However...
I only want the CheckinLoc column with the unique values for that column. Your query pulls all columns.
- Vvelarde9 years agoCommunity Champion
Just change the column instead of all table
Table = DISTINCT(FILTER(VALUES(Transactions[CheckInLoc]),LEN(Transactions[CheckInLoc])>0))
- DataGuy20169 years agoAdvocate IV