This question is going to be really difficult to describe, but I will try anyway.
I am trying to get a unit count for each facility, the problem is that bc we filter by time and different facilities can gain units over time, I can not just have one row per facility, I have a row for each month. That being said I need it to pull the unit count just from the final row available per facility.
Image 1: This is the graph I am trying to get to work
Image 2: How the data categories are set up the name column represents each facility. I will refer to the name column as the facility column going forward
Image 3: Data categories cont. (Ignore occupancy columns).
I need to pull just one units value per facility category, I tried setting it to average, but it takes the average for the whole state which is wrong. There are typically 3 or 4 facilities per state. I need the state name to be states or the card doesnt work.
Image 4: Here you can see the discrepancy, the unit count by state should always equal the units gauge. But I can not figure out how to get the state value to only pull one value per facility, while being able to keep the state name to the states.