Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I'm newer to power bi and especially bom structures. need some help understanding what i am missing. i have a production order table that has job number and a productionroute table that has job number and operation number. there is multiple op per job number. now im trying to make a matrix that allows you to go fromworkcenter to job number down to item level. workcenter is also in production route. problem im having is i cant get the item number to show from productionbom correctly. productionbom can have multiple items per operation or it could have no items for that operation. i still want to see the jobs/ops that dont have items attached but if they match up with production bom return the items numbers associated with the job/op. i have a sample file of made up data that is similar.
this example above for instance should only return test22 as the job numbers match but not all operations match. the small left table is just the bom table.
my second example is a job that should still show in the matrix just not return any itemnumber as there isn't one associated with that operation.
My File , thanks in advance for any help.
Solved! Go to Solution.
Hi @BiGhost12
Due to some security policy, I couldn't open the file you shared, so I created simple sample data to do the test for your reference:
My sample:
productionroute table:
production order table:
Measure:
Measure =
VAR _ItemOperation = IF(MAX('production order'[Operation]) = MAX('productionroute'[Operation]) && MAX('production order'[job Number]) = MAX('productionroute'[Job Number]), 1, 0)
VAR _Operation = CALCULATE(MAX('productionroute'[Operation]), FILTER('productionroute', _ItemOperation = 1))
RETURN
_Operation
Output:
If your problem persists, you can either paste the sample data directly into the post or present it as a screenshot so I can better help you. How to provide sample data in the Power BI Forum - Microsoft Fabric Community Please remove any sensitive data in advance.
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @BiGhost12
Due to some security policy, I couldn't open the file you shared, so I created simple sample data to do the test for your reference:
My sample:
productionroute table:
production order table:
Measure:
Measure =
VAR _ItemOperation = IF(MAX('production order'[Operation]) = MAX('productionroute'[Operation]) && MAX('production order'[job Number]) = MAX('productionroute'[Job Number]), 1, 0)
VAR _Operation = CALCULATE(MAX('productionroute'[Operation]), FILTER('productionroute', _ItemOperation = 1))
RETURN
_Operation
Output:
If your problem persists, you can either paste the sample data directly into the post or present it as a screenshot so I can better help you. How to provide sample data in the Power BI Forum - Microsoft Fabric Community Please remove any sensitive data in advance.
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
85 | |
82 | |
66 | |
49 |
User | Count |
---|---|
137 | |
111 | |
101 | |
66 | |
65 |