Excel Data Analytics

Sir, I want to know about getpivotdata() in excel.
It is confusing how to get exact data from the pivot table. (using this function)