Solved

PerformancePoint Frequency Grouping by Number Range

Posted on 2013-11-05
1
300 Views
Last Modified: 2013-11-08
Hello,

I have a graph I want to put together where I have items with a value for number of days before due date.

On the Y axis in PerformancePoint, I want the count for number of items. On the X axis, I want groups, 0-10 days, 11-20 days, and 21-30 days. The items would then fall into one of the groups based on the value that exists in the data for number of days until due date. That is already captured in the database.

How can I use PerformancePoint to create those set values? I think it would be similar to date grouping; I just need numeric grouping in my case.

Thanks!
Joseph Irvine
0
Comment
Question by:jkeagle13
1 Comment
 
LVL 11

Accepted Solution

by:
Louis01 earned 500 total points
ID: 39626530
Create the grouped data in a View in SQL Server and then create a connection from Dashboard Designer to a SQL Server table (this view) by using PerformancePoint Services.

Create View with grouped data Example:
--Setup a dummy tabel with data
DECLARE @myTable TABLE (ID int, DaysTillDueDate int, Value int);
insert into @myTable values (1, 1, 1);
insert into @myTable values (2, 2, 2);
insert into @myTable values (3, 3, 3);
insert into @myTable values (5, 5, 4);
insert into @myTable values (6, 10, 5);
insert into @myTable values (7, 11, 6);
insert into @myTable values (8, 12, 7);
insert into @myTable values (9, 20, 8);
insert into @myTable values (10, 21, 9);
insert into @myTable values (11, 22, 10);

--SQL grouping data for View Body example
select CONVERT(varchar,CONVERT(INT,t1.DaysTillDueDate/10)*10) + '-' + CONVERT(varchar,CONVERT(INT,t1.DaysTillDueDate/10)*10 + 10)  as DayGroups
	 , SUM(Value) as SumValues
  from @myTable t1
 group by CONVERT(varchar,CONVERT(INT,t1.DaysTillDueDate/10)*10) + '-' + CONVERT(varchar,CONVERT(INT,t1.DaysTillDueDate/10)*10 + 10)
  
  
--Example of creating a View
IF object_id(N'<schema_name, sysname, dbo>.<view_name, sysname, Top10Sales>', 'V') IS NOT NULL
	DROP VIEW <schema_name, sysname, dbo>.<view_name, sysname, Top10Sales>
GO

CREATE VIEW <schema_name, sysname, dbo>.<view_name, sysname, Top10Sales> AS  
<SQL for View Body>

Open in new window

0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now