Forum Discussion
How to use ISINSCOPE in matrix?
- 4 years ago
Hi, Anonymous
According to your description, you want to see BLANK in the departments. Right?
Here are the steps you can refer to :
(1)This is my test data which is the same as yours:We need to create a relationship between two tables:
(2)We can create a calculated column in Multi-terminal tables:
de_name = RELATED('Sheet1'[Department])(3)We can create a measure :
Count = IF(ISINSCOPE('Sheet1'[Department]),BLANK(), SUMX( DISTINCT('Sheet2'[de_name]),1))(4)Then we put the measure in the visual and the field we need like this and we will meet your need:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
ISINSCOPE doesnt seem to work for me...
It works at first here:
But, when I drag GroupName, it stops working!
Why is it displaying a 1 for Business? It should be blank!
- johnt754 years ago
Super User
That looks to be working as expected. If you have the Group Name in the rows then the only time ISINSCOPE would return false would be in the total row.