Forum Discussion
How to use ISINSCOPE in matrix?
- 3 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
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