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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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])
)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 122 | |
| 106 | |
| 47 | |
| 30 | |
| 24 |