Re: Formatting color and title
Hi @Smittymitty95
Assuming this is a gallery correct? Are they stored in Dataverse of SharePoint? Is this a Collection of Data or the Table???
You have to have a column to sort on or you have to do it a goofy way. Let's pretend you want to Sort and put those 2 first, but you have NO numeric, dates, anything to do it by. Then you have to improvise
// New Collection
Collect(myOrderedResults, LookUp(DataSource, Title = "Gasoline"));
Collect(myOrderedResults, LookUp(DataSource, Title = "Diesel"));
Collect(myOrderedResults, Filter(DataSource, Title <> "Gasoline" And Title <> "Diesel"));
Now myOrderedResults has those 2 first
As for highlighting
Again assuming its a Gallery
In the TemplateFill Property
Switch(ThisItem.Title
"Gasoline",
Color.Yellow
,
"Diesel",
Color.Yellow
,
Whatever Default Fill you want
);
If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey