Hi,
I have created a query to pull information from SQL database. There are a lot of joins and as a result duplicates. I want to filter out the duplicates based on ticket number. The below works in the SQL database but somehow not for tableau. Any suggestions?
SELECT
count(distinct(a_change.NUMBER)),
8 answers
Hi Tamisha,
Pl check screenshots and attached. You need to use Last Function and Compute using Ticket ID and Drag it to Filter and Set Filter True.
Duplicated Tickets Data
Filter :
LAST ()=0 , Drag it to FILTER and Select TRUE, Right Click Compute on Ticket ID and again Select TRUE to get only 1 Value for TICKET ID.
Only One Row per Ticket ID
Thanks
Deepak