cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

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 CodeTable 1 CodeTable 2 Code
1 x
2x 
3 x
4 x
5x 
6x 
7x 

I'm not sure what the appropriate measure(if needed) would be to do that. 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User IV
Super User IV

@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

ShowItemwithoutdata.JPG



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

3 REPLIES 3
Super User IV
Super User IV

@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

ShowItemwithoutdata.JPG



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Highlighted

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

Highlighted

@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 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors