"overal";
If(
!IsBlank(Dropdown1.Selected.Result);//fazfiltro = "1";
Sort(
Filter(
colecaotudo;
ID > 1;//not list configuration line
Dropdown1.Selected.Result in Group.Value;
If(
!IsBlank(planned.SelectedDate) && Len(TextInput2.Text) >= 0;
'Planned to' <= planned.SelectedDate + 1 And (TextInput2.Text in Title Or TextInput2.Text in 'Objective(s)' Or TextInput2.Text in Stage.Value Or TextInput2.Text in 'DBS Lead'.DisplayName Or TextInput2.Text in 'Function Lead'.DisplayName Or TextInput2.Text in 'Planned to' Or TextInput2.Text in Function.Value Or TextInput2.Text in Group.Value)
) Or If(
!IsBlank(FunctionLeadFilter.Selected.Result) && Len(TextInput2.Text) >= 0;
FunctionLeadFilter.Selected.Result in 'Function Lead'.DisplayName And (TextInput2.Text in Title Or TextInput2.Text in 'Objective(s)' Or TextInput2.Text in Stage.Value Or TextInput2.Text in 'DBS Lead'.DisplayName Or TextInput2.Text in 'Function Lead'.DisplayName Or TextInput2.Text in 'Planned to' Or TextInput2.Text in Function.Value Or TextInput2.Text in Group.Value)
) Or If(
!IsBlank(Stage.Value) && Len(TextInput2.Text) >= 0;
Stage.Value in StageFilter.Selected.Result And (TextInput2.Text in Title Or TextInput2.Text in 'Objective(s)' Or TextInput2.Text in Stage.Value Or TextInput2.Text in 'DBS Lead'.DisplayName Or TextInput2.Text in 'Function Lead'.DisplayName Or TextInput2.Text in 'Planned to' Or TextInput2.Text in Function.Value Or TextInput2.Text in Group.Value)
) Or If(
!IsBlank(DBSLeadFilter.Selected.Result) && Len(TextInput2.Text) >= 0;
DBSLeadFilter.Selected.Result in 'DBS Lead'.DisplayName And (TextInput2.Text in Title Or TextInput2.Text in 'Objective(s)' Or TextInput2.Text in Stage.Value Or TextInput2.Text in 'DBS Lead'.DisplayName Or TextInput2.Text in 'Function Lead'.DisplayName Or TextInput2.Text in 'Planned to' Or TextInput2.Text in Function.Value Or TextInput2.Text in Group.Value)
) Or If(
!IsBlank(Function.Value) && Len(TextInput2.Text) >= 0;
Function.Value in FunctionFilter.Selected.Result And (TextInput2.Text in Title Or TextInput2.Text in 'Objective(s)' Or TextInput2.Text in Stage.Value Or TextInput2.Text in 'DBS Lead'.DisplayName Or TextInput2.Text in 'Function Lead'.DisplayName Or TextInput2.Text in 'Planned to' Or TextInput2.Text in Function.Value Or TextInput2.Text in Group.Value)
)
);
Overal.Value;
sortdirection
);
Sort(
Filter(
colecaotudo;
ID > 1;//not list configuration line
//Group.Value = filtragrupo;
If(
Len(TextInput2.Text) >= 0;
TextInput2.Text in Title Or TextInput2.Text in 'Objective(s)' Or TextInput2.Text in Stage.Value Or TextInput2.Text in 'DBS Lead'.DisplayName Or TextInput2.Text in 'Function Lead'.DisplayName Or TextInput2.Text in 'Planned to' Or TextInput2.Text in Function.Value Or TextInput2.Text in Group.Value
)
);
Overal.Value;
sortdirection
)
)
My Overal possible values is "Green" "Yelow" "Red"
what i want is order my datatable on this column and in a click of the button1 firstly in this order "Green" "Yelow" "Red"
second click "Yelow" "Green" "Red"
third click "Red""Yelow" "Green"
to simplify i want do sort a column in a personalized order, not only asc or desc. i want put on firstly the records with z and after asc.
how i do this?