How do you remove a dimension in a Google Data Studio report? - google-data-studio

How do you remove an obsolete column from a GDS PostgreSQL-based report?
I updated my base SQL to remove some columns, but when I click the "Fields->" button to list all columns, it still lists the removed columns/dimensions. And for some reason that I can't determine, the "Remove" option is disabled so I can't even manually remove them
This is a huge problem/bug because if I then click "Create Report", it throws an error message, presumably because it's trying to access a column that no longer exists in my base SQL.
Am I missing something there, or is this just a buggy interface? How do I remove a dimension?

I can remove dimensions and metric by clicking in the right side of the green container, right next to the ellipsis.

Whenever you add/remove any column/field in the data source. You need to click Refresh Fields to refresh data source fields.
When you refresh data source fields:
Removed fields in the data set are removed from the data source.
For more details, visit Data Studio official documentation on Refresh data source fields.

Related

Add a user clickable check box in SSRS report

I am creating a report that for the most part is populated automatically by using variables, parameters with my datasource and dataset. I am trying to add in another column that will have a checkbox, where when the user pulls a report he or she can manually go in and click a check box for various rows. The clicked check box is done by the user and there is no need to send or retrieve data with this check box. Is there a simple solution to where I can add a checkbox for the user to check (and uncheck) various boxes?
SSRS does not deliver this kind of functionality. You would need to have a flag for every displayed row somewhere in your database and add two images to your report, a checked and one unchecked "checkbox" image, show those images on each row (source over expression) based on the flag of the row. Add an action to the image, that executes a storedProc and flags or unflags the row (pass an unambiguous id as parameter).
This is rather dirty, but would work.

Issue in automating table data filling in firefox using webdriver

Objective:
This is data driven approach. I am trying to get data from sheet to be entered in table in a web application. Now in the table there are fields as below:
Textfield (To enter name), Datatype drop-down (To select data type), Length field(to enter the length), Status field (Isactive or not)
Now here there is a dynamic logic as for only “String” datatype the “Length” field would appear else in default table “Length” field/column is not shown because for other data types there is static length value provided.
Now when automating I am getting data in sequence from sheet and setting that in table. Switching over the fields is done by using “Tab” mechanism.
Issue:
The only issue in this whole process is that while selecting “String” data-type from drop-down and after that tab is applied. At this point the “Length” field is supposed to appear for which data can be entered from the sheet but here at only tabbing/loosing focus from one field to another is not revealing the hidden “Length” field.
And at this point automation gets stuck up. Manually selecting the drop-down shows the “Length” field but when same is done manually using tab, the “Length” field does not show up.
It would be of really great help if anyone can please suggest on above issue.
Hoping to hear soon from someone. Thanks for your efforts in advance.
Manually selecting the drop-down shows the “Length” field but when
same is done manually using tab, the “Length” field does not show up.
Seems selenium isn't setting focus to the same object/element that you are. How are you using selenium to tab between fields? Do you have to tab to this element, or can you have selenium select it directly? Also, it would help us if you shared the selenium code and html.

Opening Button to open form based on combo box selection

I currently have a MS Access database of members.
I have a form that has a combo box which is populated with just the first and last names of members. (using a test database for now)
What im struggling with is how do i create a button that opens another form i have created but using the selection in the dropdown box to populate the fields in the newly opened form.
When a user from the dropdown box is selected an open is clicked i want it to open the profile form populated with their details.
pictures and access files can be found on my ftp server:
ftp://ftp.legends-gym.co.uk
User: ftpuser#legends-gym.co.uk
Pass: ftpuser
Regards
I can't access ftp site from work so can't see what you've got thus far however, the key bits you want to look at here are:
Add a button to the form and the On Click Event to open your profile form. Something along the lines of docmd.openform "frmProfile", acNormal
You need something to pass the member you've selected in the combo box to the profile form. One way might be to use OpenArgs so have a look at that
You then could use the passed variable in OpenArgs to select the data you want to fill out your profile form.
EDIT...
OK, I've had a look at the file now. Here is what you need to do to fix your problems (and a couple of extra bits which aren't causing an issue but will improve the look and feel).
On the Format of the Home form and the Member Search form, set Navigation Buttons and Record Selector to false. - This removes the unnecessary elements for a "single" form, you're not looking at records.
On the member search form, remove the binding to the members table. - You don't need to bind this form, as the recordsource of the combo is pulling the data required separately. if you look at your form before you change it, you'll notice you've got 1 of 10 records...
Also, remove the filter criteria and set filter on load to No - You were filtering the wrong form.
On the combo box, remove the after update event. - I'm not sure what that was trying to do but its completely unnecessary.
On the command button, add an onclick event which has the following code DoCmd.OpenForm "Profile", acNormal, , "ID = " & Me.Combo361 & ""
Save everything and enjoy. :)
You weren't far wrong with the filter, but it's actually a WHERE clause when opening another form - sorry, my bad misdirection. What you were doing was filtering the original form - ie the member search form. Also, you don't need to put ' quotes around the ID, it's a number not a string.
If you have problems I can probably host this fixed version somewhere for you to download.

Updating Rowediting editor after a user Input

We have a rowediting plugin on grid where a button of one trigger field changes some other values of the record (we are loading some remote data which get applied to the record). The values that get changed in background are most commonly not editable, so they are just rendered. Basically the remote loading of the data works fine, meaning the record get changed and all data get save but we have the following problems:
1.The rowediting plugin does not show the changes that where applied to the record fields
2.Setting the changes via record.set() cause the store to sync immediately and not on clicking the "save" button of the editor.
So how can we make the editor to show the changes applied in the background and how can we apply these changes in a way so that they get saved along with the other edited fields.
Thanks in advance for any help!
This should not be that complicated, you just need a reference to your active editor instance. You can then either
reload the record into the form by calling loadRecord() again. But note that this may overwrite any changes that where made by now within the editor
or (for the second way I expecting the values to be exactly the same as in the record in manner of key:value definition - short: no special mapping is required)
apply the new data to the record by calling either set (note that this will trigger sync if you have autoSync turned on) or by using Ext.apply(recinstance.data,newvalues) and editorinstance.getForm().setValues(newValues)

Trigger refresh of columns when refreshing data in fuelux datagrid

Based on a filter we use (show my objects / show objects of all), we would like an optional column to show/hide (if "all objects" is chosen, it should have an additional column indicating what account it belongs to...)
I know we can add the filter, and it is passed along to the data method so I can retrieve the data from the server there, but can we force a column refresh on the grid somehow?
Thanks very much for your assistance and feedback!
Columns are currently set only once, on initialization. There are a couple of related feature requests on UserVoice, where you can vote and participate in the discussion:
http://fuelux.uservoice.com/forums/181290-general/suggestions/3624683-datagrid-should-be-able-to-hide-show-columns
http://fuelux.uservoice.com/forums/181290-general/suggestions/3964374-provide-a-method-to-re-render-the-datagrid-in-full

Resources