Thats Great i just sorted out that with your above suggestion and some other missing stuffs,
but yea @v-siky-msft
Im stuck here in this major situation where i need to see my gallery items only which has Full Name as that's the single record you can in image below but also want to show status but that's not single its repeated , is there a way to only update status only once? as this is updated when the flow runs behind, and when the approver approves this also updates all other records in the same Full name. which is the reason my gallery is looking like this.
Do you have any solution or suggestion to this?
Please see the screen shots below and formula
on Items property of Gallary:
SortByColumns(
Filter(
'Petty Cash & GL Code',
// here we are saying that the status variable must be "All",
// which will then not filter any items, or else the status must match the variable
StatusResult="All" || Status = StatusResult & 'Full Name',
// here we are saying, the textbox text is a blank or else it must
// additionally filter the above by EmployeeName based on the Textbox Text
SearchBox.Text = "" || StartsWith('Full Name', SearchBox.Text) ),
"Title",
If(SortDescending1, Descending, Ascending)
)
ON Submit button of Onselect event of Form:
If(Value(DataCardValue26.Text) = 0,true, Notify("Weekly total value must be more then 0", NotificationType.Error););
Set(
SelectedUnitName,
'Edit_Unit Name_Input_1'.Selected.Value
);
ResetForm(Edit_Total_Form);
SubmitForm(WeeklyFrom_Edit);
Set(VarWeekTotal, DataCardValue26);
On Success of Submit Form:
ResetForm(Edit_Total_Form);
ResetForm(WeeklyFrom_Edit);
Navigate(Total_EditScreen); ResetForm(Edit_Total_Form);
ForAll(
Recordss,
Patch(
'Petty Cash & GL Code',
Defaults('Petty Cash & GL Code'),
{
Title: User().FullName,
TripDescription: Trip,
Catering_HouseKeeping: Catering_HouseKeeping,
Casual_Transport: Casual_Transport,
Equipment_Shortlife: Equipment_ShortLife,
Programme_LifeSkills: Programme_LifeSkills,
Cleaning_Household: Cleaning_Household,
Medical_FirstAid: Medical_FirstAid,
Heat: Heat,
Bank_Charge: Bank_Charges,
Sports: Sports,
'Misc ': Postage,
Total: Total,
WeeklyTotal: WeeklyTotal,
'Date ': Datetime
}
)
) ;
Also please see the sharepoint image how does this looks and how gallery looks like
Sharepoint List
Gallery