seed
seed copied to clipboard
Apply labels to the currently selected properties only
When in the inventory list, if you have a label selected and click on the "exclude" button, then the list will update appropriately. However, if you select all visible properties and go to add or remove labels, the changes are applied to the properties with the label that is excluded also.
For example, I have 9 properties total and 4 have the "Compliant" label.
Here's what it looks like when I select the "Compliant" label and click exclude.
Then when I select all and try to apply the "Violation" label, it shows that the changes will be applied to 9 properties instead of 5.
Here's the final version with the "Violation" label applied to all 9 properties.
Note that if a filter group is selected, then you select all properties and apply a label, it works as intended.
Note that it also appears to apply labels to all properties when you select a label and then use the "And" button. So it seems to ignore the filtering of properties by label when applying or removing labels.
The reason that I ran into this was that I was hoping to create Data Quality checks to apply both the compliant and violation labels automatically based off of a derived column that calculates the difference between the target and actual site EUI but that wasn't working correctly for me. Therefore, I tried using the Data Quality checks for applying the compliant label and then using the label filtering and exclude to select and apply the violation label.
Instance: staging SHA: Org: LBNL 505
I don't think this is working quite right yet using EXCLUDE
Here are all my records with their labels
Using AND
- Filter on site EUI Missing -- the correct number of records are displayed
- Add label "Low Energy Star Score -- nothing is displayed, This is correct
- Use labels Compliant and Low Energy Star Score -- just one record is displayed, which is correct
Using OR
- Filter on site EUI Missing -- the correct number of records are displayed, 4
- Add filter for Low Energy Score -- one more record is added
Using EXCLUDE
- Filter on Site EUI Missing -- 10 records are displayed, ie, all the records that don't have that label
- Add filter Low Energy Star Score, which should eliminate the record with that label, but instead, all the records are displayed
@haneslinger -- I think a little bit more work needs to be done on this, unless I am misinterpreting what the program should be doing.
This in not what this ticket is about. This ticket is about applying labels to properties.
"Exclude" excludes only properties with all the labels applied, not just one.
This is working properly.
If I filter by a label, with EXCLUDE chosen, then add another label to those records, only those records get the label applied.