You can get the filter in near the top as shown below, but the
auth column no longer exists (you wanted
mergedauths) as per the sample you posted and it is already grouped to achieve this added column.
ShowColumns(
AddColumns(
AddColumns(
Filter(
colMRsbyWMA,
readdate >= DatePickerFrom_3.SelectedDate &&
readdate <= DatePickerTo_3.SelectedDate &&
StartsWith(
wma,
Dropdown2_1.Selected.Result
) &&
(
TextInput2.Text in auth ||
StartsWith(
clientname,
TextInput2.Text
)
)
),
Base,
If(
";" in auth,
First(
Split(
auth,
";"
)
).Value,
auth
)
),
mergedauths,
LookUp(
AddColumns(
GroupBy(
Ungroup(
AddColumns(
AddColumns(
colMRsbyWMA,
Auths,
Split(
auth,
";"
).Value
),
MainAuth,
First(Auths).Value
),
Auths
),
MainAuth,
Data
),
AllAuths,
Concat(
Distinct(
Data,
Value
),
Value,
";"
)
),
MainAuth = Base
).AllAuths
),
mergedauths,
readdate,
reading
)
Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
MVP (Business Applications) Visit my blog Practical Power Apps Buy me a coffee