Power Query Refresh Problems

The_Game

New Member
Joined
Mar 27, 2015
Messages
31
I have a power query table that shows all my assets due throughout the year. At some point the PQ stopped working, even when I manually input dates into the fields. The Refresh button macro still works but I'm not sure if its updating. If assets due in 4th Qtr are updated to somewhere in the 2nd, the asset remains where its at instead of deleting from 4th and appearing in the 2nd. Each Quarter is its own PQ, if I'm not mistaken, but I'm not sure how to fix as someone else built the query. Below is the function used in the query with this formula in each "Steps applied": Source, Change Type, Removed Columns, Filtered Rows, Sorted Rows:

let
Source = Excel.CurrentWorkbook(){[Name="Pod_DB"]}[Content],
#"Changed Type" = Table.TransformColumnTypes(Source,{{"POD", Int64.Type}, {"Location", type text}, {"PMI Due", type datetime}, {"Stat", type text}, {"TCN", type text}, {"Column1", type text}, {"Pod Notes", type text}, {"Location Notes", type text}, {"Settings", type text}, {"SSPA", type text}, {"CND Counter", type any}}),
#"Removed Columns" = Table.RemoveColumns(#"Changed Type",{"Stat", "TCN", "Column1", "Pod Notes", "Location Notes", "Settings", "SSPA", "CND Counter"}),
#"Filtered Rows" = Table.SelectRows(#"Removed Columns", each Date.QuarterOfYear([PMI Due]) = 1),
#"Sorted Rows" = Table.Sort(#"Filtered Rows",{{"PMI Due", Order.Ascending}})
in
#"Sorted Rows"

Thank you and please let me know if you need more info!
 

Attachments

  • PowerTableResult.PNG
    PowerTableResult.PNG
    153.1 KB · Views: 9
  • 1587147734048.png
    1587147734048.png
    224.4 KB · Views: 8

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,223,794
Messages
6,174,643
Members
452,575
Latest member
Fstick546

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