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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
JWO16
Frequent Visitor

Match formula in DAX (Excel formula alternative)

I've created a dashboard that in the main brings back info directly from another solution.  I've a few fields that I've had to create and use myself though.  The one I'm struggling with though is a field to flag when a field value is also in another record in the data (the parent column)

 

This is the formula I've used previously in my Excel workbook.  Is DAX capable of handling this and how could I go about doing the same so I can bring it into my PowerBI dashboard.

 

=IF(ISNUMBER(MATCH([@[Work Item ID]],[Parent Work Item Id],0)),"Y","N")

 

 

1 ACCEPTED SOLUTION
ahmadibrahimbus
Resolver III
Resolver III

Please Use This Formula and mark my Answer as solution if it's Solved.
= if(CALCULATE(COUNTROWS('Table'),FILTER( 'Table', 'Table'[Parent Work Item ID] = EARLIER('Table'[Work Item ID])))>0,"Y","N").
Nb: include this dax formula as new calculated column.

View solution in original post

1 REPLY 1
ahmadibrahimbus
Resolver III
Resolver III

Please Use This Formula and mark my Answer as solution if it's Solved.
= if(CALCULATE(COUNTROWS('Table'),FILTER( 'Table', 'Table'[Parent Work Item ID] = EARLIER('Table'[Work Item ID])))>0,"Y","N").
Nb: include this dax formula as new calculated column.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors