Forum Discussion

Jameel's avatar
Jameel
Regular Visitor
2 years ago
Solved

Common Vs uncommon

I have two excel.One contain 12 ID no, Title and another excel contain 5 title. I need to create a dax function that compares both titles and if it matches it should count as common and if not match...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Jameel ,

     

    According to your statement, I think your issue should be caused that you add this column in Sheet1(2). Due to it doesn't contain all title in it, so it will return blank in your visual. Please add a column in Sheet1.

    Column =
    IF (
        ISEMPTY (
            FILTER ( 'Sheet1 (2)', 'Sheet1 (2)'[title] = EARLIER ( 'Sheet1'[title] ) )
        ),
        "UnCommon",
        "Common"
    )

    Result is as below.

     

    Best Regards,
    Rico Zhou

     

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