Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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])
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 46 | |
| 42 | |
| 34 | |
| 31 | |
| 21 |
| User | Count |
|---|---|
| 134 | |
| 124 | |
| 98 | |
| 80 | |
| 65 |