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!View all the Fabric Data Days sessions on demand. View schedule
I have a Warehouse table which holds current values of BOM-component stockcodes. I have the Warehouse values (eg On Hand) as rows on the pivot (so that they can be nested under their respective parents from the sales data), but I need to operate on them as values, and I'm struggling to build a measure for the On Hand qty. I can't seem to get the filtering and/or relationships (and/or crossfiltering) right. I thought I could wrap a Calculate around the sum of On Hand inside Calculate, and that that would force the current row context into a filter context. But the result (the [On Hand Qty BAD] measure under Warehouse) lacks filter and returns everything. (I'm trying to avoid calculated columns on the source data.)
There are too many tables and relationships to paste everything in here but I have the xlsx file shared here: https://1drv.ms/x/s!Aq0xcVjtciftgVsCQGSUGlhliDQx?e=fINfiK
Hoping someone might explain how this could be handled?
Why not check out these materials?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 14 | |
| 11 | |
| 9 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 28 | |
| 20 | |
| 19 | |
| 17 | |
| 12 |