How would I modify this formula to remove duplicates for Material Number?
New Table Name = SELECTCOLUMNS(Existing Table Name, "Material Number",[Material Number], "Material Name",[Material Name])
I have an existing table and I am creating a new table from 3 fields in the existing table. I think SELECTCOLUMNS is the DAX formula I should be using since these are all just text fields, but I want to remove duplicates for Material Number.
Solved! Go to Solution.
Hi @bhorvati
One way is just to wrap a DISTINCT around it
New Table Name =
DISTINCT(
SELECTCOLUMNS(Existing Table Name, "Material Number",[Material Number], "Material Name",[Material Name])
)
Hi @bhorvati
One way is just to wrap a DISTINCT around it
New Table Name =
DISTINCT(
SELECTCOLUMNS(Existing Table Name, "Material Number",[Material Number], "Material Name",[Material Name])
)
User | Count |
---|---|
123 | |
63 | |
56 | |
46 | |
41 |
User | Count |
---|---|
115 | |
66 | |
60 | |
59 | |
45 |