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.
Could you please help me to correct the measure to show the number of components in each layer of BOM as described in the picture?
I have created the two measures below but they do not works. I also attached the link to download pbi desktop file for your inspection.
The link to download the .pbix file
https://bit.ly/3HhW8WE
Solved! Go to Solution.
Hi Ibendlin,
Thank you very much for your time. I have corrected the issue by myself with the same logic as the code block above.
You have a couple of problems. One of them is that you don't really have a hierarchy.
As you can see a substantial number of items have multiple parents. That's a no-no in a hierarchy.
You are better off with a snowflake style data model where you describe for each actual product what their BOM is, and then for these components what their sub-BOM is etc.
Hi Ibendlin,
Thank you very much for your time. I have corrected the issue by myself with the same logic as the code block above.