Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Can someone help with 2 measures? I guess the second measure would be just a slight modification of the first one...
Thank you!
Scenario:
Solved! Go to Solution.
@amitchandak I've managed to solve it. It came out pretty straightforward at the end. Thank you for your efforts.
Measures:
Inventory item @ItemBOM = IF(NOT ISEMPTY('Item BOM'),CALCULATE(SUM('Inventory today'[Qty]),REMOVEFILTERS('Item secondary')))
Inventory secondary item @ItemBOM = IF(NOT ISEMPTY('Item BOM'),CALCULATE(SUM('Inventory today'[Qty]),REMOVEFILTERS('Item')))
@drbr , That is great. Kudos to you. Marking your reply as answer
@amitchandak I've managed to solve it. It came out pretty straightforward at the end. Thank you for your efforts.
Measures:
Inventory item @ItemBOM = IF(NOT ISEMPTY('Item BOM'),CALCULATE(SUM('Inventory today'[Qty]),REMOVEFILTERS('Item secondary')))
Inventory secondary item @ItemBOM = IF(NOT ISEMPTY('Item BOM'),CALCULATE(SUM('Inventory today'[Qty]),REMOVEFILTERS('Item')))
@drbr , I think secondary inventory Should be via BOM, this needs a little bit of modeling. Checking what best can be done
@drbr , Can item and item secondary join to same item_id in inventory ?
How These measures are calculated.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Hi. Here is a link to a pbix file: https://fil.email/b8WyDoTX (valid for 7 days)
Thank you!
Comment: This is new file. Previous had one wrong relation!!!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |