How to Highlight the Max Value in a Crosstab Row - crystal-reports-xi

I have a crosstab report in Crystal Reports. The rows are trips that are taken throughout the day (eg. trip 1000, trip 1010, trip 1020, etc). The columns are the stops along that trip (eg. Franklin, Hollywood, Sunset, Santa Monica, Melrose, etc.). The summarized value in the crosstab is the average load at each stop. For each row, I'd like to highlight the stop with the highest value, so that the schedulers who use the report can find it easier. any ideas on how to do this?
I searched this site and found someone asking the same question but column-based instead of row-based. I figured I could just adapt that formula for my needs, but one of the functions found in it, 'GetNumColumns' does not register with my version of crystal. how can that be? I have Crystal Reports 11.5
Thanks for your help!

You can use highlighting Expert to change the color of font and background in a crosstab rows.
Just right click on the field and select the highlighting Expert there for the required condition you can apply color for both font and background

Related

Not calculating correct number or refreshing

I am using Google Sheets and have just noticed a very worrying issue.
I have a situation where I have a number (for example 4.99) in the left column and the right column through a series of formulae may come out as 30% or so. I changed the number in the left to 5 and the number is the right column jumped to 50% or so (highly unexpected to see such a large jump for such a small increase, so I decided to investigate). When I typed 4.99 back into the left box, the result in the right was just slightly lower than the 50% or so.
I then checked several other numbers in the left column. It turns out that this was the same for all of them. I.e. the number in the right column was not calculating properly until I changed the number in the left column and pressed enter. How is this possible? I have never had this problem with Excel and I don't know what to do other than to migrate back to Excel as I am now doubting the reliability of all the spreadsheets I have on Google Sheets.
Has anybody else come across this problem?
I managed to figure it out moments after posting this.
In the column for some reason some of the cells were considered numbers and some text. I performed an if statement (<10), which came out FALSE for all cells considered text.
Quite dangerous - surely the cell on the right should show an error and not assume FALSE?

Filter and Query formulas not working properly in Google Sheets

I have a problem with google sheets, where sometimes the filter function (green square) won't work in some rows, always the last ones, but not always the same quantity. Sometimes will load all of them, sometimes none. It doesn't throw an error, just leave blank cells.
Other error is with the query on the blue square, it has no conditions (its just =query(range) cause I want to bring all the data) the problem is what you see on yellow background (the yellow is just a conditional format), there is data to bring on the right, but doesn't load it on the left, it is just weird. Sometimes I load the formula again and it will load more rows, sometimes less rows.
Can you tell me if there is some way to solve it? it is just 150 rows, and I've worked with 1000 or more with these formulas, and over 12000 with query and filter.
Thanks in advance.
The pic:
Solved!
I had activated the iterative calculations on the Spreadsheet for some tests. It appears it limits the capacity of iteration of filter an query formulas.
Now it works like Christmas.
Thanks community

How to create two histograms on one plot with shared axis?

I tried to plot arrival delay and departure delay columns separately, it's clear the distributions are different.
I would like to show them on the same plot, but whenever I try to do so, both plots became one identical shaped distribution although I'm plotting two different columns! What am I doing wrong?
Thank you for your help in advance.
You need a Departure Delay (bin) field. You can create one by selecting Departure Delay in the data pane on the left sidebar and selecting Create bin.
Once you have that new field, you can place it on the Columns shelf next to the other bin field and just put SUM([Number of Records]) on the Rows shelf — getting rid of both CNT() fields.
That should let you see both histograms.
To answer your question about why your previous approach yielded the same chart, you were binning data in both cases by the Arrival delay.
The CNT([xxx]) fields are misleading. That just counts the number of records that have a non-null value in the [xxx] field. If [xxx] always has a value, its equivalent to SUM[Number of Records]). The bin field is what matters.

Fastreport and Delphi Berlin: How to put multiple records fields in one line

I would like to make a master-detail report with fast reports in Delphi Berlin where the detail field date should be printed next to each other in one line. Can someone tell me which property must be set for printing next to each other?
Thanks
ANd here is the result:
You can get a multi-column detail band by setting the Columns property of the band to the number of columns you want instead of the default of one column and providing a ColumnWidth (note: the dark squares on the designer are 1 wide).

sumif function in excel to display percentage based on text

I am attempting to display a progress percentage in a single cell based on the choice of "completion" from a data validation list that spans multiple columns and cells.
I have attached a screen grab that will hopefully better explain. I would like the "Overall status cell (B3) to display the percentage of "Completes" that will track overall progress of requirements.
I have narrowed to a "sumif" function based on research and former templates but cannot achieve the desired result. Any help would be excellent. Thank you in advance.
You would want to do a =(COUNTIF(C5:C100, "Completed")/COUNTA(C5:C100)).
Obviously, you might want to change the range.
E2A: =SUMIF adds numbers together. Because you're looking at Text, you'll want to do a =COUNTIF and =COUNTA.

Resources