Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 9 | |
| 8 |