Rx_
Nothing In Moderation
- Local time
- Today, 07:28
- Joined
- Oct 22, 2009
- Messages
- 2,803
Question: Would a custom function instead of a crosstab be best for this solution?
I can't seem to create a crosstab to meet this need. So maybe a function is in order?
The left side is a View. The Right side is the desired result.
For each ID: if a unique (APD status & Status & Date APD submitted) exist for either state or fed - create a row.
Note Status with blank count as a unique value.
Note blank DT APD Submitted counts as unique
see ID 115 Extension - if multiple (FedStCO & APD_Status & APD_APV & dates) only latest dates (but this does not apply to blank dates). Forcing the blanks to show is required because it shows transistions.
Spent time trying to create a cross tab solution. Probably could have written a function by now. This table largest size will only be 20,000 records (fairly small).
Any suggestions in general or detailed would be appreciated.
I can't seem to create a crosstab to meet this need. So maybe a function is in order?
The left side is a View. The Right side is the desired result.
For each ID: if a unique (APD status & Status & Date APD submitted) exist for either state or fed - create a row.
Note Status with blank count as a unique value.
Note blank DT APD Submitted counts as unique
see ID 115 Extension - if multiple (FedStCO & APD_Status & APD_APV & dates) only latest dates (but this does not apply to blank dates). Forcing the blanks to show is required because it shows transistions.
Spent time trying to create a cross tab solution. Probably could have written a function by now. This table largest size will only be 20,000 records (fairly small).
Any suggestions in general or detailed would be appreciated.
