The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I’ve been working on this issue for a couple of days and haven’t been able to find a solution. I have a report with the following structure:
Column (1): Parent Part Number
Column (2): Subcomponent Part Number
Column (3): Quantity of Subcomponent Needed to Manufacture the Parent Part Number
Additionally, I have a separate report that provides the quantity of each Parent Part Number sold. My goal is to calculate the total quantity of subcomponents required to produce the sold parent parts. The challenge is that some parts have multiple levels of subcomponents, as illustrated in this example:
Part #1 requires:
1 of Part #2
1 of Part #3
1 of Part #4
Part #3 requires:
3 of Part #5
6 of Part #6
Part #6 requires:
10 of Part #7
What I’d like to achieve is a breakdown that, when filtered or sliced by Part #1, displays the total quantities of all subcomponents needed across all levels, like this (for qty of 1 of Part #1):
1 of Part #2
1 of Part #4
3 of Part #5
60 of Part #7
Solved! Go to Solution.
Hi @arepnoy,
Since the DAX approach is getting some circular dependency issues, use power query. Please follow below steps:
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
Hi @arepnoy,
Thank you for reaching out to Microsoft Fabric Community.
I likely understand that you need to compute the total subcomponent quantities across multiple BOM levels.
Create a table visual and apply filters on Parent Part Number to see the total subcomponent quantities for any selected parent part.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
Hi Anjan,
Thank you for providing a solution, however it doesn't seem to work. See error below:
Hi @arepnoy,
Since the DAX approach is getting some circular dependency issues, use power query. Please follow below steps:
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
Hi @arepnoy,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked.
If my response addressed, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Thanks and regards,
Anjan Kumar Chippa
Hi @arepnoy,
We wanted to kindly follow up to check if the solution I have provided for the issue worked.
If my response addressed, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Thanks and regards,
Anjan Kumar Chippa
Hi @arepnoy,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked.
If my response addressed, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Thanks and regards,
Anjan Kumar Chippa
could you pls provide some sample data?
Proud to be a Super User!
Here you go:
Parent P/N | BOM P/N | Qty |
1 | 2 | 1 |
1 | 3 | 1 |
1 | 4 | 1 |
3 | 5 | 3 |
3 | 6 | 6 |
6 | 7 | 10 |