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 have a very simple BOM header - Production BOM set up where the major component for all parents is made from the item on first line of the production BOM. I would like to add an is made from field so that every production bom header is populated with its major component. I am trying to use LOOKUPVALUE to get this data, and have tried several methods but keep running into the old chestnut "A table of multiple values was supplied where a single value was expected." I am new to DAX and already have no hair!! finding this message a little frustrating as i have tried several approaches, the simplest of which is this.
Solved! Go to Solution.
HI @Boing1968,
This issue will appear when your expression gets multiple returns, you can set 'Alternate Result' with the aggregation function to prevent this:
Column =
LOOKUPVALUE (
'Navision$Production BOM Line'[No_],
'Navision$Production BOM Line'[lookup], '$NavisionProduction BOM Header'[lookup],
MAX ( 'Navision$Production BOM Line'[No_] )
)
Notice: Calculated column does not interact with filter effects, if you want to get the dynamic result, please use the measure expression instead.
Regards,
Xiaoxin Sheng
I have seen the error of my ways and now have it working......
HI @Boing1968,
This issue will appear when your expression gets multiple returns, you can set 'Alternate Result' with the aggregation function to prevent this:
Column =
LOOKUPVALUE (
'Navision$Production BOM Line'[No_],
'Navision$Production BOM Line'[lookup], '$NavisionProduction BOM Header'[lookup],
MAX ( 'Navision$Production BOM Line'[No_] )
)
Notice: Calculated column does not interact with filter effects, if you want to get the dynamic result, please use the measure expression instead.
Regards,
Xiaoxin Sheng
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.
User | Count |
---|---|
9 | |
8 | |
7 | |
4 | |
3 |