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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
oappdev
Helper I
Helper I

Check if Value Exists in another column.

Happy Sunday everyone,

Getting started with Power BI and need some guidance and the best approach. 

So i have 3 tables.

Table 1 - Hold the User Info with the questions.

Table 2 - Hold the the Value selected from the questions answer

Table 3 - Hold the Document Information/Type

 

Capture.PNG

 

Trying to figure out, when "Yes" is selected for "RecoveredFromCovid19AfterJune2020" to show in Column "SupportingDocument"

  • Yes    (If there is a file attached) for that user.
  • NULL (No file was attached)

Capture1.PNG

Thank you so much in advance. Please, let me know if anything is unclear.

 

 

1 ACCEPTED SOLUTION
vivran22
Community Champion
Community Champion

@oappdev 

 

Thanks for sharing details. Based on  your description, following is the sample I have created:

 

Data tables:

image.png

 

Model Schema:

 

Relationship.gif

 

Result:

image.png

 

Sample pbix file enclosed.

 

Cheers!
Vivek

Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter

 

View solution in original post

6 REPLIES 6
vivran22
Community Champion
Community Champion

Hey @oappdev ,

 

I understand that the COVID19User and Audit are related by Id. How you are relating the Document table with other tables?

 

Cheers!
Vivek

Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter

Thank you @vivran22 for the quick response.

 

On the Document table,  i have a column call "CreatedBy" and "LastModifiedBy" that capture the user Login ID that upload the document. Let me know if that answer your question.

 

vivran22
Community Champion
Community Champion

@oappdev 

 

Can you share your model schema?

 

Cheers!
Vivek

Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter

Happy Wednesday, @vivran22 Sorry for the delay.

Here is an updated Information. I was not able to grab the model schema, sorry about that. Let me know, if this works.

 

PowerBI.PNG

 

Thank you again for all your help. Let me know if you need any additional information.

vivran22
Community Champion
Community Champion

@oappdev 

 

Thanks for sharing details. Based on  your description, following is the sample I have created:

 

Data tables:

image.png

 

Model Schema:

 

Relationship.gif

 

Result:

image.png

 

Sample pbix file enclosed.

 

Cheers!
Vivek

Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter

 

Absolutely, Crazy Monday 😳 Give me a few @vivran22  Thank you again.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.