Searching I found a few solutions to displaying a date in Combobox. I have tried them and they work but now I need to display a second column in the combobox drop down. I try to add something to the the second column and it defaults to one.
Solutions I have found for displaying dates:
1:
ForAll(TableName,
{
DateValue:ColumnNameA,
DateDisplay:Text(ColumnNameA, "dd mmm yy")
}
)
2:
Distinct(TableName,Text(ColumnNameA,"[$-en-US]dd/mm/yyyy")).Result
I managed to add the filter I needed to second option:
Distinct(
Filter(
Attendance_Course,
ColumnLookup.LookupName in colectionA.columnNameX,
IsBlank('ColumnNameB')
),
Text(
ColumnNameA,
"[$-en-US]dd/mm/yyyy"
)
).Result
Should I add another distinct or what can I do to display two columns where one is a datetime field?
Thanks kindly