I have tried to many times to get data by copilot component, but it gives answers like Sorry, wrong data, showing data which is not in data source.
what should i do any suggestion ?
I've been using ChatGPT with pretty good results, you can ask questions like "What is a function for the On Select property of a button that will use a context variable to update column data in a Sharepoint List currently held in a collection named "ExampleCollection?" It's all how you ask your questions but having that as a resource has multiplied by ability tenfold, you might give that a shot!