Forum Discussion
gvg
8 years agoPost Prodigy
Using FILTER on two tables
Hi experts, I have a Dates table that is related to Sales table. I also have a slicer for Dates. I need to filter on columns from different tables in my CALCULATE. Something like this (just the F...
- 8 years ago
If you want to filter all dates which the sales is more than 100, you should build a measure for sales amount. Then use this measure as conditon in your FILTER() function.
SalesAmount = SUM(Sales[Amount])
FILTER ( ALL ( Date[Date] ), [SalesAmount]>100 )Regards,
v-sihou-msft
8 years agoMicrosoft Employee
If you want to filter all dates which the sales is more than 100, you should build a measure for sales amount. Then use this measure as conditon in your FILTER() function.
SalesAmount = SUM(Sales[Amount])
FILTER ( ALL ( Date[Date] ),
[SalesAmount]>100
)
Regards,
- gvg8 years agoPost Prodigy
Thanks v-sihou-msft !