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
Highlighted
Super User IV
Super User IV

Re: x mark column for common codes between 3 tables

@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
Highlighted
Super User IV
Super User IV

Re: x mark column for common codes between 3 tables

@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
Helper III
Helper III

Re: x mark column for common codes between 3 tables

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
Super User IV
Super User IV

Re: x mark column for common codes between 3 tables

@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!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors