If you are unable to create a new account, please email support@bspsoftware.com

 

Conditionally format crosstab cell based on aggregate values for row

Started by CloseCut, 01 Nov 2022 09:53:36 AM

Previous topic - Next topic

CloseCut

I have a cross tab report that has categories as the rows and the month/year. Additionally, I have the average and std dev for each row.

for instance:






2022-012022-022022-03AVGSTDDEV
electrical10211
mechanical33330
admin17133.46

Now, I am able to format the cells against a static value. For instance, I can set up a conditional format like this:

CellValue () > 2

This will allow me to highlight any crosstab intersection with a value greater than 2.

But I am at a loss on how to get this to work comparing it against the average and/or standard deviation

for instance, the following

CellValue ()>[myQuery].[AVG]

highlights nothing, whereas I would have expected this to highlight any cell above average.

My end goal is to highlight any value that is above 1.645 * standard deviation + average, but I cannot even get a simpler rule to work.