Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi,
I need help with modeling my data model to give certain results.
So the tables I have are:
Item Master Table
| Item Master |
| A |
| B |
| C |
| 1 |
| 2 |
| 3 |
Sales Data
| Item | Sales | Base Currency |
| A | 100 | GBP |
| A | 200 | EUR |
| B | 300 | GBP |
| B | 400 | EUR |
| C | 500 | GBP |
| C | 600 | EUR |
Product Recipe Data
| Parent Item | Recipe Item |
| A | 1 |
| A | 2 |
| A | 3 |
| B | 2 |
| B | 3 |
| C | 1 |
| C | 2 |
My Model currently:
What I want to do:
When I search for a Recipe Item Number, I want a list of all Parent Items associated with it and then YTD Sales of the corresponding Parent Item.
Example:
When you search "2", you should get a list of {"A", "B", "C"}.
Please help!
Thanks & Regards.
Hi,
I checked the file you shared. My Item Master table is not the way you've created it.
Rather, it is this way, which changes how the filtering works.
Hi, @Anonymous
You can try the following methods.
Measure:
Sales YTD =
CALCULATE ( SUM ( 'Sales Data'[Sales] ),
FILTER ( 'Sales Data',
[Item] = SELECTEDVALUE ( 'Product Recipe Data'[Parent Item] )
)
)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 58 | |
| 31 | |
| 25 | |
| 24 |