Power Query Contains in collum

Pedro Faria / DUX SAO 0 Reputation points
2023-02-03T17:32:22.4266667+00:00

Hello

I wanted to make a function, in which, if the value of column 1 is inside column 2, show "yes" if not, show "No"

User's image

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,288 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Hua-MSFT 27,456 Reputation points
    2023-02-06T08:35:26.12+00:00

    Hi @Pedro Faria / DUX SAO

    This issue can be achieved via Excel formulas, such as =IF(COUNTIF(B$1:B$12,A1)>0,"Yes","No").

    If you need the Power Query formual, I suggest you post this issue to Power BI forum:

    https://community.powerbi.com/t5/Power-Query/bd-p/power-bi-services

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments