I have a table which i am grouping credit scores into the following:
RunID is what the case id is stored in, and for this table has been set to distinct_count
What i want to do is create a calculated field which works out the percentage of cases in each credit quality. I understand that for each credit quality, do the distinct_count of cases in that group divided by total cases, but not sure on how to calculate and insert into this table.
You can calculate the numerator as a LAC at credit quality level, something like
distinctCountOver(RunID,[credit_quality],PRE_AGG)
And for the denominator you would need to calculate total which remains constant for each credit quality row. This should be something like
distinctCountOver(RunID,,PRE_AGG)
Hi @HarveyB-B,
Since we haven’t heard back, I’ll go ahead and close out this topic. However, if you have any additional questions, feel free to create a new topic in the community and link this discussion for relevant information if needed.