The title of my thread seems simplistic, but I could not put everything in the title :o
So here is my issue, I am building a dashboard within report studio, and i need to build a crosstab that carries the following items:
- Previous Quarter and Current Quarter for the columns
- Group Type for rows
- The measure is an aggregation of 2 data items (Numerator and Denominator). Lets call this Score
- The last column must be a separate aggregation that takes the Current Quarter Score - rating from another query. Lets call this data item Performance
So I am able to build the query for the crosstab to show the Score of both quarters, but I am unable to figure out how to JUST show the
Performance for the Current Quarter rather than for both Quarters.
Below is some code to represent these key data items:
Score = ([Numerator]/[Denominator])*100
Performance = [Score] - caption([qryTargetResult].[Target Rating])
I have tried various methods to capture the value of the Current Quarter and then possibly use that within the aggregation for the Performance so that I can add that as a column to the crosstab..but to no avail!
Anyone have a suggestion for me...I am sure I am missing something here ;D
-------------------------------------------------------------------------------------------------------------------------
I should add that this is an OLAP data source, so attempting to use a UNION was not successful. From what I have been searching, I am trying to use 2 time periods within the same crosstab...the first periods are going to be both the current and previous quarter, and then the 2nd time period will be JUST the current quarter for the aggregated measure!
I hope I have not confused any of you :)
That will work! Thanks.
I also was incorrect with my last reply, in that I could use a UNION to resolve this as well!