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.
Hi, read a few posts on this but can't find exactly what I need. I'm creating a measure which will be used in another calculation. The inital measure I am creating needs to be filtered based on values in other tables.
Below is my measure working with a couple of filters
Solved! Go to Solution.
Hi @sanderson82 ,
In your scenario, we can use the RELATED() funtion and && to write the DAX query:
TotalTransport = CALCULATE( SUM(PCProjectEntry[GoodsAmountInBaseCurrency]), FILTER(PCProjectEntryDescriptor,PCProjectEntryDescriptor[Name]="Purchase Invoice"), FILTER(PCProjectItem,PCProjectItem[Code]="Transport" && RELATED(PCProjectEntryDescriptor[Name])="Purchase Invoice")
Best Regards,
Teige
Hi @sanderson82 ,
In your scenario, we can use the RELATED() funtion and && to write the DAX query:
TotalTransport = CALCULATE( SUM(PCProjectEntry[GoodsAmountInBaseCurrency]), FILTER(PCProjectEntryDescriptor,PCProjectEntryDescriptor[Name]="Purchase Invoice"), FILTER(PCProjectItem,PCProjectItem[Code]="Transport" && RELATED(PCProjectEntryDescriptor[Name])="Purchase Invoice")
Best Regards,
Teige
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 |
---|---|
98 | |
96 | |
78 | |
72 | |
66 |
User | Count |
---|---|
136 | |
109 | |
104 | |
82 | |
73 |