Forum Discussion
x mark column for common codes between 3 tables
Hi all I have 3 tables I'm working with. There is a master table that has a list of all the codes. Other tables have information for certain codes. I'm trying to create an overview that is representative of what information is available where. For example, the master table has codes
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
| 6 |
| 7 |
Table 1 has
| 2 |
| 5 |
| 6 |
| 7 |
Table 2 has
| 1 |
| 1 |
| 3 |
| 4 |
The master table is connected to table 1, and connected to table 2 via the codes column.
I want to create a visual such as below:
| Master Code | Table 1 Code | Table 2 Code |
| 1 | x | |
| 2 | x | |
| 3 | x | |
| 4 | x | |
| 5 | x | |
| 6 | x | |
| 7 | x |
I'm not sure what the appropriate measure(if needed) would be to do that.
goalie_ , Create two measures like this and use with Code from master table
if(isblank(count(Table1[code])), blank(), "X")
if(isblank(count(Table2[code])), blank(), "X")if needed use this option
3 Replies
- amitchandak
Super User
goalie_ , Create two measures like this and use with Code from master table
if(isblank(count(Table1[code])), blank(), "X")
if(isblank(count(Table2[code])), blank(), "X")if needed use this option
- goalie_
Helper III
Hi amitchandak
There's also other codes in the master table I forgot to mention. It goes from 1-20. I still want 8-20 in the master codes column to appear and not be affected by the measures. Any ideas for that?
Currently it filters the master codes column
Edit:
I figure it out. Forgot to do you suggestion about showing items with no data. everything appears now. Thank you
- amitchandak
Super User
goalie_ ,
or you can try measure like
if(count(Table1[code])+0 = 0, "", "X")
if(count(Table2[code])+0 =0, "", "X")Show items with no data should also work. If issue is resolved please mark solution