Monday, May 27, 2019

My Microsoft MVP Award

At the beginning of this month, I received an email from #microsoft telling me that I have received the Most Valuable Professional (MVP Award). #mvpbuzz

Following that in the 2nd week, I received my MVP Award Gift package!

I believe that this award is for my contribution to the community in Microsoft technologies.

I never thought that my passion for sharing my knowledge would end up receiving this award one day. I would like to thank the Almighty for all the support in my life. I would like to thank my husband, my parents and 2 lovely daughters without whose support, this would not have happened.

I would like to thank @reza and @leila  for believing in me and nominating me.

Finally I would like to thank all the visitors to my blog posts, attendees of my various presentations, webinars and conferences.





Monday, April 15, 2019

My presentation materials for the power bi virtual days webinar

@powerbidays thanks for the opportunity to present at the virtual conference yesterday. My topic was 'Sentiment Analysis Using Cognitive Services in Power BI'.
Below is the link to presentation material and json code on github.
https://github.com/indupriya9/PowerBIDays-April-2019


Here is a link to the webinar on the same topic I did on PASS Marathon that you can use to follow my demo

https://www.youtube.com/watch?v=Trtrgy59vSw&feature=youtu.be 

Wednesday, March 27, 2019

Global AI Night

I’ll be lucky enough to be part of the team hosting the 1st Global AI Night at the Auckland Microsoft Offices Auckland with the amazing team of Auckland Artificial Intelligence User Group.  The Global AI Night is a free evening event organized by local communities all over the world that are passionate about Artificial Intelligence on the Microsoft Azure.

You can register at https://www.meetup.com/meetup-group-LyenJaPw/events/259373751/

#GlobalAINight  #GlobalAIBootcamp


Thursday, March 21, 2019

My first webinar session in PASS Marathon


My session from the hashtag#passmarathon this morning is here.  The topic is Sentiment Analysis using Cognitive Services in Power BI.


You can download the slides from this link beforehand
https://lnkd.in/gXSAmav

I will post the link to the webinar as soon as it is available,


Saturday, February 23, 2019

My Presentation for SQL Saturday Wellington 2019

Had a really great time presenting at hashtag#sqlsatwellington last Saturday on the topic Top 10 tips every hashtag#PowerBI Developer should know.
Had really great questions from the audience. as well.

You can download the presentation from here

Thanks to Anupama Natarajan Phil Seamark and Dave Dustin for this opportunity.

Thursday, February 07, 2019

Tutorial -- Steps to upgrade Power BI Report Server

This is a tutorial detailing step by step process to upgrade Power BI Report Server to Power BI Report Server January 2019

Before you begin the actual Upgrade you need to take the following backups

  1. Backup your encryption keys
  2. Backup your databases.
  3. Backup config files needed
  4. Backup powerbi files


1 -   So how do you back up the encryption keys:


  • Go to Reporting Services Configuration Manager from the Microsoft Power BI Report Server option as shown below


  • Click on Yes when you are prompted by the below screen.




  • Connect to the PBIRS instance when prompted as shown below



  • Click on the Encryption Keys and Backup button as shown below




  • Choose the file to backup the keys along with the passwords as shown below




2-   Backup your Power BI databases

The next step is to back up the databases -- PBISReportServer and PBISReportServerTempDB:

Follow the below steps to do this


  • Login to SSMS and right click on the PBISReportServer database and choose -- Tasks -- Backup 
  • Add the file name to indicate the location of backup as shown below and click ok





3-   Backup the configuration settings

  • Navigate to the folder (C:\Program Files\Microsoft Power BI Report Server\PBIRS\RSHostingService)  and copy the files named config.json , RSHostingService.exe.config to a backup folder
  • Navigate to the folder C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer and copy the files Rsreportserver.config, Rssvrpolicy.config and Web.config to a backup folder
  • Navigate to the folder C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer\bin and copy the files Reportingservicesservice.exe.config to a backup folder
  • Navigate to the folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config and copy the files Web.config and Machine.config files to a backup folder.  These files are for ASP.NET application


