devxlogo

October 16, 2017

Excel Pivot Table ??? Replace blank values with a predefined text

Excel Pivot Tables are a great way to summarize statuses and aggregate data.  However, with any kind of data that you aggregate you will see blanks at times. There are cases, where you would like to universally replace all blank values in Pivot table with an alternate value. Right-click on the Pivot table. Select the ???Pivot table options???. Under ???Layout and Format – Format??? there is an option that lets you replace empty cells value with your own predefined value. Enter a value there, and the Pivot table would use that in all blank places.

Replay a XHR request in Chrome

If you want to replay a XHR request, you can do that very easily in chrome. Right-click on the selected request and choose the ???Replay XHR??? option, and the browser will issue that request. You can see the replayed request at the bottom of the all captured requests.

Preserve Log in Chrome???s developer tools when you reload the page

When you refresh a page in the Chrome browser during any troubleshooting, you would have realized that the logs are being cleared for every page reload. To override this, you can check the ???Preserve Log??? box under the ???Network??? tab in Developer tools.  It retains all the requests across page reloads, until you clear them manually or close the page.

Performance Measurements with String Class Usage

The new keyword definitely consumes more time when compared to direct initializing the value to a String object. The following illustrates the time consumed by both the mechanisms. These values