Solved

PerformancePoint Frequency Grouping by Number Range

Posted on 2013-11-05
1
302 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

911 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

16 Experts available now in Live!

Get 1:1 Help Now