In the attached file I recorded a macro to create pivot table
existing sheet is data
Then i added calculated column in data model in manage data model
Then again recorded macro to work on pivot table
The adding of calculated column is not recorded so i need VBA code to add column in data model
existing sheet is data
Then i added calculated column in data model in manage data model
Then again recorded macro to work on pivot table
The adding of calculated column is not recorded so i need VBA code to add column in data model