Sailee Govekar
asked on
Conditionally Highlighting Summarized fields in cross tab - Crystal Report
I think since this is related to crosstab, though we can get the Total of rows individually for each column field using getTotalValueFor, we cannot compare the same for different column values (companies in this case).
What version of Crystal are you using?
There are ways to access the column/row values that might work but I won't know until I can try a couple of ideas.
mlmcc
There are ways to access the column/row values that might work but I won't know until I can try a couple of ideas.
mlmcc
ASKER
Hello @mlmcc and @Raghavendra,
I am using Crystal Version SAP BusinessObjects Crystal Reports 2013 Support Pack 4 Version 14.1.4.1327 CR Developer
I tried using highlighting option, but it does not highlights a particular cell background.
As my requirement is to compare the least subtotal.
I am using Crystal Version SAP BusinessObjects Crystal Reports 2013 Support Pack 4 Version 14.1.4.1327 CR Developer
I tried using highlighting option, but it does not highlights a particular cell background.
As my requirement is to compare the least subtotal.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I created a group for suppliers/company and created a formula as given above.
But gives me an error saying "This field cannot be used as a group condition field".
My formula :
NthSmallest (1, {@SubTotal},GroupName ({procPurch_Rpt_AnalysisQu otesBySupp liers;1.Su pplier Name}))
How can I achieve this on a particular part name and supplier name
But gives me an error saying "This field cannot be used as a group condition field".
My formula :
NthSmallest (1, {@SubTotal},GroupName ({procPurch_Rpt_AnalysisQu
How can I achieve this on a particular part name and supplier name
Hi,
Let me clarify this, you need to highlight the total value for smallest subTotal right (6414.06 under Total) right?
If so, the points mentioned in my last post will do.
Or are you looking to highlight minimum of each row (for each part)? I think your original question was for Totals of sub totals comparison.
You need to change your formula as NthSmallest (1, {@SubTotal},{procPurch_Rpt _AnalysisQ uotesBySup pliers;1.S upplier Name})
To answer your question "How can I achieve this on a particular part name and supplier name", if you are looking for Total of Sub Totals for each Company (Fuji Trading Company... etc.), then nothing else is required, no need to check for Parts.
Can you tell me which values refers to Supplier Names in your screenshots? Is it same as Company Names?
Let me clarify this, you need to highlight the total value for smallest subTotal right (6414.06 under Total) right?
If so, the points mentioned in my last post will do.
Or are you looking to highlight minimum of each row (for each part)? I think your original question was for Totals of sub totals comparison.
You need to change your formula as NthSmallest (1, {@SubTotal},{procPurch_Rpt
To answer your question "How can I achieve this on a particular part name and supplier name", if you are looking for Total of Sub Totals for each Company (Fuji Trading Company... etc.), then nothing else is required, no need to check for Parts.
Can you tell me which values refers to Supplier Names in your screenshots? Is it same as Company Names?
ASKER
Let me clarify this, you need to highlight the total value for smallest subTotal right (6414.06 under Total) right?
------------------No, Not the last summarized totals. Only the subtotals. Each cell.
If so, the points mentioned in my last post will do.
------------------Yes. It worked same way.
You need to change your formula as NthSmallest (1, {@SubTotal},{procPurch_Rpt _AnalysisQ uotesBySup pliers;1.S upplier Name})
-----------------Applied this in the formula field, Out put is
then nothing else is required, no need to check for Parts.
-----------------Can you please elaborate?
Can you tell me which values refers to Supplier Names in your screenshots? Is it same as Company Names?
-----------------Supplier name is same Company name
------------------No, Not the last summarized totals. Only the subtotals. Each cell.
If so, the points mentioned in my last post will do.
------------------Yes. It worked same way.
You need to change your formula as NthSmallest (1, {@SubTotal},{procPurch_Rpt
-----------------Applied this in the formula field, Out put is
then nothing else is required, no need to check for Parts.
-----------------Can you please elaborate?
Can you tell me which values refers to Supplier Names in your screenshots? Is it same as Company Names?
-----------------Supplier name is same Company name
Hi,
All the changes suggested in my earlier post were related to highlighting the Total value for Sub Total field.
Is it possible to save the report with data and share? The reason for asking this is I think the formatting with regards to background is not applied correctly and also since the changes are required at each row level instead of just for Total.
All the changes suggested in my earlier post were related to highlighting the Total value for Sub Total field.
Is it possible to save the report with data and share? The reason for asking this is I think the formatting with regards to background is not applied correctly and also since the changes are required at each row level instead of just for Total.
ASKER
Hi
Please Refer this link
https://drive.google.com/open?id=0By-_z66pGEGrS2UzdWJWMjA1NXM
refer Report name : PurchasingExportAnalysisTa bReport2
Formula name will be "test"
Please Refer this link
https://drive.google.com/open?id=0By-_z66pGEGrS2UzdWJWMjA1NXM
refer Report name : PurchasingExportAnalysisTa
Formula name will be "test"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello Raghavendra,
I am really thankful to you for the help. Its what the exact format required.
Working with Cross - tab is sometimes so difficult. Can you please suggest me on can grow functionality w.r.t cross tab. For example, if the data in one cell is large, then it gets trimmed off instead of wrapping it and enlarging of cell.
Even while exporting cross tab to excel it's not the exactly what was designed in the crystal report. Any solution to achieve this?
Once again thank you for the above help :)
-Sailee :)
I am really thankful to you for the help. Its what the exact format required.
Working with Cross - tab is sometimes so difficult. Can you please suggest me on can grow functionality w.r.t cross tab. For example, if the data in one cell is large, then it gets trimmed off instead of wrapping it and enlarging of cell.
Even while exporting cross tab to excel it's not the exactly what was designed in the crystal report. Any solution to achieve this?
Once again thank you for the above help :)
-Sailee :)
Hi,
Glad I could help.
With regards to "Can Grow" option, the feature is not supported for Crosstab fields. You can set the width of a column as per the longest data width it can have. There are workarounds like using a mockup Crosstab, but it has limitations that number of columns shouldn't be dynamic, i.e you need to know beforehand how many columns the crosstab data is going to have as this mockup crosstab will have to be built manually.
And for export option of crosstab, different export options comes with different types of options, if you can elaborate which option you used and how exactly you want the output (with headers, without headers etc.) we can look into the possibilities.
And, if your question is not related to the original question we are discussing in this thread, I would suggest you close this question with proper answer marked as correct and any other helpful ones and create a new question, so that it will be easier to track.
Glad I could help.
With regards to "Can Grow" option, the feature is not supported for Crosstab fields. You can set the width of a column as per the longest data width it can have. There are workarounds like using a mockup Crosstab, but it has limitations that number of columns shouldn't be dynamic, i.e you need to know beforehand how many columns the crosstab data is going to have as this mockup crosstab will have to be built manually.
And for export option of crosstab, different export options comes with different types of options, if you can elaborate which option you used and how exactly you want the output (with headers, without headers etc.) we can look into the possibilities.
And, if your question is not related to the original question we are discussing in this thread, I would suggest you close this question with proper answer marked as correct and any other helpful ones and create a new question, so that it will be easier to track.
ASKER
Hi,
Okay. I will add my question as a new thread.
Thank you once again!
Okay. I will add my question as a new thread.
Thank you once again!
ASKER
Proper explanation and Required output provided
mlmcc