+ Reply to Thread
Results 1 to 5 of 5

How do I get my formula to work in a power query

  1. #1
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    How do I get my formula to work in a power query

    Hi everyone,

    I'm trying to add a custom column in my query. The excel formula looks like this
    Please Login or Register  to view this content.
    But I know for a power query the syntax is different.

    Can someone help me please.

    Thank you,

    -Justin

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: How do I get my formula to work in a power query

    Hi Justin,

    See the attached where I created some random times and then did a Power Query on the Excel.CurrentWorkbook. I used the conditional column build tool to do what I think you want.

    See if you can open the attached.... You will need to save it to somewhere before opening it as the Power Query uses the currently SAVED file to work with. Step through my PQ steps and check my answer.

    Keep asking if you need more help.

    PowerQuery for Shift Number.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: How do I get my formula to work in a power query

    Marvin,

    Thank you so much. I didn't realize there was a conditional column tool.

    Super big help!

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: How do I get my formula to work in a power query

    Hi Justin,

    Thanks for the rep. I find most Excel users are afraid of Power Query and won't even try it. I think Excel is ahead of normal user needs with this new tool. There are a lot of problems that can use Power Query for the answer. Power Query is easier to use than VBA, but it will take a little time for users to see how easy and powerful it really is.

  5. #5
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: How do I get my formula to work in a power query

    I just started using Power Query and I agree it is very useful and much easier than VBA.

+ 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. 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
  2. [SOLVED] Formula Creation with Power Query
    By Bhalbert in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-05-2016, 01:11 PM
  3. [SOLVED] Is there a way to add a normal excel formula to a Power Query Table
    By beaglesBuddy in forum Excel General
    Replies: 1
    Last Post: 07-09-2016, 04:30 PM
  4. VBA and Power Query
    By Brawnystaff in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-16-2015, 05:10 AM
  5. Help make my Excel formula work in Power Pivot / Dax language
    By Paul Reins in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2013, 03:27 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