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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
I am currently trying to take a list of products from a bill of materials (BOM) which I have separated out manually and would now like to add a new column which displays the bottom level material for each product. Is there a way to iterate over each column in a row and then pull the value out?
For Example, the 'Bottom Level' column in the table below is what I would like to add in, the main issue appears to be how some things drop out earlier than others and I have no idea how to fix this.
Products | Sub Level 1 | Sub Level 2 | Sub Level 3 | Bottom Level |
Product A | Component 1 | Component 2 | Component 3 | Component 3 |
Product B | Component 1 | Component 1 | ||
Product C | Component 1 | Component 2 | Component 2 |
Many thanks in advance to anyone that can help
If there is any other information you think I have missed please let me know
I tried using Coalesce however it doesnt seem to accept column headers as inputs.
Does this also work if each column sits in a different table?
i.e. In my model, sub level one is in a different table to sub level two as this was the only way to extract the data
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.