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
I'm trying to create a dimension table that has Part Numbers and a corresponding Part Description. I successfully created the table with one column of Part Numbers (because those are unique), but depending on the dealership the descriptions can vary slightly. I used this formula to create the single column table:
Is there a way I can change this formula so that it only takes the FIRST part description it finds for each Part Number? I'm new to DAX so I apologize in advance if this is an easy one.
Any help would be appreciated.
Thanks!
Solved! Go to Solution.
[Parts] =
FILTER(
ADDCOLUMNS(
DISTINCT( T[Part_Number] ),
"Description",
FIRSTNONBLANK( T[Part_Description], 1 )
),
NOT ISBLANK( T[Part_Number] )
)
[Parts] =
FILTER(
ADDCOLUMNS(
DISTINCT( T[Part_Number] ),
"Description",
FIRSTNONBLANK( T[Part_Description], 1 )
),
NOT ISBLANK( T[Part_Number] )
)
Perfect! Thank you so much for the quick response.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 20 | |
| 12 | |
| 10 |