I'm working with my first Canvas App to display filtered data from Dataverse table. I decided to go with Canvas tape as I need to add more functionality to this view.
Can see on the pic my structure, in real Current Cases table I have human readable text for Contact and Supervisor, but here I have their IDs, tried to play with format, removing *id portion, wrap it around Text
, nothing helped.
Is this a bug? How I can solve this problem. This is canvas app with DataTable
which I connected to Dataverse table.
ALso is it possible to create dynamic Filter on Modified On
column, to display only rows where modified ON
older then 14 days, or any filter at all ?
Thanks
The data table control allows you to choose exactly which property of the related entity you want to display, so for the 'Contact_Column1' column, you can update the expression to something like ThisItem.Contact.'Full Name'
(or some other column which has the data you want displayed).
If you want to use the modern table control, it will automatically pick the primary key column from the related table, so it will show something more meaningful than a GUID. Notice that that control is still in preview.
As far as filtering the table, you can update the Items property of the data table itself with a Filter expression - for example Filter('Current Cases', 'Modified On' < DateAdd(Today(), -14, TimeUnit.Days))
- where 'Current Cases' would be the name of your table.