Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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')))
@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 , 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!!!
User | Count |
---|---|
139 | |
70 | |
67 | |
52 | |
52 |
User | Count |
---|---|
210 | |
92 | |
64 | |
59 | |
56 |