+ Reply to Thread
Results 1 to 3 of 3

Converting Normal Excel function to DAX function

  1. #1
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Unhappy Converting Normal Excel function to DAX function

    Hi Experts,
    I am having trouble in "Converting Normal Excel function to DAX function"

    So I thought, this time I should make a call for help in this forum. Hopefully will get the answer here.

    The formula is to calculate Moving daily average of Last thirty days. (on I19)
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Actually the formula is for moving average for each route separately.

    The formula works well but due to large Dataset, Excel takes too long to calculate.
    As I was using Pivot as a base, So, I thought to convert it into DAX function which I am unable to do after many attempts.

    I have filtered the Route column to reduce the rows. You can add more.

    Thanks in advance

    here is the link to file.
    https://drive.google.com/file/d/0Bzt...ew?usp=sharing
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Converting Normal Excel function to DAX function

    I got the required solution.
    Here it is
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Thread closed..!!

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Converting Normal Excel function to DAX function

    This Calculated Measure is far better.

    // When Actual Trading days are to be considered. It is use full when there are gaps in the events. Like First sale happened on 1 Jan and next sale happened on 30 Jan. So the Denominator should be 2 days while calculating average while calculating average on 30 Jan, not 30 days.

    Please Login or Register  to view this content.
    // When Actually Trading days are not to be considered.
    Please Login or Register  to view this content.
    Hope it helps anybody out there!

+ 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. How to reset normal function
    By ossa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-30-2012, 02:18 AM
  2. Normal distribution function
    By Beginner Level in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-20-2012, 04:13 AM
  3. Converting Excel Function to VBA
    By BozzA in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 09-01-2010, 09:49 PM
  4. Javascript function converting to Excel function
    By kamila in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-31-2007, 07:06 AM
  5. Excel lookup function - harder than normal
    By twogoodtwo in forum Excel General
    Replies: 6
    Last Post: 01-19-2007, 02:30 AM

Tags for this Thread

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