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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
AlanP514
Post Patron
Post Patron

Create a calculated Column

AlanP514_0-1647357221980.png

Hai All, Need your Help, I want to create a column  yes or no, if the value is blank also want to consider it as "NO" otherwise "yes" 
Note: Both Columns are from Different Tables.

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @AlanP514 

I just wanted to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.

If not, could you provide some sample data of the 2 tables?  Thanks.

vxiaotang_0-1647584004032.png

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

truptis
Community Champion
Community Champion

Hi @AlanP514 , for linking 2 tables you can use RELATED()  & USERRELATION() etc.

1. Create a new column:
Value1 = CALCULATETABLE(SUMMARIZE(Table1,(Table1[VALUE1]), USERELATIONSHIP(Table2[UniqueKeyToJoinTable1],Table1[UniqueKeyToJoinTable1]))

2. Rsult_Column = If(ISBLANK('table1'[Value1]), "No", IF(ISBLANK('table2'[Value2]),"No", IF('table2'[Value2]="No", "No", "YES")))

@AlanP514 -> If this works for you then please mark it as a solution and hit the thumbs up. Thank you.

 

Regards,

TruptiS

amitchandak
Super User
Super User

@AlanP514 , You have to bring the column in one table.

 

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors