+ Reply to Thread
Results 1 to 5 of 5

Power Query - Filtering question

  1. #1
    Forum Contributor
    Join Date
    11-01-2016
    Location
    Prague
    MS-Off Ver
    2013
    Posts
    121

    Power Query - Filtering question

    Hello everyone,

    I am recently start discoviring the Power Query and maybe its easy but I couldnt figure it out.

    So, I am trying to filtering a column which is called "Business Tittles". I want to exclude "Intern" tittles but when I do "add conditional column" and "contains" option, Its also deleting the tittles which contains "International" as well. For example there are "International Marketing Manager" tittle. I want to keep that one inside.

    I think I need to write something in " Add custom column" some IF formulas which I can remove "Intern" tittles but keep the "international"

    Could you please help me on that ?

    Thank you very much
    Orhan

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Power Query - Filtering question



    To attach an Excel file to your post,
    • click Go Advanced,
    • scroll down until you see Manage Attachments,
    • click that and select Browse,
    • select your file and click Open,
    • click Upload and you will see your attachment below Upload Files from a website
    • click Close this window,
    • click Submit reply

    After that you should see attachment in your post

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Power Query - Filtering question

    Hi,

    You can add spaces at the beginning and end of the field and search for " intern " like this
    Text.Contains(" " & [Field name] & " ", " Intern ")
    It would probably be sensible to convert to all upper or lower case too to make the check case insensitive.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  4. #4
    Forum Contributor
    Join Date
    11-01-2016
    Location
    Prague
    MS-Off Ver
    2013
    Posts
    121

    Re: Power Query - Filtering question

    Quote Originally Posted by xlnitwit View Post
    Hi,

    You can add spaces at the beginning and end of the field and search for " intern " like this
    Text.Contains(" " & [Field name] & " ", " Intern ")
    It would probably be sensible to convert to all upper or lower case too to make the check case insensitive.
    Thank you very much. It worked perfect ! Appreciated it.

  5. #5
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Power Query - Filtering question

    You're welcome. Thank you for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sub-Forum for Power Query & Power BI?
    By AliGW in forum Suggestions for Improvement
    Replies: 7
    Last Post: 08-26-2018, 05:25 PM
  2. error in power query & power pivot
    By Baldev Kumar in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 01-03-2018, 01:34 AM
  3. Power query question
    By BORUCH in forum Excel General
    Replies: 13
    Last Post: 10-26-2017, 09:09 AM
  4. Power Query question
    By BamBamMoneyBags in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-08-2016, 02:43 AM
  5. Power Query From Within VBA
    By rabend in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2016, 07:34 AM
  6. VBA and Power Query
    By Brawnystaff in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-16-2015, 05:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1