Hi @Sarah Sims ,
You need to modify one line of your code to show two levels of grouping as follows.
"txtContent": "=if(@group.columnDisplayName == 'Modified By', 'Modified By', '@group.fieldData')"
Among them, I used the 'Modified By' column instead of your 'Assigned To' column for testing, you can replace it at any time.
==================Update
Display the specific name: You need to add the following code segment and modify the content in the above "txtContent".
{
"elmType": "span",
"txtContent": "=@group.fieldData.title",
"attributes": {
"title": "=@group.fieldData.title",
"class": "ms-fontWeight-semibold"
},
"style": {
"padding-left": "5px"
}
},
"txtContent": "=if(@group.columnDisplayName == 'Modified By', '@group.filedData.title', '@group.fieldData')"
The result is displayed as follows:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.