Is it possible to use a column picker in JetBrains DataGrip? I was not able to use this feature in DataGrip. For instance, sql complete contains this feature: sql complete column picker image.
Currently, there is no feature like this in DataGrip. I can offer you a couple of workflows:
— Use code completion, it is really fast. Once you have the table in your query (typing SEL → Tab activates Live Template for SELECT query), start typing column names in the list and completion will prompt you column names.
— Use wildcard and then expand it by Alt+Enter → Expand column list. Yo will get the whole column list, just remove unnecessary ones.
— If you need to have a result with some columns, not all of them, press Ctrl+F12 on the result-set. Then you'll get a popup where you can show/hide columns with Space. Notice, that text speed search works there as well. See Operations with columns in the structure view.
All of them are shown in the attached gif file.
Related
I'm a FM beginner and would like to know how I can show a searchable dropdown. When I create a product, I need to select a supplier from a large list. I would like to tyoe some characters, from where I find a value in the dropdown. As far as I see now, that isn't possible and the only way to do this is through a popover.
But my question is then, how to show a full table in the popover, from which I can select a value, which is filled in my form.
I would like to tyoe some characters, from where I find a value in the dropdown. As far as I see now, that isn't possible and the only way to do this is through a popover.
Actually, it's the other way around: with a drop-down list you get the option to Auto-complete using value list, which is unavailable with a pop-up menu.
how to show a full table in the popover, from which I can select a value,
You cannot show a full table in a popover. You can show a portal in a popover, and make it show all records in a table by using the x operator when defining the relationship.
Or - preferably, IMHO - use a card window to show all the records you want to select from; this could be the full table or a reduced set as the result of a find.
Selecting products or other related records using popovers always feels slow when you try to search/filter the list of records, with the introduction of card windows doing such searches/selects became a lot faster and easier to implement, if you have 2 different layouts that need to search the same list of records you can use the same card window for both, that was also a nice thing.
I am compiling data from various workbooks to one using Power Query. Basically, there are 2 questions, and answer to those, all (question and the answer) in the same column. I need to pull this for 50 workbooks and put them in one column for the corresponding file name. While using power query, I can filter out the questions, but I wouldn't know which one is the response for which question (1 or 2).
And transpose is not making it any easier too. Any help please.
Your question isn't all that clear without some sample info, but I'll take a stab at what I think you want.
Put all your workbooks in the same folder. Then, in the ribbon at the top of the screen, select "New Source," then "File", then "Folder."
Then click the "Browse..." button and find and select the folder with the workbooks in it, and click "OK":
Then click "Combine & Edit:"
Then select the applicable sheet (on the left side of this box) and click "OK":
The worksheets' info will be appended into one table, with each row's asssociated worksheet's name in a "Source.Name" column. Like this:
(My original 4 worksheets only had the one column depicted above as "Column1" in each of them.)
I think you may be able to take it from there pretty easily.
If you want to separate the Answers from the Questions, into a separate column, you can use the "Split Column" button at the top of the Query Editor, with By Delimiter selected. (Change the default delimiter from "Comma" to whatever you want to use to separate the column. In my example above, I would use "? " as the delimiter.)
How do I stop SSRS from hiding a column when previewing if the column has nothing more than empty rows? I have set all columns to be fully visible, yet the report preview does not show the empty columns. I know that this is a default feature within Visual Studio that hides all empty columns by default, so how do I change it so it can show all columns no matter what. Where can I change those settings?
If you mean the preview in the query designer of the dataset:
This is only possible when writing your own MDX since the generated code always generates a SELECT NON EMPTY for the measure axis. So removing the NON EMPTY part will always show your column/measure.
If you mean the ssrs report preview:
Columns only hide when using a table matrix with a column group. In this case make sure your dataset always returns each column group at least once, regardless of your chosen filters. E.g. if using MDX this could mean removing a NON EMPTY from your row axis or using the right-click option "include empty cells".
Clarification for comment plus possible workaround:
This "hiding columns" things is no feature. If the column isn't in the result of the dataset, SSRS can't know that this value even exists, so there is no solution if using a column group except for redesigning your query.
You could work around this by not using a column group and instead of using static "hard-coded" columns which, for example, sum the values depending on your group. See the following example screenshot i made: example
I have a table with several columns. The first column contains unique data, the 5th contains three buttons (Edit, Assignments and Delete).
I would like to use an XPath expression to locate on the edit button for one of the rows by indentifying the row using the unique data from column one (think that made sense).
I have built some expressions which will allow me to locate on the first column and edit button independantly as follows:
//td[text()='Managers']
and
tr[2]//button[text()='Edit']
The closest I can get to doing what I want is:
//td[text()='Managers'] | //tr[2]//button[text()='Edit']
...However this will locate on the data/button in column 1 AND 5 at the same time, what I want is just for the button in column 5.
The reason I want to do it this way, is so later I can pass in 'Managers' as a varaible in order to select the row (as its unique and meaningful data), and then press the edit button in a different column on that row.
Hope this makes sense!
Thanks
The question isn't very clear as posted, especially because I can't see any relevant part of the HTML. But if I understand this correctly, you can try to select the row that has Manager in it then get corresponding Edit button like so :
//tr[.//td='Managers']//button[.='Edit']
I have a view in OBIEE that is sectioned and returning groups as intended. My question though, is can I make the sections return in more than 1 column? Right now there are 8 sections all in a long line. I would prefer to split them into two columns of 4 sections each, in the same view.
Is this possible?
THanks
*It will be used in a dashboard at some point.
Since this will be used on a dashboard, you could consider using a compound layout.
The compound layout button is on the results page in the toolbar. Click on it, name it to something that will help you identify it later, then break your data apart into two sections (using filters, creating two different tables within the same report, or some other means. This is the part where I don't know your data or its format so it makes it difficult to answer). One section of data will go on one compound layout, and another section will go on the other compound layout. So in the report, the data will be on two tabs, but since it is intended for a dashboard, this is not a problem.
Make two side by side columns on the dashboard, and drag the same report into both. In the properties, select "show View", and select the different compound views (one for each column).
Now when you run the dash, the results will display in different columns at the same time.