Graphical Bars Based On Matrix Reports
Hi All. Can any help in explaining the possibility of drawing graphical charts at the end of a matrix based report. i have a report that shows comparisons between transactions amounts in multi currencies between number of customers
You need to post this in the reports Forum.
and your question cannot be answered in 1 post.
anyways.
what version of developer you are using?
if 6 you need to use graphic builder or use the wizard available in report builder.
graphic builder is more flexible.
Tony
Similar Messages
-
SSRS Matrix report to show or hide year column based on parameter value "Date" selected.
Hey experts!
I have a requirement an ssrs matrix report should display columns (year/s) based on parameter value (date/s).
My Dataset fileds are: Product, Year_name, Month_name, Date
Currently my report output looks like this-
Param Date: 2013-08-01 00:00:0.000
Product +Calender2011 +Calender2012 -Calender 2013........ +Calender2014
Total
Total Jan13 Feb 13 Mar13.. Dec13 Total Total
Abc 100
220
10 20 30....... 20 250 400
Xyz 110
200 50 80 40....... 30 450 600
My requirement: if I'm selecting Date parameter value as '2013-xx-xx' I should only able to see Year column 'Calender2013' and rest of the years should hide. Similarly If I'm selecting Date parameter value as '2014-xx-xx' I should only able to
see Year column 'Calender2014' .
Appreciate your kindly help.
AfanHi Afan,
According to your description, you want to only show the selected year on your report, right?
In this case, you need to get the year from the date parameter using the expression below
=Year(Parameters!Date.Value)
And then use the expression below to get the year from Year_Name field.
=Right(Fields!Year_Name.Value,4)
Then add a filter to the dataset to filter the data like below
Expression:=Year(Parameters!Date.Value)
Operator:=
Value:=Right(Fields!Year_Name.Value,4)
Reference
http://msdn.microsoft.com/en-IN/library/dd255287.aspx
If you have any questions, please feel free to ask.
Regards,
Charlie Liao
TechNet Community Support -
SSRS 2005 - Dynamically control the width of columns in Matrix report or Hide any column
Hi All,
I just want to hide some column without having white space in Matrix report in SSRS 2005. Although I am aware of that perhaps this feature is not available on SSRS 2005. So, I just want to know if we can handle the width of column dynamically(using expressions)
in matrix report?
Please help. Thanks in Advance.
Regards
KumudHi Kumud,
Based on my test, SSRS is not support column dynamically width. It has property “CanGrow” of text box. If we configure the property to True, it will wraps to next line if needed. In SSRS 2008, we can hide some columns without white space. If possible, I
recommend you update your SSRS 2005 to SSRS 2008.
There is a similar issue, you can refer to it.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/9e6043f1-c458-4540-be59-d37b02feab8a/dynamic-column-width-for-a-report?forum=sqlreportingservices
Alternatively, I recommend you that submit a wish to the Microsoft Connect at
https://connect.microsoft.com/SQLServer/Feedback. Your feedback is valuable for us to improve our products and increase the level of service provided.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
How to add a function field into the existing matrix report
Hi,
I have a matrix report , now i wanted to add one moe field into the matrix which is getting the value from a function , this function is a part of the ref cursor query(group) , i'm able to get the value from the function but it cannot display on the existing matrix report. i wanted to add this in the repeating frame which is printing down. how could i do this , looking for your help. thanks . bcjHere the scenario like,
Data from Table_1
NAME UNITS DAYS RATE
AAA 10 1 1.2
BBB 12 2 3.1
AAA 20 2 4.1
CCC 23 1 5.2
Here, In the matrix report the NAME and UNITS are row fields and 'DAYS' is column field , RATE would be the cell field, and
Data from Table_2 ,
NAME BASIC
AAA 2
AAA 2
BBB 2
CCC 3
In the report i have to display the 'BASIC' along with the NAME in row level ( repeating frame printing down),
To get the multiple 'Basic' for each 'Name' using a ref cursor .
and, using a function to do further calculation based on the basic value
begin
select basic into v_basic where name =:name;
return(caluculated_value);
end;
and return the calculated value to the report. But at that time cannot accommodate the value in the matrix report with other groups frequency.
looking for your valuable help. Thanks Bcj -
How to create a matrix report on Apex 4.1
Hi all.
I need to create a report similar to this one:
Jan Feb Mar .....
Product Category
Category One 999 999 999
Category Two 999 999 999
On a reporting tool like Oracle Reports, this is call a matrix report which can be easily created: just one simple query , select a matrix report type, compute summary values for row /column and grand total, and that is.
How would one implement this on Apex 4.1???
Have a couple of ideas:
- Populate temporary table with columns corresponding to month.
- Create a procedure that return a collection and use that as a source for report.
- Etc.
What other options do i have ...?
Thanks in advance ...!Hi all,
I did create a matrix report using the pivot function and some interesting settings in APEX. So far it is only does display data. I did not find a way yet(?) to alter the data in the same matrix.
The data is based on a simple set of tables about planning. The end result does look something like the matrix below. Note: the dashes are just there to make the matrix look like a matrix on this forum.
Resource 13-08 20-08 27-08 03-09 10-09 17-09 24-09
Angelo-----25-----22-----12-----10------------------------
John---------8-----22-----36-----22------------------------
Marit-----------------5-----40-----36-----24-----12-----10
The resources (Angelo, John and Marit) are being registered in the following table:
CREATE TABLE EVP_RESOURCES
RSS_ID NUMBER(10,0) NOT NULL,
NAME VARCHAR2(25 BYTE) NOT NULL
The date periods (13-08 till 24-09) are being registered in the next table:
CREATE TABLE EVP_DATA_POINTS
DPT_ID NUMBER(10,0) NOT NULL,
DATA_POINT_DATE DATE NOT NULL,
V_DATA_POINT_DATE_FORMATED VARCHAR2(75 BYTE) GENERATED ALWAYS AS (TO_CHAR("DATA_POINT_DATE",'dd-mm')) VIRTUAL VISIBLE
The virtual column (v_data_point_date_formated) is not needed. You can use this virtual column or format the column in multiple places.
The available units are being registered in the intersection table below:
CREATE TABLE EVP_RESOURCE_PLANNING
RPG_ID NUMBER(10,0) NOT NULL,
DPT_ID NUMBER(10,0) NOT NULL,
RSS_ID NUMBER(10,0) NOT NULL,
UNITS NUMBER(10,0)
The data is being displayed in APEX in a report region of type "SQL Query (PL/SQL function body returning SQL query)". And the following option has to be switched on "Use Generic Column Names (parse query at runtime only)".
This does give a restriction on the number of columns which can be used. You can however change the number of columns in the field "Maximum number of generic report columns:" to a high number. So in most cases this is no issue at all.
In the Region Source I did put the following code:
begin
return 'select *
from ( select rss.name "Resource"
, v_data_point_date_formated
, rpg.units
from evp_resources rss
, evp_data_points dpt
, evp_resource_planning rpg
where rpg.dpt_id = dpt.dpt_id
and rpg.rss_id = rss.rss_id
pivot (sum(units) for v_data_point_date_formated in (' ||
evp_pkg_dpm.f_dynamic_pivot_in ||
order by 1';
end;
The function evp_pkg_dpm.f_dynamic_pivot_in does return a string which is based on the number of rows in the table evp_data_points. In my case this string is: '13-08' as "13-08",'20-08' as "20-08",'27-08' as "27-08",'03-09' as "03-09",'10-09' as "10-09",'17-09' as "17-09",'24-09' as "24-09". If you ommit the 'as "..."' you do get quotes in your headings.
Enjoy and regards,
Jurgen
PS: let me know if something is missing or not clear!
Edited by: user553427 on Aug 17, 2012 5:46 AM (Query has been made more simple and I build up the header differently) -
Hello, Expert,
Could you please help me with the following problem? Thanks in advance!
I have designed the matrix report (SSRS 2012) with database table structure looks like below.
Week
Version
Count
Week1
V1.1
4000
Week1
V1.2
4000
Week1
V1.3
4000
Week2
V1.1
3000
Week2
V1.2
3000
Week2
V1.3
3000
Week3
V1.1
2000
Week3
V1.2
2000
Week3
V1.3
2000
Week4
V1.1
1000
Week4
V1.2
1000
Week4
V1.3
1000
The matrix report displays like below. Column grows based on no of Week in the table.
Week1
Week2
Week3
Week4
V1.1
4000
3000
2000
1000
V1.2
4000
3000
2000
1000
V1.3
4000
3000
2000
1000
What I want to do now is: instead of the Count values, I need to calculate the percentage of each week over the
Count in Week1 so that each cell displays Count(Week2)/Count(Week1), Count(Week3)/Count(Week1), etc. What is the SSRS expression for that? I’m new to SSRS, Please help!Heidi,
Thank you so much for your reply and solution! Now I know how to get the first field in a group. But I can't apply your solution directly just yet because in order to explain my problem I simplified my data structure. My real data structure has a nested
group like this:
Week VersionMajor VersionMinor Count
Week1 V1 V1.1 2000
Week2 V1 V1.1 1500
Week3 V1 V1.1 800
Week1 V1 V1.2 1000
Week2 V1 V1.2 500
Week3 V1 V1.2 200
Week1 V1 V1.1 2000
Week2 V1 V1.1 1500
Week3 V1 V1.1 800
Week1 V1 V1.2 1000
Week2 V1 V1.2 500
Week3 V1 V1.2 200
Here is the query for the above data:
SELECT 'Week1' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 2000 AS Count
UNION ALL
SELECT 'Week2' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 1500 AS Count
UNION ALL
SELECT 'Week3' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 800 AS Count
UNION ALL
SELECT 'Week1' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 1000 AS Count
UNION ALL
SELECT 'Week2' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 500 AS Count
UNION ALL
SELECT 'Week3' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 200 AS Count
UNION ALL
SELECT 'Week1' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 2000 AS Count
UNION ALL
SELECT 'Week2' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 1500 AS Count
UNION ALL
SELECT 'Week3' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 800 AS Count
UNION ALL
SELECT 'Week1' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 1000 AS Count
UNION ALL
SELECT 'Week2' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 500 AS Count
UNION ALL
SELECT 'Week3' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 200 AS Count
And my matrix table looks like this:
What I need to do is to calculate the percentage of each week over week1 for
1) V1 Total
2) V1.1
3) V1.2
I can't use your solution directly because I need to apply Sum function for each cell and the Sum function gives me error when I try to use it on the denominator
First(Fields!Count.Value,"VersionMinor"). If you could help me further to get to the final solution, I'd really appreciate it!!
Happy New Year! -
How to calculate difference and percentage in matrix report dynamic columns in SSRS 2008
Hi Friends,
I need to calculate Difference and Percentage In matrix report SSRS 2008
1) Row grouping based On Product
2) Column Grouping Week and Fiscal Year Current week and Previous Year same Weeks
3)Data Invnetory(Value fileld)
Example:
If value1 and Value2 Available we need to calculate Percentage and Difference.Otherwise Not required NA I need to Show.
For example If Particular week,Current year data is available,Previous year week data is not available No
need to cal Diff and Percentage we need to show Empty.
Below Code is working for If two values is available.
If any one of the fiscal year week data is not there it's taking some garbage values.
I tries with If condition in GetPCT() and GetDiff() It's not working.
Can some one please help me on this.
I am using the custom code
Public Shared Value1 as String
Public Shared Value2 as String
Public Shared previous as string
Public Shared previousweek as string
Public Shared Function GetValue(Value as String,partner as String,Week as String) as String
If partner =previous and Week =previousweek Then
Value2=Value
Else
previous=partner
previousweek=Week
Value1=Value
End If
return Value
End Function
Public Shared Function GetDiff()
return Value2-Value1
End Function
Public Shared Function GetPct()
return (Value2-Value1)/Value1
End Function
How to handle this.
Thank You, Manasa.VHi veerapaneni,
According to your description, if one of the fiscal year week doesn’t have data, the custom code returns false results.
For your requirement, if NULL value exists in the database, we should replace it as zero then perform calculate. So within the code, we should judge whether the value is NULL. To achieve your goal, please refer to the steps below:
1. Create a table like below.
create table dif4
([Product Group] varchar(50),
[Week] varchar(50),
[Fiscalyearweek] varchar(50),
value int
insert into dif4 values
('Desktops','W01','FY14W01',0),
('Desktops','W01','FY15W01',45),
('Desktops','W02','FY14W02',null),
('Desktops','W02','FY15W02',30),
('Desktops','W03','FY14W03',12),
('Desktops','W03','FY15W03',50),
('Notebooks','W01','FY14W01',35),
('Notebooks','W01','FY15W01',56),
('Notebooks','W02','FY14W02',45),
('Notebooks','W02','FY15W02',87),
('Notebooks','W03','FY14W03',75),
('Notebooks','W03','FY15W03',105),
('Tablets','W01','FY14W01',34),
('Tablets','W01','FY15W01',46),
('Tablets','W02','FY14W02',49),
('Tablets','W02','FY15W02',96),
('Tablets','W03','FY14W03',42),
('Tablets','W03','FY15W03',113)
2. Add the custom code in the Report Properties.
Public Shared Value1 as Integer
Public Shared Value2 as Integer
Public Shared previous as string
Public Shared previousweek as string
Public Shared Function GetValue(Value as Integer,product as String,Week as String) as Integer
If Value=Nothing Then
Value=0
End If
If product =previous and Week =previousweek Then
Value2=Value
Else
previous=product
previousweek=Week
Value1=Value
End If
return Value
End Function
Public Shared Function GetPct()
If Value1=0 Then
return 0
Else
return (Value2-Value1)/Value1
End If
End Function
Public Shared Function GetDiff()
return Value2-Value1
End Function
3. Design the matrix like below.
4. Then get the expected results.<o:p></o:p>
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
Need Help : Matrix Report
Hi Everyone,
I Followed the steps in the link [http://docs.oracle.com/html/B13895_01/orbr_matrix.htm] to create a matrix report, In the above link they used only one table EMP to create the matrix report, but my requirment is based on two table i have to create this matrix report.
This is my sample code,
SELECT e.DEPTNO, e.JOB, SUM(SAL),d.loc
FROM EMP e,dept d
where e.DEPTNO = d.DEPTNO(+)
GROUP BY e.DEPTNO, e.JOB,d.loc
ORDER BY e.DEPTNO, e.JOBand i need layout like below
---------------------------------------------ANALYST---------CLERK---------MANAGER---------PRESIDENT---------SALESMEN---------LOCATION---------
---------10------------------------------------0.00------------1300.00---------2450.00------------5000.00--------------0.00--------------NEWYORK---------
---------20-------------------------------6000.00------------1900.00---------2975.00-----------------0.00--------------0.00--------------DALLAS-------------
---------30------------------------------------0.00--------------950.00---------2850.00----------------0.00----------5600.00--------------CHICAGO-----------
Can anyone help me in this,
Brgds,
SriGDear ,
In Matrix Report , There are 2 or more then 2 Repeating frames , As report in going out of page u may have to set the Left to Right Repeating Frame
Sajid -
Hi,
I have a table with the following attributes : item, location, value. I want to create a matrix report with items on columns, locations as headers and in the middle the correspondent values: the report should look like this:
item loc1 loc2 loc3
1234 200 300
2456 25 12
456 12 15 16
I know how to do the matrix report(I use a view based on the table) but my question is related to a performance problem. As the view contains a lot of data (more than 2mil. records), my question is how the matrix report is being build( I need to know if it does a self-join with the same view to build it, as this might take a long time to generate the report).
In case I use a parameter for location(for example I want to generate a matrix report but only for loc1) it will take a long time as well?
ThanksTry to avoid too much of regrouping in layout, have your xml structure in desired format. Also try enabling scalable mode
-
Row column group hiding in matrix report
Hi ,
I need to hide the repeated rows in matrix report,in below with red rounded (4%,4%) is coming twice for single resource.
I need to show only one 4% for this resource.How to do this in matric report.
thanks
bhupesh.rthose rows are not duplicates as far as SSRS is concerned as date values for them are different. So you need to change the logic at your backend query to return one out of these two records. Logic you alone can come up with as we dont know your business
rules, neither your tables and you've not posted anything barring a report screenshot.
Alternatively, if you want our help on this post your backend tables with some sample data and explain your rules for getting the required output.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Hi everyone, thanks in advance. I have a matrix report that should be in delimited format and the should be in .TXT, a restriction that we have due to having a UNIX-based server but should be opened in Excel. The report should also be called in Oracle Forms since it should be part of the batch reports. How can this be executed properly? I tried doing this but the result in excel is way too different from the screen output.
Screen Output Example
Dname ACCOUNTING RESEARCH SALES
Empno Sal Sal Sal
7369 800
4589 400
7890 2000 3000
4909 230 60
7890 20
Delimited Output (opened in Excel) Example
Dname
Empno Sal
7369 RESEARCH 800
4589 ACCOUNTING 400
7890 RESEARCH 2000
7890 SALES 3000
7909 ACCOUNTING 230
7909 SALES 60
7890 ACCOUNTING 20
How should i do the report to get the exact format it has on screen on the delimited text file opened in excel. Thank you very much in advance. I am using Oracle 10g Devsuite and Database.
Edited by: user8290673 on Jan 27, 2009 5:40 AMIt might have things to do with your Excel configuration. I tested it and got the "same display/values" in 6i and 10g Reports. Check the output text file.
-
Dear members
I am using reports 6 and oracle 9i. I am trying to create a matrix report in which i want to show products as rows and dates as columns. Dates should be fixed 7 days any from to dates given by user. I have used two tables prd_plan_m and product_code. I want to show plan_no and plan_qty based on product_code and date. I want to show all the products as rows whether it has plan or not and 7 days columns shows as heading weather in this there is any plan or not.
For this reason i have made this query.
SELECT ALL p.code,pkg_prod.get_prod_name(p.code)prod_name,pkg_prod.get_prod_qty(p.code)prod_qty,P.PLAN_ID, P.PLAN_DESC, a.dates,
P.PLAN_QTY, P.UNIT_ID, P.REMARKS
FROM PRD_PLAN_M P ,(select rownum - 1 + to_date('20-jul-08', 'dd-mon-rrrr') dates
from all_objects
where rownum < to_date('26-jul-08', 'dd-mon-rrrr') -
to_date('20-jul-08', 'dd-mon-rrrr') + 2)a
where P.PLAN_DATE(+) = A.DATES
UNION
SELECT E.P_CODE,E.PROD_NAME,E.PROD_QTY,null,null,null,null,null,null FROM PROD_CODE E
But this query shows duplicates rows. suppose one product_code in prd_plan_m has plan_qty shows one row and the row from product_code table also show the same row which have no plan qty.
Help me in this regard.
I will be very thankful to you .
thanks and regardsThanks for reply. But this query is also produce the same results see bellow output.
CODE PROD_NAME PROD_QTY PLAN_ID PLAN_DESC DATES PLAN_QTY UNIT_ID REMARKS
0101 MOUNTAIN DEW 225 ML NR
0201 PEPSI MAX 240 ML
0301 PEPSI 250 ML P0001L01 TEST PLANE-01 7/21/2008 20000 1 test
0301 PEPSI 250 ML
0302 MOUNTAIN DEW 250 ML P0005L02 NEW ENTRY 7/26/2008 20000 TEST
0302 MOUNTAIN DEW 250 ML
Code 0301 and 0302 are repeated. But they should be shown only once. Please help me to resolve this problem.
thanks & regards -
How To Get Row numbers in matrix report
Hi All
i created an matrix dril down report
in which i have to get row numbers
my requirement is something like
state City RowNumber
Apr May
Jun Jul Aug
AP + Vij
1 300000
5666
Guntur
2 70000
8888
Hyd
3 0000
555
MP+ RJA
4 7770
0
KL+ Kollam
5 80000
555
Trv 6
50000 666
SP+ Trj
7 666
666
JP+ mka
8 6667
66668
RP+ Rja
9 899
like that above i have to get
i used RowNumber(Nothing) And Also RowNumber("Group")
iam not getting like above iam getting either randomly or sum of all months
means for each month it is taking 1
so total iam getting 12,24,36,48..................like that
but i want the above requirement
so any one suggest how get that in matrix report..........Hi Mr.SMK,
Per my understanding you want to get the row number based on the row group of "City", right?
I have tested on my local environment and you can using the expression below to do this:
Right click the city column and select the "Insert Column" and select the "Inside group-right"
Add below expression to get the row number:
=RunningValue(CountDistinct("DataSetName"),Count,"DataSetName")
Preview result like below:
If you still have any problem, please try to provide some sample data and more details information.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
How to calculate percentage and difference of two values in matrix report in ssrs 2008
Hi everyone,
DB--SQL server
SSRS-2008
I am creating matrix report with grouping on WEEK and Fiscalyearweek,
I need to calculate of difference between FY14W01,FY15W01 ande percentage of those..
how to calculate in ssrs level.
Thank You, Manasa.VHi veerapaneni,
According to your description, you want to calculated the increment percentage and difference between two fiscal year week within each week. Right?
In this scenario, since we need to do calculation based on values between dynamically generated cells, we can't simply use expression to achieve this goal. In this scenario, we need to use custom code to record the value for fiscal 14 and fiscal 15, then
we can calculate the difference and percentage within the column group. We have tested your case in our local environment, please refer to the steps and screenshots below:
1. Add the custom code below into the report (you may need to modify the data type based on your scenario:
Public Shared Value1 as Integer
Public Shared Value2 as Integer
Public Shared previous as string
Public Shared previousweek as string
Public Shared Function GetValue(Value as Integer,product as String,Week as String) as Integer
If product =previous and Week =previousweek Then
Value2=Value
Else
previous=product
previousweek=Week
Value1=Value
End If
return Value
End Function
Public Shared Function GetPct()
return (Value2-Value1)/Value1
End Function
Public Shared Function GetDiff()
return Value2-Value1
End Function
2. Design the matrix like below:
3. The result look like below:
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
REP-1510 error in matrix report
Hi,
In my matrix report,I need to calculate a column based on the formula columns in other matirx groups.I know the reason for this error.(Formula column in one group should be based on the values in the same group).
But I dnt know how to arrive at the solution without getting data from different groups.
Please suggest me any solution.
Thanks.What do you mean by "calculate a column based on formula columns in other matrix groups"? Do you want to sum them up? Do the columns have a 1 to 1 ratio with their rows? Can you try to describe your data model better. My hands are tied without knowing the bigger picture.
Maybe you are looking for
-
Hello, and thanks in advance for any help. Also, my apologies if these issues have been previously resolved; I've spent 2 days searching for answers and none of my effort has resulted in a solution, either here or elsewhere. I very recently for th
-
Photoshop CS4 Extended Crashes Since Updating Acrobat to 9.3
I have CS4 Web Premium. When I save a document in pdf format from Photoshop(PS) CS4, it normally opens the saved document in Acrobat 9.x. Up until yesterday, when I installed the Acrobat 9.3 update, the results have always been to have then have the
-
I keep receiving a trust certificate error about imap.aol server. Says it may be the result of an imposter or the "real" aol imap server? How do you determine if the trust certificate is for an imposter?
-
I'm trying to send simple .jpg files to client. She's on a PC and this is what she tells me: "I use the insert picutre from file to get it into the document, on publisher it needs to be done this way to get the right text box to fit. The result is at
-
Hi all, We have a huge design jobs which was done in Indesign, Pdf's which we have creted from Indesign will be comment enabled and send it to client for commenting purpose. Client Message: Acrobat would freeze up when working with certain documents