Power Query Table Consolidation & Data Validation List Values

amazon_devil

New Member
Joined
Jul 30, 2018
Messages
4
I have a workbook with several sheets. I have a power query that consolidates the values from those disparate sheets into one consolidated view. On each of those sheets is a column "Pass / Fail", and the values of that cell are derived from a dropdown data validation list.

When the query runs however, it is not pulling in the values that are being selected on the individual sheets.

I have tried searching for a solution, but I am either not looking for the right topic or I'm just doing something wrong. The only values it brings in for the column in question is "null".

Power Query:
let
    Source = Excel.CurrentWorkbook(),
    #"Filtered Rows1" = Table.SelectRows(Source, each [Name] <> "Consolidation" and not Text.Contains([Name], "Table")),
    #"Expanded Content1" = Table.ExpandTableColumn(#"Filtered Rows1", "Content", {"Process Area", "Script ID", "Epic", "User Story Title", "Actor", "Test Script", "Variations", "Pre-Conditions", "Expected Result", "Notes", "Tester", "Pass / Fail", "Comments", "Record Hyperlink"}, {"Process Area", "Script ID", "Epic", "User Story Title", "Actor", "Test Script", "Variations", "Pre-Conditions", "Expected Result", "Notes", "Tester", "Pass / Fail", "Comments", "Record Hyperlink"}),
    #"Removed Columns" = Table.RemoveColumns(#"Expanded Content1",{"Name"}),
    #"Changed Type" = Table.TransformColumnTypes(#"Removed Columns",{{"Process Area", type text}, {"Script ID", type text}, {"Epic", type text}, {"User Story Title", type text}, {"Actor", type text}, {"Test Script", type text}, {"Variations", type text}, {"Pre-Conditions", type text}, {"Expected Result", type text}, {"Notes", type text}, {"Tester", type text}, {"Pass / Fail", type text}, {"Comments", type text}, {"Record Hyperlink", type text}})
in
    #"Changed Type"
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Nevermind. I've just found what was happening. Somehow the column header had been changed for the sheet I was looking into. Therefore Power Query couldn't match the column to be able to bring in the data...

*facepalm*
 
Upvote 0
Solution

Forum statistics

Threads
1,223,721
Messages
6,174,091
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top