Please forgive me in advance for the length of this post, but I’ve been trying to figure this out for over a month, and I need some help!
In the attached sample Excel file (Click here --> BL-16 Report Converter), you will find three tabs, “Original BL-16”, which is the original format that I received the file in, “Merged Data”, which is the database that resulted from my first go round in the power query program, and “Data Form”, which is a sample of what we would like to have as the final report.
Task No. 1: I need to change many of the item names in the CAPTIONS column in the “Merged Data” tab to match others, because there are numerous data items that have the same information, but the names are slightly different. (The BL-16 report is a compilation of billing data from various utility companies.) We want to narrow it down from over 190 variations to approximately 40 names.
Task No. 2: When I transpose the CAPTIONS column, the values that are linked to the headings, come from two different numeric columns. The first is the VALUE column, which has non-monetary values, and the other is the COST column, which has monetary values. The differentiation is indicated in a third column, UNIT column, where the indication is shown by either “dollar” or any other value. My question is, do I need to split the CAPTION column into two calculated columns, and then pivot each of those separately, using their own value column, or is there a way for it to determine which is which when the column heading is split?
Task No. 3: After all is said and done, I need to be able to create a pivot table, similar to that in the “Data Form” tab, using all the aforementioned columns, but only displaying the columns that have data in them when the desired client and 12-month period is selected (using slicers). THANK YOU!
In the attached sample Excel file (Click here --> BL-16 Report Converter), you will find three tabs, “Original BL-16”, which is the original format that I received the file in, “Merged Data”, which is the database that resulted from my first go round in the power query program, and “Data Form”, which is a sample of what we would like to have as the final report.
Task No. 1: I need to change many of the item names in the CAPTIONS column in the “Merged Data” tab to match others, because there are numerous data items that have the same information, but the names are slightly different. (The BL-16 report is a compilation of billing data from various utility companies.) We want to narrow it down from over 190 variations to approximately 40 names.
Task No. 2: When I transpose the CAPTIONS column, the values that are linked to the headings, come from two different numeric columns. The first is the VALUE column, which has non-monetary values, and the other is the COST column, which has monetary values. The differentiation is indicated in a third column, UNIT column, where the indication is shown by either “dollar” or any other value. My question is, do I need to split the CAPTION column into two calculated columns, and then pivot each of those separately, using their own value column, or is there a way for it to determine which is which when the column heading is split?
Task No. 3: After all is said and done, I need to be able to create a pivot table, similar to that in the “Data Form” tab, using all the aforementioned columns, but only displaying the columns that have data in them when the desired client and 12-month period is selected (using slicers). THANK YOU!