Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for variables via power queries #108

Open
andgorrie opened this issue Sep 26, 2022 · 5 comments
Open

Add support for variables via power queries #108

andgorrie opened this issue Sep 26, 2022 · 5 comments

Comments

@andgorrie
Copy link

Please add the ability to use a DataSet data source as the source for a variable. In my use case I want all distinct values for a specific Field to be used to populate a Query type variable. Power Query format would be best, as then I could do some fairly advanced manipulation as well if I like.

@jmakar-s1
Copy link
Contributor

This is supported (though as a facet query):
Screenshot 2023-03-23 at 2 50 39 PM

Adding support for variables via power queries is a great idea, will add to the backlog

@jmakar-s1 jmakar-s1 changed the title Add Variable Data Source Support Add support for variables via power queries Mar 23, 2023
@andgorrie
Copy link
Author

How do I filter with a facet query? I got it to work returning a field but I can't figure out how to filter it to only the specific log I want.

@jmakar-s1
Copy link
Contributor

It's a kludge, but currently the Regex field could be used to do this, for example above it could become something like /^"(.*cortex.*)"$/

@andgorrie
Copy link
Author

I don't think that works for my use case. I have multiple logs with the field 'project_id' and they are all integers, and I only want the 'project_id' from a specific log, so no way to sort the results, I need to filter the query. I assume this isn't currently possible? I wasn't sure if there was a syntax to get to the filter in a FacetQuery.

@jmakar-s1
Copy link
Contributor

Unfortunately, no not currently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants