Sorting through pivot table data based on user input

nathanpere

New Member
Joined
Sep 14, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello everyone

I have a pivot table that sorts data based on the date, the goal is to make this more user-friendly so that other people can use it. The pivot data I'm using is outsourced from PowerBI so I don't want to adjust it.

Basically, the date filter for the pivot table sorts the date in the format "yyyymmdd" e.g. "20230915 = 15 September 2023.

There is also 5 sets of data, 2 of which require the last working day, 2 will need to have the date 2 days ago and 1 will need to have the date 3 days ago.

So right now the only way to update the data is to change 5 inputs and use this "yyyymmdd" format.

How can I make it so that there are just 3 user-input fields (last working day, two days ago, three days ago) with the format "dd/mm/yyy" and these change the pivot data filter to the corresponding date in "yyyymmdd" format?

Any help is appreciated

Thank you!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi, Nathan. Welcome to the forum!

Based on the above criteria, please see the following screenshot of the data presented with 3 User inputs with the "dd/mm/yyyy" format.
The Pivot Table requires the Last Work day, 2 days ago, & 3 days ago Columns to be Ungrouped for the format change, as noted on the Right-Click Menu included.

Let us know if you require any additional information.
1694799516947.png
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,956
Members
449,096
Latest member
Anshu121

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