+ Reply to Thread
Results 1 to 3 of 3

Power Query custom formula not working for 1 single condition

  1. #1
    Registered User
    Join Date
    11-27-2017
    Location
    Surrey, England
    MS-Off Ver
    Office 365
    Posts
    65

    Power Query custom formula not working for 1 single condition

    Hi all,

    I have created a formula within powerquery which is essentially a nested if/and combination. Every single condition except 1 will work and I can't understand why?! I feel like I have missed something really simple but I can't figure it out.

    I've made and attached a dummy data sample, essentially it is looking at when a person was communicated with and making a 'grouping' based on which media forms were used (e.g. if call only then 'call only', if call and email then 'Call and Email'), everything works great except one of the 'only' categories. Really strange and banging my head against the wall trying to figure out why! As it isn't reporting any errors in the formula itself.

    Many thanks - any help would be greatly appreciated. I've attached the document but the power query code is below, and it is the "MP Letter Only" category not working, I also tried putting that one ahead of the letter and email isolated categories but still no joy.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Power Query custom formula not working for 1 single condition

    Please try

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-27-2017
    Location
    Surrey, England
    MS-Off Ver
    Office 365
    Posts
    65

    Re: Power Query custom formula not working for 1 single condition

    Thank you for your reply! Can you explain what you've done and why mine didn't work? As I need to do this in the real document so want to make sure I get each step correct. Looks like you've made another table and a list and merged, is that right?

+ 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. [SOLVED] Power Query - excel formula translation into Power Query
    By afgi in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 02-19-2020, 03:38 AM
  2. Replies: 4
    Last Post: 02-17-2020, 06:03 AM
  3. Power Query Formula Inserting Custom text
    By Rastancu in forum Excel General
    Replies: 12
    Last Post: 10-28-2019, 08:30 AM
  4. Custom Permutations Column in Power Query from two columns in the same Query
    By PaintPaddy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2019, 02:48 PM
  5. [SOLVED] Power Query Custom Column Formula
    By whiskeybravo91 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-06-2018, 11:10 AM
  6. Power Query Custom Column Formula
    By whiskeybravo91 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-06-2018, 09:57 AM
  7. Help with Power Query Custom Column Formula
    By travis.cook21 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-16-2016, 01:45 PM

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