562 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owls only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
How to create absolute and relative KPIs in SSAS Tabular Part three of a three-part series of blogs |
---|
You can create key performance indicators (KPIs) within Analysis Services Tabular, but there a couple of foibles that you need to be aware of, as shown by this blog.
This blog is part of our online SSAS Tabular tutorial; we also offer lots of other Analysis Services training resources. |
Instead of aiming to hit another measure, you can set a numerical target or an absolute KPI. This is most useful when you want a ratio to be as large (or small) as possible.
We'll solve the relative KPI problem shown in the previous part of this blog by targeting the percentage ratio between this period's sales and sales for the same period last year:
Percent of last year:=IFERROR(
sum([Quantity]) /
CALCULATE(
SUM('Transaction'[Quantity]),
SAMEPERIODLASTYEAR('Calendar'[Date])
),BLANK())
That is, divide this period's sales by the total quantity for the same period in the previous year (if this generates a divide by zero error because there is no previous year, show a blank instead).
Having created the measure above, you can then turn it into a KPI:
Right-click on the measure and choose to create a KPI.
Complete the dialog box which appears as below by following the numbered steps:
The numbered steps are explained in more detail below.
The steps to follow are:
Step | What to do |
---|---|
1 | Choose to target an absolute value of 100% (which you have to type in as 1). |
2 | Specify thresholds when the icon colours will change from red to amber to green, either by typing into the miniature text boxes or by clicking and dragging on the black handles. |
3 | Choose what sort of target you want (here we're going for the highest ratio we can). |
4 | Choose the icon set you'd like to see, while recognising that you'll get the one on the left whatever you choose! |
You can now create a pivot table based upon this model in the same way as for a relative KPI (see the previous part of this blog), with one exception:
There's no point (as here) choosing to show the Goal, because it will always be the same!
If you display the goal as above, this column will lack variety:
The goal is the same for every single row!
And with that you've come to the end of this blog on creating KPIs within SSAS Tabular.
Parts of this blog |
---|
|
Some other pages relevant to the above blogs include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2023. All Rights Reserved.