Forum Replies Created

Viewing 15 posts - 16 through 30 (of 30 total)
  • Author
    Posts
  • in reply to: PowerQuery table calculations — dates in team #4028

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    For now we are only looking at a single month but the hope is that we can look at more months as we get more adept at tracking this data.

    For the training date, the reps do not train in each pod, only the first 45 days from First training date is considered training. After that, switching pods is just a matter of pod membership. If, after 40 days of training JBEIBER switches to another pod, only 5 more days of training will occur before becoming a full pod member.

    And, just to keep it interesting, the monthly calculations will be cumulative, adding up from day 1 of the month so that each pod knows the current standings. Which, with Power Query, this is simply a matter of updating the tables to pull in additional rows. I just need to be able to update it on a daily basis through refresh.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Need help with a relationship bridge table #3968

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    Power Query was a fantastic tool for this. I had fallen into the very common trap of thinking of Power Query only as a means to upload data into PowerPivot. since having this discussion, I have successfully completed this task and trained a coworker on using PowerQuery for this type of work. I have succeeded in saving her hours per day and reduced her workload by nearly a full day per week.

    Thank you so very much for your help!

    in reply to: #3967

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    Very elegant solution. I will give it a go tomorrow when the pressure of Monday is no longer leaning on my shoulder. Thank you, once again, for giving your time here to help all of us out.

    in reply to: #3941

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    I will take option B. We only allow one order date to be associated with one sales order and I am asking about, for a single customer, the average amount of days between their orders.

    What I have so far is two created columns:

    Date First Purchase = FIRSTDATE(SalesPerformance[OrderDate])

    Last Order date = LASTDATE(SalesPerformance[OrderDate])

    I am assuming that I can do a simple subtraction to get the difference in days. My concern is for customers without a second order. I will be using product categories on some of my tables to determine repeat buyers for certain products and the average amount of days between orders. How would I account for first time buyers who just purchased? And, is there a better way to do this without creating columns?

    in reply to: #3939

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    Each distinct Sales Order number counts as a purchase with the order date tied to that number whereas multiple invoice numbers and ‘posting dates’ can be associated with a sales order number (aka purchase). Each line on the table is attributed to a line on a sales order.

    My main concern for this calculation is to find customers with multiple sales order numbers and to determine the average number of days between the order date associated with that sales order number. Although, it would be nice to also figure out the number of days since ‘last purchase’ (or only purchase) so that it could be used to determine ‘lost customers.’

    Your help is always appreciated as I learn something new every time we converse. In fact, my last question completely revolutionized how I use PowerQuery.

    in reply to: Need help with a relationship bridge table #3871

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    I would like to keep all MPN’s.  Wondering if I can create a combined MPN table pulling from both sources and removing duplicates in order to bridge them together.

    in reply to: Need help with a relationship bridge table #3835

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    Yes, I would like to keep the records that are listing under blank. Currently around 400 of the records are being lumped into the blank listing.

    in reply to: Need help with a relationship bridge table #3828

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    As I said, the data seems to be a mess.  Every [MPN] has a [Code] on the item table and the MPN table but not every [Code] has an MPN. The [Item #] on the Bid table is an MPN but not ever [Item #] MPN is found on this Item Table or the MPN table as we may not carry every item. The duplicates on the item table occur both as redundant as well as some having slight variations.  The duplicates on the Bid table are frustrating as the MPN is exactly the same but the item description is different as in one MPN might be both for a door lock and for a key but both have different assumed prices and neither are specified on the item table.

    The ID from the Bid table is simply a line marker to assist the team with locating the item on the bid. Its usefulness is limited to formatting alone.

    My MPN table was created in PowerQuery by pulling from the Item table the Code, desc, and MPN to be used as a bridge table between the two.

    I have expanded the MPN to include Code, desc, and MPN and it is working better today. Now I am able to have MPN, Code, and desc as my rows and pull in the necessary quantities and prices I just cannot figure out the best way to handle those falling under blank. The problem is, the quantity is aggregating under ‘blank’ when the item doesn’t exist in the item table and it is not successfully displaying the Item# for those blanks.

    in reply to: Need help with a relationship bridge table #3798

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    Final shot

    Attachments:
    You must be logged in to view attached files.
    in reply to: Need help with a relationship bridge table #3796

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    For some reason I cannot add more than one image.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Determine if blank and count #3764

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    You are absolutely correct!  I am happy to know this was a simple fix. Thank you very much, Tom, for giving so much of your time here in the forum to help those of us still learning the nuances of DAX.

    Kristi

    in reply to: Queries disappeared #3580

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    As an update: I still have not heard from Microsoft on this issue. I still have my data model and it still functions with static data. I cannot refresh as it says I have zero queries in Power Query but in PowerPivot it tells me I cannot access those tables due to them being created in Power Query.

    I cannot work with the connections as they ‘exist’ in PowerQuery which says that they do not exist.

    If any Microsoft folks hang around in here maybe they can dig up my ticket . . .

    in reply to: Queries disappeared #3502

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    I am using 2013 and haven’t had an issue of my PowerPivot Tab disappearing in several months. My data model is also still intact and functioning. I simply cannot refresh queries and the PowerQuery pane shows 0 queries.

    The only error I am getting is a random Linguistic Schema failed to update error which I have not been able to pin down. It comes in the PowerPivot Window when refreshing data.

    While this is frustrating, the DAX I use is used elsewhere in other reports. I can co-opt a different report and change it to suit my needs. Was just hoping to find out what caused this to prevent it from occurring again in the future to a report less adaptable to being rebuilt.

    Thank you for the information on extracting DAX. I will file that away for future use.

    in reply to: Conditional Formatting disappears #2731

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    That was the problem. Update resolved the issue. Thank you for pointing me in that direction!

    in reply to: Conditional Formatting disappears #2729

    KCantor
    Participant
    • Started: 13
    • Replies: 30
    • Total: 43

    I am using PowerPivot in Excel 2013. I am referring to the indicator flags under icon sets in conditional formatting. They initially apply (with the show icon only box checked). As soon as the table expands or collapses, however, the number hidden under the flag is displayed and the flags never come back.

Viewing 15 posts - 16 through 30 (of 30 total)