The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I'm trying to visualize the Bill of Materials dataset in power BI. However, when I use the PATH function to flatten the BOM Parent-Child Hierarchy, it comes up with the error as follows.
Any solutions for me? I have tried to solve by following some below links but have no luck.
http://www.daxpatterns.com/parent-child-hierarchies/
Bill of Materials (BOM) solution in Excel and PowerBI – The BIccountant
Solved: Parents - Child Hierarchy for Bill of Materials - Microsoft Power BI Community
Thanks a lot for your time and assistance.
I have tried to fix the issue using the DAX. First I detect the missing assemblies as follows:
Then, I create the Hierachical assemblies table that includes all the missing values of 'parentItemN'o in the the 'no' column:
However, It come up with another issue as captured below:
Does my DAX code is correct? I see the topic below is the same but has not resolved yet.
All it's saying is that you need to add the values in the parentid column into the 'no' column (even if they just point at themselves).
That will make the error go away.
Thanks for your suggestion. I did try that and it works for this specific item. But I do not want to change the data structure as it has thousands of records. Any other solutions?
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
119 | |
86 | |
75 | |
55 | |
44 |
User | Count |
---|---|
136 | |
128 | |
78 | |
64 | |
63 |