4-   Backup Power BI files from the servers


  • There are many ways to do this.  One of the easiest way is to go the repository and download each file.
  • To do this, navigate to the repository usually if you are doing this on the Power BI Server the location will be something like http://localhost/pbireports 
  • Click on the ellipse of each of the reports.  A small menu opens as shown below.  Click on the download to download the file 


Now the backup process is complete
Now you can begin the upgrade process

UPGRADE Power BI Report Server


  • Download the latest version of the Power BI Report Server available from this link This link consists of 3 files as shown below.  Choose the appropriate files for download.



  • Double click on the PowerBIRS installer and choose Upgrade Power BI Report Server as shown below

  • The installer prompts with User Access dialog as shown below.  Click Yes

  • The installer comes up with the security and privacy declaration.  Tick the I Agree checkbox and click Upgrade as shown below.

  • The installer begins to upgrade existing files and installs the necessary files as shown below

  • After the upgrade process is complete, the following screen shows up.

  • Click on the Configure Report Server from the above screen
  • The next step is to restore the encryption keys that you have backedup.
  • To do this click on the Encryption Keys and Restore button as shown below

  • Choose the saved backup file from the screen below and click OK

  • After the keys are restored you get the below result

  • Next click on the PBIDesktop.exe installer and install the Power BI Desktop for Report Server.  This is report authoring tool for building power bi files that you can publish on to the report server. 
  • Next step is to restart the server to complete the process.
  • So now you can navigate to the PowerBI repository location and access your Power BI files.

  • If you have any issues accessing the data from the existing files on the power bi report server interface, try to open the file in the new Power BI Desktop for RS and republish the report to the server. 



Thursday, January 10, 2019

Create a New Partition on existing multi-dimensional SSAS cube.

Below is a process that I follow every year to create a partition in existing multi-dimensional SSAS cubes that I maintain.


  • Log in to the SQL Server Analysis Services server using SQL server Management Studio as shown below.




  • Expand the Databases by clicking on the + sign.  Choose the database you want to create the partition for.  
  • Expand the Cubes  and expand the Cube that you want to partition. Expand the MeasureGroup and expand the Measure Groups – You can see the Partitions folder there.  Expand the Partitions folder to see the existing partitions as shown below.




  • Right Click on the Partitions folder and click on New Partition as shown below:




  • Partitions wizard opens as shown below.  Click on Next



  • Choose the MeasureGroup and table as shown below.  You must choose at least one table to proceed further. 



  • Click Next



  • You need to restrict rows in this partition by providing a query.  Tick the specify a query to restrict rows in the below screen.  




  • Make sure your query selects rows that are included only in this partition.  I usually use the where condition that selects data in a year.  
  • For example select * from [dbo].[cubeExample]  WHERE LEFT([DateKey],4) = '2019'  This query gives data only for 2019.


Click on Check after providing the query to validate the syntax as shown below.


  • If the Syntax check was successful, you will get a success message as shown below.




  • If the Syntax Check was not successful, it gives an error.  An example error is shown below.




  • Fix the error and recheck the Syntax.  Click Next.  you may be asked for  a UserName and Password as shown below.


  • Choose Your Processing Location and Storage Location as shown below and click Next





  • Choose the Name of the partition on the Next screen and also the Aggregation options as shown below and then click Finish






Tips that I learnt:

  1. Ensure that you take a backup of the Cube database before creating the partition.
  2. Ensure that you have the permissions to create the Partitions.  Also ensure that the username you use is a generic username and not your own username 
  3. Ensure that you have a look at the query for the previous partitions.  Best approach is to copy the query for the partition for the previous year and use that as a starting point.

My Microsoft MVP Award

At the beginning of this month, I received an email from #microsoft telling me that I have received the Most Valuable Professional (MVP Awa...