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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Tirith
New Member

Need to create a True\False Column that..

Hello!

 

I need to create a Column that with the Value either True or False, based on a if there is an entry into another table. 

So I have two queries, which a relationship between the two linked at Name. One  Query is something like a master list of all systems with some general data about each one.  The second queries only lists systems that need to be restarted, however it only lists Name and IP address, I can't do much to change the sorce data. 

 

In my table visualation I want to add a column that if the name appears in the second query it value is set to true, if it's not listed the value is set to false. 

2 ACCEPTED SOLUTIONS
Ritaf1983
Super User
Super User

Hi @Tirith 
Please refer to the linked discussions

https://community.fabric.microsoft.com/t5/Desktop/DAX-query-to-compare-a-value-in-one-table-to-see-i...

https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-checking-if-value-...

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

Anonymous
Not applicable

Hi @Tirith 

You can use if() and filter() function to this.

You can refer to the following link.
IF function (DAX) - DAX | Microsoft Learn

FILTER function (DAX) - DAX | Microsoft Learn

 

Best Regards!

Yolo Zhu

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Tirith 

You can use if() and filter() function to this.

You can refer to the following link.
IF function (DAX) - DAX | Microsoft Learn

FILTER function (DAX) - DAX | Microsoft Learn

 

Best Regards!

Yolo Zhu

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

Ritaf1983
Super User
Super User

Hi @Tirith 
Please refer to the linked discussions

https://community.fabric.microsoft.com/t5/Desktop/DAX-query-to-compare-a-value-in-one-table-to-see-i...

https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-column-checking-if-value-...

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.