Hi every one !
my solution
Hi @JarrettM
I just share the PBIX file and a link to online version.
The solution is relatively straightforward with a simple filter for the relevant invoice lines and then unpivoting the original aging groups to get all amounts in one column.
Note: The file to the csv would need to be updated.
Welcome to the forum â great to have you here! Nice way to debut, with good solution in Problem of the Week.
Hope to see you as a regular on these problems.
â Brian
What crazed mind would ever have thought that was a useful way for an accounting package to present data! Before Power Query I donât know what youâd be expected to do with it - but PQ had it licked into shape without too much difficulty:
Enterprise DNA Problem of the Week #6 .pbix (3.8 MB)
Have a good weekend,
Chris
Whatâs even worse is that somebody else looked at that mess and said âhey, nice approach â Iâm going to use that tooâ, since apparently QuickBooks uses a very similar export formatâŚ
â Brian
All,
Hereâs my solution.
Problem of the Week #6 BrianJ Solution.pbix (61.1 KB)
While I definitely could/should have been more efficient in the second half âcleanupâ phase, the main thing I wanted to demonstrate was the âFeldmann Shiftâ, done to get the Names column to align properly with the Record # column. Once I accomplished that, the rest of the exercise was very straightford - just some basic UI cleanup commands.
Usually, the Feldmann Shift is used to gain the prior or subsquent value in Power Query, but it also can be used to shift specific columns up or down by a specified # of rows to align the data, as I did here. This is the second time in a month this technique has proven critical (the first was the COVID dashboard in DC #11, where we used it to convert the Hopkins data from daily cumulative to daily marginal, making the rest of the analysis MUCH easier). Definitely a technique worth putting in your tool belt.
Thanks to @JarrettM for a very cool and practical problem.
Hi Everyone,
Attached is my submission.
File: POTW 6 - Final.pbix (3.8 MB)
Approach I took:
First, I realized that this can be done entirely without using the Advanced Editor. So the steps included:
Thanks for your entry, but have another look at your Balance total. The Balance total should be $685,616.33. Donât worry though, there have been numerous entries with the same mistake. I will definitely cover what is causing this in my wrap up video.
Thanks
Jarrett
Here is my solution for Problem of the week #6
It was a fun challenge that needed the use of the main data cleansing steps. It was very useful practice.
The main problem I had was getting to the right totals. I could not understand why the total was not correct and had to double check all the steps.
Thank you @JarrettM for preparing this weekâs POTW
Best regards,
Alex
Enterprise DNA Problem of the Week #6 Alex Badiu.pbix (3.8 MB)
Devastated⌠I blasted through the problem in under 10 minutes only to discover that the balance was 1.05 out.
âC:\Users\craig\OneDrive\10.03.2016\Power BI 2020\eDNA Problem of the Week\Problem #6\Craig Enterprise DNA Problem of the Week #6.pbixâ
Solution provided via email by Elvir MujkiÄ.
Thanks Brian⌠Iâm not too devastated to be honest⌠I thought there would have to be some catch to the Problem, judging by the time it took to complete⌠Iâm still laughing at myself for the approach I took concerning Customer Name & Key, though⌠I split the Customer Name and Key almost immediately and filled the Customer Key down then got annoyed that I couldnât do the same with Customer Name so I copied the query, deleted all of the columns except for Name and Key and then merged the two queries⌠truly bizarre⌠Anyhow, I await Jarretâs solution with baited breatheâŚ
Solution provided via email by Matteo Arellano.
In attachment, the PowerBI solution and the Excel file with the data table with all power query steps listed.
Jarrett ARData.xlsx (49.8 KB) Enterprise DNA Problem of the Week #6 (3).pbix (3.8 MB)
Solution provided via email by Drew Weaver.
Enterprise DNA Problem of the Week #6 - SOLVED.pbix (3.2 MB)