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
Sykboardrider
Frequent Visitor

Column comparison output

Hi All.

 

I am quite new to PBI and I am a little stuck with something.

I am trying to create a new column that is can provide me with the following output.

 

Value AValue BNew Column
TrueFalseFalse
TrueTrueTrue
FalseTrueFalse
FalsefalseFalse
   
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Both TRUE is true?

New Column = 

yourTable[Value A]=TRUE() && your[Value B]=TRUE()

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Both TRUE is true?

New Column = 

yourTable[Value A]=TRUE() && your[Value B]=TRUE()

@Anonymous

 

Thank you very much, that worked perfectly!

judspud
Solution Supplier
Solution Supplier

Hi @Sykboardrider 

 

Please can you clarify the logic you would like to apply?

 

is it if they are both true then true otherwise false?

 

Thanks,

George

Hi.

 

Yes, that is the correct logic.

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 Fabric 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.