Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
BPTBPTBPT
Helper I
Helper I

I have tables, need new field about one of the tables. How to proceed?

I think this is really simple but cannot come up with the answer.

 

I have table 1, with all my projects listed:

- project 1

- project 2

- project 3

- project 4

- project 5

...

- project 1000

 

Also table 2:

- project 3

- project Y

- project 5

- project 1000

 

These two tables are linked 1:1.

I am creating a visual (simple table) in which I can see for which projects in table 1, there is a corresponding project in table 2.

I succeeded in this already, but would like to make an additional filter for the visual: "Project present in Table 2?", which I can give a yes or no. Yes shows all projects from 1 that are also in 2, No shows all projects from 1 that are not in 2. 

 

How do I make this filter?

I tried a few thinks but  think I am on the wrong track. First of all: should I make a new column for this? If so, in table 1 or 2? Or in a new table?

3 REPLIES 3
v-cgao-msft
Community Support
Community Support

Hi @BPTBPTBPT ,

 

Is your end goal to filter the table on the left to the table on the right? If yes, this filter can be set directly as shown in the picture.

vcgaomsft_0-1654658697705.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

tej147
Frequent Visitor

Hello BPTBPTBPT,

Please try this New Column in Table 1

IsInTable2 = 

IF(
Table1[Column1] = RELATED('Table2'[Column1]),
"Yes",
"No")
Then you can use the slicer with column "IsInTable2" to filter the data.
 
If you found this useful, please accept it as a solution. Else, kudos will be great for efforts!
Thank you.
Tejas
tamerj1
Super User
Super User

Hi @BPTBPTBPT 

if you are building your visual ove table 1 column then create a new measure which you csn place in the same visual 

Measure =
IF ( ISEMPTY ( Table2 ), "No", "Yes" )

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.