This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Good Afternoon,
Looking for some assistance with a Calculated Column dealing with Inventory.
Have a Table of On Hand Inventory.
| Facility | Item | Pre-AdjustmentDate | OnHandPreAdjustment | Adjustment Date |
| ABC | ATA235 | 04/30/2023 | 1 | 05/01/2023 |
Have a Transaction Detail Table (simplified) as follows:
| Facility | Item | Transaction Type | Date | Qty. |
| ABC | ATA235 | Inventory Adjustment | 05/01/2023 | -1 |
| ABC | ATA235 | Inventory Adjustment | 05/01/2023 | 1 |
Want to add a Calculated Column to the first table that sums the Qty in the second table for each Facility, Item and Date match.
I have been able to do it by creating a Summary Table and Lookup.
| Facility | Item | Pre-AdjustmentDate | OnHandPreAdjustment | Adjustment Date | Adjustment |
| ABC | ATA235 | 04/30/2023 | 1 | 05/01/2023 | 0 |
Thinking there is a more efficient way by creating a virtual table within a Calculated Column, but haven't been able to get it to work. Any guidance would be much appreciated.
Regards,
Solved! Go to Solution.
Something like this might work...
Proud to be a Super User! | |
Something like this might work...
Proud to be a Super User! | |
@jgeddes ,
Thanks much for the prompt reply.
At first glance, appears to be what I am looking for. Will give it a shot later today and let you know how I make out.
Thanks again!
Regards,
@jgeddes ,
Just wanted to let you know that I got it to work as expected. Thanks again for the assist.
Regards,
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 25 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 22 | |
| 19 | |
| 18 |