HI @wiranqa ,
Your Items can be (the Result syntax was only to address a legacy output change some time back)
Sort(
Distinct(
MARGINS,
Margin
),
Value,
SortOrder.Descending
)
If you simply want "40%" as the default, the DefaultSelectedItems would be
{Value: "40%}
If you want the second item (whatever it is) as the default
{
Value:
Index(
Sort(
Distinct(
MARGINS,
Margin
),
Value,
SortOrder.Descending
),
2
).Value
}
Please click Accept as solution 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 Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps