wesleycrusher
Technical User
I am trying to create a one page summary to show ranges of efficiencies for gas heaters. Here's a sample data set:
FlowRate GasType Effy
2.5 propane .72
2.4 natural .71
2.6 both .70
3.5 both .78
3.7 natural .77
I am grouping the results on a range of flow rates and want to display the associated range of efficiencies for each gas type. The report prints flow rate range, then natural gas efficiency range, then propane gas efficiency range.
I can successfully list the range of efficiencies without regard for fuel type by inserting a summary that gives min efficiency and placing a summary of max efficiency next to it. However, I just can't find a way to separate the fuel types. The problem I'm having is finding a way to include the efficiency in both the min/max results of propane and natural when it is listed in the database as both.
I don't think group selection formulas are the answer b/c it would filter out data I need to include. I've also tried this SQL statement and inserted it into the flow rate group footer (wehre everything is placed) but it returns the minimum efficiency regardless of the flow rate range grouping.
(SELECT MIN(energy_factor)
FROM directory_rwh
WHERE"directory_rwh"."gas_type" = 'natural' OR "directory_rwh"."gas_type" = 'both')
Any help is greatly appreciated. TY.
FlowRate GasType Effy
2.5 propane .72
2.4 natural .71
2.6 both .70
3.5 both .78
3.7 natural .77
I am grouping the results on a range of flow rates and want to display the associated range of efficiencies for each gas type. The report prints flow rate range, then natural gas efficiency range, then propane gas efficiency range.
I can successfully list the range of efficiencies without regard for fuel type by inserting a summary that gives min efficiency and placing a summary of max efficiency next to it. However, I just can't find a way to separate the fuel types. The problem I'm having is finding a way to include the efficiency in both the min/max results of propane and natural when it is listed in the database as both.
I don't think group selection formulas are the answer b/c it would filter out data I need to include. I've also tried this SQL statement and inserted it into the flow rate group footer (wehre everything is placed) but it returns the minimum efficiency regardless of the flow rate range grouping.
(SELECT MIN(energy_factor)
FROM directory_rwh
WHERE"directory_rwh"."gas_type" = 'natural' OR "directory_rwh"."gas_type" = 'both')
Any help is greatly appreciated. TY.