Datastudio Chart Configuration Incomplete when no data present and only headers - google-sheets

Good morning,
I have a spreadsheet that currently doesn't have any data in it, only headers.
If I put some dummy data in it, the fields are pulled in with no problem and charts display properly in google studio dash. However, if I remove the data and keep only the headers (waiting for the user to input data entry), all the charts utilizing the particular sheet show 'Chart Configuration Incomplete'. When I view the data source and refresh it, it states all the fields are missing. Only if there is an entry in addition to the headers, the fields show and charts work as expected. Is there a way around this by chance? Why can't the charts just show blank? I have the 'First Row as Headers' selected.

Try adding a row of dummy data (so all the fields will be added to your source) but then adding a report filter to exclude that entry from the report. You are correct that Data Studio won’t recognize empty fields when creating the data source.

Related

ImportXML not returning entire table

I cannot get an entire table to populate with ImportXML. At best I get the first column and I cannot figure this out.
The website I am trying to scrape is: https://classic.warcraftlogs.com/character/us/kromcrush/chills
Do I have any options to retrieve the table rather it be column by column or as a whole?
I have tried all the following plus several others.
=IMPORTXML("https://classic.warcraftlogs.com/character/us/kromcrush/chills","//table[#id='boss-table-1010']/tbody/tr")
=IMPORTXML("https://classic.warcraftlogs.com/character/us/kromcrush/chills","//tbody/tr")
=IMPORTXML("https://classic.warcraftlogs.com/character/us/kromcrush/chills","//tbody/tr/td")
=IMPORTXML("https://classic.warcraftlogs.com/character/us/kromcrush/chills","//tr")
=IMPORTXML("https://classic.warcraftlogs.com/character/us/kromcrush/chills","//tr/td")
=IMPORTXML("https://classic.warcraftlogs.com/character/us/kromcrush/chills","//tr/td[1]")
=IMPORTXML("https://classic.warcraftlogs.com/character/us/kromcrush/chills","//tr/td[2]")
Anything outside of column one says Imported content is empty. Please help!
P.S. I have scoured this website and google for answers and every case I find seems to be a syntax error, starting at the table itself doesn't return the entire table which tells me I need a clever method.
It seems that's an issue with the website, because when you click on Inspect you can see the table with id "boss-table-1010" but if you click on View Source that ID is not available, so the table is dynamically rendered and Sheets doesn't find such id.
I've checked it and I can get the data by doing
=IMPORTXML("https://classic.warcraftlogs.com/character/us/kromcrush/chills", "//table/tbody//td")
But if you want a more robust solution, it'll be better doing it programmatically by using Python for web scraping

Jenkins Confluence Publisher - wiki markup plain text to add data in a new row

How can we append/add new row/new cell at the top of the table, to act as the first row, below the headers using wiki mark up tokens. ?
I use Jenkins confluence publisher to send values from Jenkins build to a cell in a table in the confluence page. As I run the job daily, I need the Jenkins job to append the new details at the first row and eventually the yesterday's job details will be pushed down to the second row.
before21 token returns results that should come under the column H1 while before 31 values under column H2. I tried to create a cell within the existing cell using |cell| and {{!}}, but none of them works for me as these tokens are inside the table. As shown in the screenshot below, the values are getting added to the same cell instead of new cell.
I am unsure if I can create a row for before21 and use the same new row for before31. The values for these tokens are passed as plain text option from the Jenkins confluence publisher, which will eventually be in the new rows. The plain text supports wiki markup format.
https://www.jenkins.io/doc/pipeline/steps/confluence-publisher/
Can you guys please direct me where am I doing wrong and how can I achieve this?
I use confluence 7X. In Edit mode the page looks like
This is post update
This is achieved by posting content in HTML format.

JIRA - Excel report to include the date an issue entered a particular status (trying to calculate cycle time)

When running a search on JIRA I can export the results to Excel and see dates and times of when the issue was Created,Resolved and First Response. I would also like to be able to see the date the item entered the status "In Dev" in this Excel export.
Would I need to create a custom field? If so, how would I go about creating a field that automatically gets populated with this data?
Thanks

Bringing in a google form response to a sheet

Here is a copy of the sheets and form (form > go to live)
https://docs.google.com/a/ncsu.edu/spreadsheets/d/1mEz9mLEgP4Cfts2ZU6NwhNiL6xjWdFbt42RUj-RYbZw/edit?usp=sharing
So currently, I get responses in a different sheet. Ideally, I would get the response on the tracking sheet with the appropriate format for the dates. Additionally, I would like to keep the functionality of the tracking sheet which is to be able add in items by hand and not through the form. I currently have a script in place which auto-inputs the current date as the two separate formats.
So I'm looking for a solution which either takes in form response to the sheet and appropriate cells (the first empty cell). Or I'm looking to create a script which onEdit which when the form sheet is edited, will fetch the new response and copy it over appropriately onto the tacking sheet.
I have tried googling answers.. But I think I may be a failure at it since I wasn't able to really find a solution for this particular problem. Thank you in advance for the help!
form:
https://docs.google.com/forms/d/1AHSQrLkq3U7NJMvgWoH3lAygova7Mi4BaXHdROaaS2g/edit?usp=sharing
The script associated to this form should do the trick.
All the explanations on how to use it are in the response sheet

smartgwt filter editor problem

i am using Listgrid of smartgwt api. i have set filter editor on the list grid using setShowFilterEditor(). On UI, i can filter out the text from the particular columns using filter editor which is shown on top of listgrid. till this, everything works fine. but problem starts after this. my ListGridRecords are of type ScreenInstanceGridRecord.
I cleared out the filter criteria before getting the ListGridRecord from the ListGrid using method clearCriteria(), so that i can save all the records to database ie. unfiltered records. when i try to get records from the listgrid using getRecordList(), 1000 Dummy records are added on the fly on first iteration, all my populated records are ignored . and i need here is records of ScreenInstanceGridRecord type. but on second iteration, i am getting my populated records which is of ScreenInstanceGridRecord type. why this problem is occurring. i should be getting ScreenInstanceGridRecord on the first iteration itself when i try to get records from the ListGrid using getRecordList(). i am getting no idea about this weird thing. any help from your side is most welcome.. plss
When you say you're getting 1000 Dummy records instead of your loaded records, in fact, your Records are not loaded yet at all. In this case, the ResultSet created by the ListGrid (see docs for ListGrid.fetchData()) is returning a provisional length (defaults to 1000) and returning the loading marker in lieu of Records (see ResultSet.rowIsLoaded()).
Use the DataArrived event to take action once data has been loaded. See ResultSet.lengthIsKnown() for how you can, in general, tell that data is not yet loaded.

Resources