In PowerBI there is a nifty trick where you can pivot or unpivot your data in the Query Editor. This saves you from having to do this in SQL or which ever source you are using for your data.
There are just 4 simple clicks to pivot your data!
First you need to select the column you want to pivot in the Query Editor, in our case being the Month column:
Next you select the Transform tab at the top and select Pivot Column:
Next you need to select what the values are, in this case its the Users column and click OK:
Then your data will be displayed as pivoted by Month as shown below:
Hope this makes your pivoting needs easier in the future!
The constant line feature in PowerBI seems to be one of those hidden little gems. Lets say you have an SLA with a customer of the amount of downtime allowed on the system and you want to show on a graph once they have gone above this downtime threshold, you can add a constant line to your chart.
In my example below I set the constant line to 1000 and anything above that is great for the purpose of this chart.
To set a constant line, plot your graph, then on the right hand side, select what looks like a magnify glass. This will only show if you have the graph selected.
Then your constant line shall appear on your graph in the colour and density you set it to.
Hope this little gem helps you out in the future!
Ever wondered how to create a heat map in PowerBI without having to use a custom visual? There is now a simple way to do this by using Conditional Formatting on a Matrix table!
In my example I took some Google Analytics data showing the times of the day and amount of visitors in that time.
Then plot the values on the Matrix table
Next we go and do some conditional formatting in the pane on the right hand side in PowerBI
Now we can change the colours we want to use by Selecting Advanced Controls
You will see that the table has turned into a heat map table using the conditional formatting with the colours you chose. As you can see below the highest value is pink and the lowest value is a light green and a gradient between the colours as the numbers range.
Just like that we have a heat map table with one simple step!
Every month PowerBI releases new features. Some of the features are in preview mode and unless you turn it on you don’t get to use the preview features. This post explains how to turn them on.
Firstly you need to have the latest version of PowerBI to get the latest features. You can download it here.
Next you go to File > Options and Settings > Options
Then select Preview Features and select the preview features you want to use.
You will then be prompted to restart PowerBI in order for the preview features to be available.
Once restarted you will have your preview features available and if they are visuals you will see them appear on the right hand pane. For example we can now see Python in the visualizations pane.
PowerBI has this great functionality where you can go and download preset layouts which make your PowerBI reports stand out more. There is a nice trick to doing this yourself.
You can create layouts in PowerPoint and then save them as images. Then insert them into your PowerBI report as an image and send the image right to the back.
Here are the steps to go about doing this:
Open up PowerPoint, select Design on the ribbon and then select edit background. You can then change the gradient in the panel on the right hand side.
Next you insert shapes, set the fill to white and the shape effect to shadow centre:
Then design your shapes on your PowerPoint slide and create the layout you want:
Now that you have your layout, we need this to be an image, you simply save this slide as an image:
Then select “Just this one”
Now your layout is saved as an image. Next is to import it into PowerBI.
Open up PowerBI and select Image to import it:
Go to where you saved the image of the PowerPoint slide, select it and click open:
Then resize the image to cover the entire PowerBI page and set the scaling to fill on the right hand side:
Now that the image is in we want to make sure it is right at the back. Select send to back:
And now you have an awesome layout to go and place your data on!
Dear PowerBI Rangers,
Welcome back from all 4 day weeks in April. For this get together we will be doing some catch up with all that has happened in the last two months:
• Quick update on the official PUG site and a call to register on there.
• Power BI desktop new features – April Overview
• Power BI service new features – April Overview
• Power Bi Service – New Navigation
• Quick Measures
• Power BI data-set connector
• Power BI desktop new features – May Overview
PS – cash bar available as usual.
Looking forward to seeing you all there!
Good Day Professionals!
This month’s agenda is as follows:
Interactive and Informal (please bring your questions and/or feel free to contribute to the discussion. The best way to learn is from each other)
Challenges and guidelines for introducing Power BI into your analytics organisation.
Are you still stuck in the chasm between “spreadmarts” and traditional BI? Did you think that business analytics tools like Power BI would make the pain go away?
We will chat about challenges and guidelines around the following- data culture- data organistion and roles- self-service lifecycle- data architecture
Toufiq has been practising data alchemy for more than 2 decades. He has a passion for turning data into business value using the Microsoft data platform. He is an untiring advocate of the durability of data design principles and processes which has survived technology evolution and the migration from on-premises to cloud.
We look forward to seeing you there.
The IntelliCape Team
Good day Professionals!
We are back from the festive season and ready to jump right back into the fire!
We’ve created a little PowerBI Dashboard so you can see information on the next meetup as well as a twitter account to help keep everyone up to date.
This month’s session is entitled : TOM and the CUBE
In this session we will look at using c# to create a tabular data model using TOM (Tabular Object Model).
We will investigate
• Defining a new Tabular Model
• Defining Columns and Hierarchies
• Defining Tables and Relationships
We will then hopefully deploy and process the new tabular model.
As usual please RSVP and tell your friends.
We look forward to seeing you there!
The IntelliCape Team