Showing posts with label Excel. Show all posts
Showing posts with label Excel. Show all posts

Wednesday, October 25, 2017

Using a Map in MS EXCEL is very easy

Excel provides excellent, easy-to-use MAP element that can be inserted into an Excel spreadsheet. It is easily accessed from the Insert menu item as shown. Of course your data must have geographical data.


Let us get some data into a work sheet. Click create Data and use the option to get from the Web. Let us use some data from Wikipedia which in turn shows data from Indian census. Let us use the Basic option.


Click OK.


You will get the next window that you are accessing the web content anonymously.

Click Connect. The connector starts connecting to the Demographics_of_India source.


When the connection succeeds you can access a bunch of data that comes into the Navigator pane of  a pop-up window as shown.


There is a wealth of data to be analyzed in the Navigator. We just choose the one shown, ‘Population between age 0-6 by state/union territory. This displays the data in the Table View pane as shown above.

Click Load to load the data into your Excel application in Sheet 1 as shown.


Excel has this nice feature of displaying the Recommended charts as you begin to insert a chart. It also shows how to do it as shown next. When you choose the whole data and try to bring in a Map, you will sent to BING (map provider) because BING  has the right map to provide and of course you need to accept their terms. When you accept, Map of the World comes up which now focuses on India as shown in the next window.


Note that it has already added the Min and Max values of the data. Clicking any particular map region shows the data for that region.


Now you can pretty up the map with all sorts of details using the Chart Elements.


Don't you think that was easy as 1-2-3?







Tuesday, April 4, 2017

Creating a report using SQL Server Mobile Report Publisher

It is relatively easy to create reports using the SQL Server Mobile Report Publisher. You can source your data from two kinds of data sources, all though more sources  may be added in future versions:

Excel.xlsx files
Reporting Services Web Portal

In this post I will be considering getting data from an Excel file.

If you have used Power BI before, it is even more easier as the UI follows some of the same ideas.
In order to follow this you must install the SQL Server Mobile Report Publisher (SSMRP). You may follow these earlier posts 1, 2  to install SSMRP.

Kindly follow the screen shots that steps you through the procedure to create a simple report.

You launch the SSMRP from its shortcut in All programs.

By default it opens displaying the Layout tabbed page.


The toolbar has Layout, Data, Settings and Preview. I have parked it in Data that is what I am going to do first.



Click on Add data to get some data into the UI. You have two options, Excel and Report Server.


This time around I will be using data from an Excel file.   I will be using the same file I used in several of my recent posts 1, 2, 3. However, I opened the .csv file in Excel and saved it as a file with the .xslx extension. You start browsing for the file in your hard disk.


FFDL.xslx is the file that is found while browsing.


Click Import at the bottom of the UI after placing a check mark for the FFDL file a shown above to bring data in as shown.


 This  sample data is from Northwind database on my SQL Server.
Click on the Settings icon on the FFDL file at the bottom if you need to remove/export etc. as shown.



Now click on Layout and you get a number of rectangles on the right onto which you can bring a chart from a variety of charts under Layout. You can reduce the columns or rows of rectangles using the vertical and horizontal scroll controls at the top


Herein, I just dragged and dropped a bar chart on to one of the rectangles.


When you click on this chart it enlarges as shown.


Obviously this chart does not reflect our data as the year axis is all wrong.

Go back by clicking on the back arrow at the top which will take you back to Layout. Now click on Data.


As you can see the chart at present is relevant to a Simulated table. Click on the handle for Main Series to display the following:


Click on FFDL. You should be seeing this displayed.


After changing to Avg click on Preview. Click on the small icon for report to zoom it up to full window.

You can change quite a lot of other things, like adding category; adding  a report title and some of these can be done in the Settings and some in the Layout items.

When you target a smaller foot print device  using the dropdown in Layout shown here:

You will see the following:


Oops! That did not work. I wonder what the problem is. I went back to Master and it is still OK. Next I try changing to Tablet and the data does not show. Something is broken! Is it possible that the last nights OS update did this? I wonder.

I apologize for not getting it all done in one go (it took me 4 or 5 attempts to post this). I have a serious browser problem that I have not been able to address yet. Review here for my browser problems.



















Tuesday, June 4, 2013

Hekaton becomes SQL Server 2014

Blocking and Locking will be a thing of the past

In-memory OLTP Processing:
SQL Server 2014 (former codename Hekaton) has built-in, in-memory capability for OLTP Transactions with not so expensive hardware requirements. The release date of SQL Server 2014 was annonuced at its TechEd conference in New Orleans this week.

The ink is still fresh on my new book, Learning SQL Server Reporting Services 2012 and Microsoft has announced another version already. Well, Microsoft is known for its relentless offerings. Transactions can be disk/memory based which does not require expensive boxes and with this feature Microsoft tries to distinguish itself from the likes of SAP Hana (Oracle Database with its Exadata and Exalytics). The performance is very fast but only 50 times faster but not Hekaton faster (Hekaton means 100!!!).

In-memory Business Intelligence:
This is already a reality. Look at the terrific features of Power View. You can go two ways with Power View: Power Pivot via EXCEL or Tabular Model with SSAS.

Get a jump start from scratch on your acquaintance  with Power Views with my forthcoming book,
Learning SQL Server Reporting Services 2012
http://hodentek.blogspot.com/2013/05/some-details-of-my-book-on-sql-server.html


Read more on SQL Server 2014 here->

http://blogs.technet.com/b/dataplatforminsider/archive/2013/06/03/sql-server-2014-unlocking-real-time-insights.aspx
http://searchsqlserver.techtarget.com/news/2240185188/SQL-Server-2014-due-out-in-late-2013-in-memory-OLTP-a-big-feature
http://www.techweb.com/news/240062566/microsoft-in-memory-move-challenges-sap- tiwht wyaoracle.html.

When Identity Security Becomes a Wall — Not a Shield

After a breach that forced a reset of my digital identity, I hit a roadblock I never anticipated: multi-factor authentication (2FA) locked m...