How can I receive the right data with a query that contains a filter and child columns - odata

I want to receive orders with some data based on the date, this works fine until I add an nested expand to an expanded column combined with the data filter on the parent.
odata/SaleOrder?$filter=DateDelivery gt 2022-09-01T00:00:00.000Z&$top=10&$expand=Customer,OrderRules($expand=Product)
When I'm using another filter it just works fine:
odata/SaleOrder?$filter=Number eq 'VK20200310074'&$top=10&$expand=Customer,OrderRules($expand=Product)
Can someone explain what I'm doing wrong or does someone have a suggestion?
Thanks in advance.

It seems I fixed it by selecting some properties of Products.
I am still not sure what went wrong, but at least I can continue.
odata/SaleOrder?$filter=DateDelivery gt 2022-09-01T00:00:00.000Z&$expand=Customer,OrderRules($expand=Product($select=Oid,Name,Description))

Related

COUNTIFS Formula with Multiple Criteria Ranges

Can anyone perhaps help me? I am trying to do the following:
I am trying to make the report pick up if the prospect is "Not Selling" if the "Not Selling" tab was ticked in either the first attempt, the 2nd attempt or the third attempt.
I used the formula below to make it work when there was only 1 attempt but when I try adding an OR function to the formula it gives me an array size error.
=countifs(Database!$R$3:$R,"="&C45+4,Database!$AH$3:$AH,TRUE)
Is there a way of doing something like what I'm trying to do below?
=countifs(OR(Database!$R$3:$R,Database!$X$3:$X,Database!$AD$3:$AD),"="&C45+4,Database!$AH$3:$AH,TRUE)
database
report
Thanks in advance
Justin
Like this possibly, if I have followed what you want:
=OR(Database!$R$3:$R"="&C45+4,Database!$X$3:$X"="&C45+4,Database!$AD$3:$AD"="&C45+4),"="&C45+4
But you may need to sort the detail there.

How can I list all my comments or at least WI I worked on?

I have met a problem which I had already solved during the last month or two. And that time I had written the solution in a comment. How can I find it using the browser?
A list of all my comments or all WI I worked on would be OK. Of course, these items do not belong to me now. Even better if the list would be limited or ordered by time.
You could try to create a work item query, and set Assigned To field Was Ever to you, to list the work items that were assigned to you before:

Getting Data out of Angular ui-grid

A question:
Does anyone know how to get data out of angular ui-grid in the currently displayed sorted order?
I found out how to access data out of the grid using gridApi.grid.rows, but those rows do not appear to be sorted per the current sort order applied to the grid.
I feel like the grid is taunting me...showing me data in sorted order, but refusing to allow me to access it! Help!
Have you tried gridApi.grid.sortByColumn(gridApi.grid.rows)?
O Sean that's hot.
But will that re sort the data? Ideally id just be able to get at the data in its already sorted state.

How to show all values of an oledb data source in a table?

I'm new to livecylce designer and since I can't find an answer to this simple question or the provided answers end up unsuccessfully in my case, I hope I can get some help here.
So all I wanna do is, showing all the values of a OLEDB data sources in a table. My problem is that only one row is shown in the table. I tried to wrap it in a subform, choose content 'flowed', and set the rows to repeat for every item. But it won't change anything. And yes I'm sure the query provides 2 rows and 3 columns, or at least thats whats returned in mssql.
Maybe I missed some fundamental understanding how this is supposed to work. Any advice greatly appreciated.
Thanks Alex

In TFS how do I pull all the items that were assigned to me between certain dates in the past?

I am trying to figure out the way to pull all the items that were on my plate between certain dates. Is this possible? Could you please help me to figure out how to write a query for that? Thanks.
The best that I know how to do is to set 'Assigned To' Was Ever #Me, then manually scan the list of work items returned (setting other fields as necessary to filter the results). In the UI, at least, there isn't a way to query on historical data.
You can do this via query window as well, below is my query that i use to see what have i been working on in the past two sprints.
This will give you any tickets you worked on regardless of who they are currently assigned to (system test / uat or whatever).
You can add more clauses and have Changed Date > xxx AND ChangedDate < xxx to find what you are looking for in any given dates.

Resources