Announcements
Hello,
I have sharepoint list, and it has column 'Target Customer' containing date value (mm/dd/yyyy). I want to filter that column with combobox, but I want to show a date value with format like (mm/yyyy), the list component which has that date (mm/yyyy) will show in gallery. how to do that?
Thank you in advance.
Hi @firda59 ,
Assuming you have the combo box Items displaying mm/yyyy and I have also assumed an output of .Value for it,
then the filter would be something like
Filter( AddColumns( SPList, "TargetMY", Text('Target Customer', "mm/yyyy") ), TargetMY = YourComboBox.Selected.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
Hi
Distinct('Your SharePoint List', 'Target Customer')
Text(Value, "[$-en-US]mm/yyyy")
Replace "Value" with the name of the column that contains the date value.
Filter('Your SharePoint List', 'Target Customer' = ComboBox1.Selected.Value)
Replace "ComboBox1" with the name of your ComboBox.
Hi @WarrenBelz
Thank you,
but do you know how to display (mm/yyyy) format in combobox?
Hi @Rajkumar_404
it error, do you know how to fix it?
Thank you
@firda59 ,
In the Combo Box Items
AddColumns( RenameColumns( Distinct( SPList, 'Target Customer' ), "Value", "Dates" ), "Value", Text( Dates, "mm/yyyy" ) )
Not error, but show nothing.
This is my SP list
This is my Apps
Do you know how to fix it? Thank you
That is strange as it works fine in my testing - below is a better version with applies Distinct to the MM/YYYY format rather than the full date
Distinct( AddColumns( SPList, "MonthYear", Text( 'Target Customer', "mm/yyyy" ) ), MonthYear )
Test result below
thankyou! it works now, I wrote wrong column name😅
hv a nice day!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 549 Most Valuable Professional
Kalathiya 225 Super User 2026 Season 1
Haque 224