Warning messages:
1: In read_fun(path = enc2native(normalizePath(path)), sheet_i = sheet, :
Expecting numeric in D4 / R4C4: got a date
2: In read_fun(path = enc2native(normalizePath(path)), sheet_i = sheet, :
Expecting numeric in E4 / R4C5: got a date
I'm a little perplexed by your question. You say you're using rpivottable and you're tagged your question as dplyr... only your code example contains nothing from either package. Are you using readxl possibly for the read_excel function? Or are you getting that somewhere else?
If I stretch my imagination and assume you're using readxl, then why don't you share an example of your excel data here. I hate to sound sarcastic, but do you have a date in the middle of your numeric data, possibly? The error would lead one to think that might be the case. Have you checked?
Please find below sample data ,The file is having two headers and started from 3rd row in file and the date column is present in 3rd row and 4-Feb column is present in 4th row as well as filter condition using in 3rd row. pleas advise how can I achieve this
Are you asking if you can read values from a pivot table in a sheet in Excel? Yes. But it will not recalculate. readxl will just read the values into R.
If you want help with that you'll need to provide example of your data as it exists in the spreadsheet, the code you're using to pull the data, and how the data is showing up in R.