Yahoo YQL console not working for finanace table - console

I am just trying to do some test calls to the API via the yahoo YQL console : https://developer.yahoo.com/yql/console/
But when I even try to do simple calls that should work, I am getting undefined table error
When I try:
select * from yahoo.finance.quotes
It returns "No definition found for Table yahoo.finance.quotes" in the xml.
What the hell?
Thanks in advance

That's because yahoo.finance.quotes is a community data table. More details about community data tables here: http://www.datatables.org/ .In order to access this table you need to enable access to them in the console by clicking "Show Community Tables" checkbox on top-left part of the console.
Run your query after that.
Note: After you get the community tables working, if you run your YQL query, you will find you are missing a required parameter "symbol". If you want to get quote details for Facebook(FB) then you can do select * from yahoo.finance.quotes where symbol='FB'. Hope this helps

Related

Why is the same query syntax not supported in Log Analytics and Application Insight Logs?

I am trying to figure out why the same query is not valid in both a Log Analytics and Application Insights workspace.
I've been working on creating a cross-resource query and when I write the syntax in Log Analytics it has a syntax error around the workspace operator. It is successful when I do the same thing in an Application Insights query.
The query looks like this:
union
workspace("DefaultWorkspace-b432aa91-rrrr-qqqq-zzzz-aabbba7e8f42-WUS2").SecurityEvent
,workspace("DefaultWorkspace-fca02198a-aaaa-eeee-cccc-aaad9fbf7302-EUS").SecurityEvent
| count
Since in both workspaces it references other workspaces, I would think it would be portable if queried under the same tenant (which I am). In Azure Log Analytics it gives me the error:
Unknown function: 'workspace'.
I am running these in the Azure portal at the moment.
Can you try adding a space after the comma? This query is working for my own workspaces.
union
workspace("DefaultWorkspace-b432aa91-rrrr-qqqq-zzzz-aabbba7e8f42-WUS2").SecurityEvent
, workspace("DefaultWorkspace-fca02198a-aaaa-eeee-cccc-aaad9fbf7302-EUS").SecurityEvent
| count
This is not a direct answer, but suggestions.
As far as I know, only if the query missing table name, then it will cause the error "Unknown function: 'workspace'.". Like below:
So first, make sure in your query, you are adding table name after workspace("xxx"). I notice that in your query, you're using the correct syntax, but just want to make sure the table name is there.
Second, if you're adding table name after workspace("xxx"), and still get this error. You can try just use the query below to check if the workspace("xxx") works:
workspace("adsmit-test").Heartbeat
| count
Please feel free to let me know if you still have the issue.
I tried the same statement 2 weeks later in both an Application Insights and Log Analytics and it works in both.

https://graph.microsoft.com/v1.0/deviceAppManagement/managedAppRegistrations filter on bundleId or packageId

I am trying to retrieve info from intune via GraphApi.
Want to filter on bundleId or packageId field (located under appIdentifier).
But I can't seem to find a way to do this.
Target result is :
userId,os_type (based on either #odata.type or packageId/bundleId).
Step further is that i want to identify certain apps by filtering on for example startswith(packageId,'com.microsoft').
I have tried combinations on "/deviceAppManagement/managedAppRegistrations?$filter=startswith(bundleId,'com.m'). But I keep on ending up on "invalid filter clause" whenever i want to execute a filter action.
Trying to recover from microsoft documentation if any filtering is possible on this part of graph seems impossible.
Currently we are using power automate to retrieve data and that works if we don't filter / select.
screenshot of json result
Use the following filter: startsWith(microsoft.graph.iosVppApp/bundleId, 'com.microsoft')
I found a pointer at this reddit post: https://www.reddit.com/r/Intune/comments/cxkwm3/using_graph_to_show_all_apps_from_one_vpp_token/

Search option in Crashlytics/Firebase where I can search by the name of the crash?

Is there search option in Crashlytics/Firebase where I can search by name of the crash like for example
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 3
Now is there search option where if I search for Expected BEGIN_ARRAY, then I got all the errors containing that.
I have searched everywhere but didn't find anything
As a follow-on from Mike Bonnell's answer, once you've linked Firebase to BigQuery, you'll want to run something like:
SELECT *
FROM `com.example.yourpackage`
WHERE exceptions.exception_message CONTAINS "Expected BEGIN_ARRAY"
A full list of Crashlytics BigQuery export fields are available in the docs.
Mike from Firebase here. You can link Big Query and Firebase Crashlytics in order to get full custom search or data analysis.

reporting services - data set has no query but works... Where could the query be located?

I was given a report today with a normal embedded data set (dataset1) and data source (datasource1) but the data set query is just a number: '1411'. The previous programer manually entered fields (not calculated fields) into the field tab.
When I click RUN, it works.
How is it populating the page without a proper query?
-There is only 1 tablix called (table1.) It also is pointing to dataset1.
-In Report Properties there is no VB code.
-RDL XML: Under dataset1's tag:
<DataSourceName>datasource1</DataSourceName>
<CommandText>=1411</CommandText>
I see no other SQL listed. Could there be something else on the server that's triggering it?
What sort of data source is "datasource1"?
If it's an RDBMS, check if there is a stored procedure or function in the database with the name "1411".
In SQL Server for example you could conceivably have a stored procedure called [1411] that returned a data set.
I'm assuming we are talking RDL (Report Definition Language). You might open this report with your favorite text editor and look at the CommandText XML tag to find the associated query. Hope that helps.

ave releted to my project

I want to fetch data from two table buut i m realy confused.
just i want recent two users in my site but problem is there that two users releted information stored in other table .
I also used join query to fetch that data but proper result not get .
Are you getting the correct results when you run your query in SQL Server Management Studio (SSMS)? Make sure you can isolate where your problem is.
If the query returns the correct results when you run it in SSMS, then post up your code and we can help you find the problem.
If the query isn't returning your desired results post the table structure and the query and we can help you with that.

Resources