Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

IF condition based on two different tables

if [Custom ID] = Table.Column ([HistoricalformsaData], "Custom ID") then "Duplicate" else "New"

 

Created a custom column. But did not get the duplicate value. Need some help

6 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Anonymous - Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

    Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

    The most important parts are:
    1. Sample data as text, use the table tool in the editing bar
    2. Expected output from sample data
    3. Explanation in words of how to get from 1. to 2.

    • Anonymous's avatar
      Anonymous
      Not applicable

      This is historical file.

       

      Merged file is mentioned below:

       

      In this merged file I am using custom column to find a duplicate value from historical sheet. Use a power query mentioned earlier

      • Fowmy's avatar
        Fowmy
        Super User

        Anonymous 

        Can you check the attached file if you are getting the expected results?

        You can download the file: HERE



         

        ________________________

        Did I answer your question? Mark this post as a solution, this will help others!.

        Click on the Thumbs-Up icon if you like this reply 🙂

        YouTube, LinkedIn

         




  • Anonymous , The information you have provided is not making the problem clear to me. Can you please explain with an example.
    Can you share sample data and sample output in table format?
    Appreciate your Kudos.