Forum Discussion
adriansuteu
Advocate I
6 years agoFilter measure based on related table column value
Hello. I have the following situation: I have a measure that needs to be filtered based on the column value from a related table. More specifically I want to exclude the amount of money from invo...
- 6 years ago
Hi, adriansuteu
Just add just your formula as below:
Amount without Contracts = CALCULATE([Amount Left (Selected)],FILTER(Courses,SEARCH("ctr",Courses[Invoice],1,0)=0))or
Amount without Contracts 2 = CALCULATE([Amount Left (Selected)],FILTER(Courses,FIND("ctr",Courses[Invoice],1,0)=0))Result:
Regards,
Lin
v-lili6-msft
Community Support
6 years agoHi, adriansuteu
Just add just your formula as below:
Amount without Contracts = CALCULATE([Amount Left (Selected)],FILTER(Courses,SEARCH("ctr",Courses[Invoice],1,0)=0))
or
Amount without Contracts 2 = CALCULATE([Amount Left (Selected)],FILTER(Courses,FIND("ctr",Courses[Invoice],1,0)=0))
Result:
Regards,
Lin