Re: How to create function the priority level in a list
Hi - you can try the following solution, which works on a SharePoint List data source.
Text pasted below also - looks a lot less intimidating without the comments

Pasted text also:
With(
{SelectedPriority: ThisItem.Priority},
Patch(
'TEST Priority Seq',
ThisItem,
{
Priority: 0,
Status: {Value: Self.Selected.Value}
}
);
UpdateIf(
'TEST Priority Seq',
Priority <> 0 && Priority > SelectedPriority,
{Priority: Priority - 1}
)
)
Hope this helps - good luck!