Forum Discussion
Excel 2016- Pivot table and Power query
Hi Thank you for the screen shots, however the sheet is not straight foward, i have created a conditional format for the sampling results dependant on value (key within spreadsheet) and have mutliple worksheets, i am trying to show a pivot table that identifes the site, type of sample (quarterly/resample), sample date, quantity of result interretation (and possibly getting the pivot table to match the conditional format in result interpretation.
Thank you in advance
Hi Kaz28EN, thank you for reaching out to the Microsoft Fabric Community Forum.
Please follow below steps:
- Go to Data -> Click Get Data -> From Other Sources -> From Workbook (if pulling from another Excel file). If the data is within the same workbook, select From Table/Range for each sheet.
- In Power Query, go to Home -> Append Queries -> Append as New. Select both tables, click ok.
- Ensure that Date is in Date format, Result Interpretation is numeric, Click ‘Close & Load -> Load’ as a Table in Excel.
- Go to Insert -> Pivot Table -> Select the new consolidated table. Set up the fields.
- Select the Result Interpretation column in the Pivot Table. Go to Home -> Conditional Formatting -> New Rule. Use a formula (According to the need).
- Click Data -> Refresh All whenever new data is added.
Please check the attached document for your reference.
If this helps, please consider marking it 'Accept as Solution' so others with similar queries may find it more easily. If not, please share the details.
Thank you.