How is Data "Analysis" different from plain reporting : AKA Synopsis writing

When we send out reports. We are more often than not in “URGENT” mode. Unless or until mentioned we never send any insights to the person who requested the report/analysis. It may be a very “SMALL” step to write your “UNDERTANDINGS” as synopsis, but doing it consistently has three benefits.

1. You will know what is the report saying and hence understand the business
2. You are virtually doing a self QC.
3. You are creating a “BRAND” for yourself with some important insights/actions that you share.
4. When writing synopsis, you be bold. You are NOT writing it to please the other person. Clearly mention what you speak in mind.

Now the big Question you guys have is. We are looking at this data from long time. What new can I see now. That’s when you come out your report and try to co-relate other aspects of business. 

Remember writing synopsis will improve your Professional value, IMPROVE your personal accuracy and self-satisfaction. Trust me when I say this. It’s a very intensive activity but it is one of the best teachers you can get.

Is there a free database solution?

 Yes. Oracle Database XE is free for fall and supports a database of 12GB. Its is easy to install and hassle free experience.

Oracle Database XE can be download from: https://www.oracle.com/in/database/technologies/appdev/xe.html

During setup you are required to enter few admin passwords. Ensure you remember them. These are required to interact with the database at a later point of time. 

Now once you have installed the Oracle XE database how to query data or load data?

For this you need a front end application. In this case you can use Oracle SQL developer which can be download from this link depending the you machine's architecture: https://www.oracle.com/tools/downloads/sqldev-downloads.html

Once you have installed SQL developer. Add a connection using the top left green plus button. Below screen will appear. Name the connection as you require. in the ROLE adjacent to username box choose SYSDBA.


Enter Username as "SYS" and the password you have configured during setup of XE. Hostname, port and SID should be entered as per below and you should be connected to your XE database

ROLLUP function: How to get sub total row in a Oracle SQL query as output

 In oracle SQL query when you query for any data, the output is table of columns and rows selected. But there is not total added at the bottom.

How to add a total at the bottom and also how to add a sub-total for each change of value in a specific column.

select fruits, city, sum(price) from fruits_table group by rollup (fruits,city)

In the above example the table a total will be added to FRUITS level and also a sub-total will be added at each change in CITY.

However, there is catch. If there is more than one dimension (in the above example FRUITS & CITY) then you should sort the table by CITY and Fruits so that the sub-totals appear in order. Below the updated version of the example query with ordering.

select fruits, city, sum(price) from fruits_table group by rollup (fruits,city) order by city,fruits

Thanks for visiting. If you have any questions reach out to me directly at askme.kkhelps@gmail.com

How to unhide all the hidden sheets at once - Microsoft Excel

 When working with big dashboards we hide lots of backend sheets so that final dashboard is clean.

The easy part if hiding multiple sheets, this can be done easily. But how to you unhide all sheets or specific sheets.

Below code will help you unhide all the sheets. hit Alt+F11. Go to Insert Menu -> "Module" and enter the below code.

Sub UnhideAllSheets()

'Unhide all sheets in workbook.
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
ws.Visible = xlSheetVisible
Next ws
End Sub

But what if only few sheets needs to be unhidden. In these cases use the below code which will prompt you before unhiding a hide until the last hidden sheet.

Sub UnhideFewSheets()

'Unhide all sheets in workbook.
Dim ws As Worksheet
Dim question As VbMegBoxResult
For Each ws In ActiveWorkbook.Worksheets
If ws.Visible = xlSheetHidden then
Question = Msgbox("Do you want to Unhide" & ws.Name &"?", vbYesNo, "Sheets will be unhidden")

If Question = vbYes then ws.Visible = xlSheetVisible
End If

Next
End Sub

Thanks for visiting. If you have any questions reach out to me directly at askme.kkhelps@gmail.com

How to get contents from a Hidden sheet in a Protected workbook - Microsoft Excel

 When you have a Excel file which is protected and you have forgotten the password.

Now how do you retrieve the content from the hidden sheet?

There is a simple technique but the requirement is you should know the sheet name of hidden sheet or you VBA environment should not be password protected.

Lets assume the hidden sheet name is 'Sheet2'. To retrieve only the content from this sheet, all you have to do is write a A1 cell reference formula in a visible sheet like below. Now drag this to right and down as much as needed. Voila! you have the data from hidden sheet in front of you.

If you do not know the sheet name. Then hit Alt+F11, on the top left side you will see all the sheets of the current workbook. Based on your needs you can get the data from a hidden worksheet.

Again, this tip is not intended to be used in illegal ways but only in cases it is desperate need and there is no other option.

Thanks for visiting. If you have any questions reach out to me directly at askme.kkhelps@gmail.com