Why does my Netsuite Saved Search time out? - sorting

I created an item record saved search that also uses transaction data.  The results load in 20-30 seconds, awesome.  But, as soon as I try to do any of the 3 items below, the report runs and runs and times out without results.  I would like to know why?  Hopefully, this will give me a better understanding of how the Netsuite engine works.
Set the Results Sort by Formula Numeric (first formula is "Alert Level")
Export results to Excel
Click the "Alert Level" column to sort

Related

multiple condition inside SUMIF() in google sheets

I created my daily task log sheet which i log my tasks daily and I also provide the time which I start and the time of its completion. it looks like this
You'll notice the tab "total hours per day". on that tab I calculate the total time for the specific date. It looks like this
using this formula: =SUMIF('TASKS (Itemized)'!A3:A501,A8,'TASKS (Itemized)'!I3:I501)
My question is can I still add a condition to the formula that says not to include the time or the row if the column H has a value of "Multitasking"?
I believe you are looking for something like this?
=SUMIFS('TASKS (Itemized)'!I3:I,'TASKS (Itemized)'!A3:A,A8,'TASKS (Itemized)'!H3:H,"<>Multitasking")
Without seeing a sample sheet of everything going on including columns and rows this is the best I can offer.

obiee12c dashboard prompts running before analysis filters

I have an analysis that uses a filter in order to limit the results.
I put this analysis into a Dashboard together with a Dashboard prompt.
The Dashboard prompt consists of various columns and all of them are of type "Choice list" and all have the option "Limit values by" = "All prompts".
However, this is not working as I expected. I thought that the values appearing in he Choice list should be limited by the filters applied in the analysis but it seems that the dashboard prompt first shows all the possible values before having applied the analysis filter.
Is this correct?
If this is the way it works, the problem I am facing is that some of the values appearing in the Choice list of the prompt columns will result in NO DATA in the analysis.
Thanks for your help!
"I thought that the values appearing in he Choice list should be limited by the filters applied in the analysis"
Exactly the other way around. Prompts send their selected values to the filter that's in the analysis and hence cut off the data stream.
It is normal that a prompt retrieves selection values for which a certain point of view retrieves no data. Other way round would make no sense. Imagine you sell 5 products and one didn't sell at all in August. Do you want to remove August from your month prompt?
The interdependence of prompts that you mention is for example - limit regions to only regions of a selected country. Limit customers to only customers of a selected business unit etc.
What you write and expect is that the prompt should go over the effective data (facts) and only retrieve values for which data (facts) exists. As said above that's not the most logical thing to do in an analytical environment since one change of point of view can mean that data "exists" or "doesn't exist" - then you change the point of view and the situation changes. And you want that. You don't want to hardcode points of view which over time or when somebody else looks at the data (personalized data security) they will get different results.
Don't hardcode too much. Don't restrict the system artificially.
Update: https://imgur.com/BxGnbbB
Here's a screenshot of where you can restrict the prompt

Web Scraping returning empty data table UiPath

I’m using Data Scraping to scrape a product Information (i.e Product Name, Url, Price, Model) from a shopping website.
When I search for a product, I want whatever item comes first it scrapes that item’s data and for that purpose I have set maximum number of results to 1. But the problem is sometimes it is returning empty Data table And I cannot figure out why.
What I think is, if the current search result matches those elements that I selected in data scraping wizard, it returns the data table and if it doesn’t match it returns empty Data table.
For Example, While selecting elements in Data scraping wizard the search results were Samsung monitors. And when I ran the project I searched for Dell monitors, it returned Data table but when I searched for Samsung series or Dell Series it returned empty Data table. What is wrong with this?
You need to tell what you actually need as output.
But if your output is empty, mostly the reason is one of the following:
make sure the timeout is high enough, set it to 30000 if you are unsure
set a proper selector that has not a bad impact even when the website is being changed for some reason
For me it working properly with a proper timeout and a flexible selector with a *.

How to match ALL instances of a word and return each full row as array (as formula, not VB)

