Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Counting a grouped max row value based on another column

$
0
0
I'm using BOXI R3.1
I'm trying to get a count of the max LOC within each Claim#.
The LOC field is calculated based on the Proc Code field.
Here is the sample data.
RegionMemberClaim#ProcCodeLOC
CentralA101123450-MSE
CentralA101234560-MSE
CentralA101345674-Life
CentralA101456780-MSE
CentralA102567890-MSE
CentralA102678900-MSE
CentralA102789012-Mid
CentralB201890120-MSE
CentralB201901231-Low
I can identify the Max LOC for each claim number using Max([LOC]) In ([Claim#])
What I need to do is then get a count of that Max([LOC]) In ([Claim#])
by Region and Member
RegionMember0-MSE1-Low2-Mid3-High4-Life
CentralA00101
CentralB01000
But what I keep getting is:
RegionMember4-Life
CentralA2
CentralB1

Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>