I have a Google Sheet that is updated with Job issues. Depending on the Issue the job is allocated to a various different team (each team in it's own tab).
Note. Each issue has a "Category" that has to be selected when filling out the job issue form.
I'm trying to write a formula that looks through the list of job issues and splits out different categories to different tabs (teams).
Here's the link to the Google Sheet to see what i've already done.
You can see my formula in E1 & L1 of "Team 1 tab"
https://docs.google.com/spreadsheets/d/1wKOMIM0JKf_jicYLeEy_Btu1atjpaGwyDlTMU2otlkc/edit?usp=sharing
See attached URL for code: You can see my formula in E1 & L1 of "Team 1 tab"
Lists all the matches in their own tab or area inside the tab.
You can do this simply with the FILTER function (although you can also use something like QUERY, it's not necessary for your application).
In your sheet, put this formula on the top-left of where you want data to begin:
=FILTER('Form responses 1'!$A:$E,'Form responses 1'!$C:$C="Can't access a topic?")
This should return all records in the range 'Form responses 1'!$A:$E that match "Can't access a topic?".
You can see the documentation for the FILTER function here: https://support.google.com/docs/answer/3093197?hl=en.

SQL Server 2012 Reporting Services with Custom Viewer, Sort lost in Page Change

I'm working on a project where we're trying to migrate from SSRS 2005 to the 2012 (which it seems is not much enhanced from the 2008 R2 standard). We're using a custom report viewer control that's interacting with the ReportExecution service to get rendered data and display it.
For a skeleton of our basic logic, we have:
If (Request to sort was sent)
Set sort criteria in a dictionary collection (itemID and sortDirection) which is persisted in session.
--further down--
If (Sort Criteria Collection is not empty)
Invoke ReportExecution.Render to render HTML (actual HTML is unused here, comment notes this is due to a bug. appears to be needed because sorting stops working entirely when this Render stage is removed)
Invoke ReportExecution.Sort to clear Sort criteria by using the first itemID in the sort list, sorted by None, sending True for clear flag (to clear all previous sorting criteria set)
For Each item in Sort Criteria collection
Invoke ReportExecution.Sort with current sort criteria, clear flag is False
--further down--
Invoke ReportExecution.Render to render report data in HTML to set as report pane content.
Under SSRS 2005 services, this code works fine, with sorts operating as they should and sorts being maintained as users move between report pages.
Under SSRS 2012 services, this code only somewhat works. Invoking sorts with the sorting controls on the reports work, but when the report page is changed, the dataset returns to the unsorted order.
I've checked to see that the sort collection is being properly persisted between the time when the Sort is requested and when the Page Change occurs, which it is. I've checked to see that ReportExecution's Sort method is being invoked, which it is. I've checked ExecutionLog3 view in the SSRS database and I'm seeing rsSuccess status for my sort call on the page change. I've checked to see if something is different about the Sort invoke when it's sent from the "user clicks sort button" context and "user clicks next page button" context, which it's not (content of the calls to the Sort method are identical in both contexts).
Even more curiously, SSRS seems to understand the sort that it should have applied, because if I've run a report and sorted by, say, user_name descending and then moved from page 1 to page 2, the result from Render returns the data for page 2 when unsorted but also has the sorted descending image on the user_name column.
With the current setup, the only way to see Page X of data sorted by Condition Y is to navigate to Page X, then set the sort criteria. If you set the sort condition first, then navigate to Page X, the sort criteria is lost, and the only way to get it back is to set it again. Since the report is already showing that the data is sorted by user_name descending, as an example, to get the sort to set properly you have to set the sort to user_name ascending, then set it back to user_name descending again, at which point you have the right data for the page with the sort properly applied.
I've tried modifying our core logic in a number of ways. I've tried removing the Render before the Sorts are applied (breaks Sorting functionality entirely). I've tried removing the dedicated None sort stage and setting the clear flag on our first sort, removing the extra layer of sort criteria that doesn't actually sort things (same result as before the change). I've tried switching to the Sort2 and Render2 methods that were introduced after SSRS 2005 (no change).
I've read the Pragmatic Programmer, so I know the whole lesson about "select isn't broken", but I'm coming perilously close to having to make that conclusion as I run out of ideas. Has anyone out there encountered this before who might have tips to help me figure out why this sort is seemingly being accepted by the SSRS services but disregarded when it comes to actually sorting the report's dataset?
Well, since I found my answer on my own, I'll go ahead and post this.
As it turns out, the custom reporting control was calling SetExecutionParameters on every page load. It seems this was the culprit. With SetExecutionParameters called even when they hadn't changed (first/previous/next/last paging controls, search in report, etc), I would get the described behavior where the Sort operation was reporting success but also displaying displaying the data in an unsorted way.
I modified the report to be saner with the report parameters, calling SetExecutionParameters only when the "Generate Report" button was used. Adding that to a change I'd tried before, removing the weird dedicated None sort stage, Sort has gone back to working as expected.

Resources