How to add a hover effect / highlight rows in a table in Google Data Studio? - highlight

I have found an example of a report and can't do this hover effect that highlights a column and a row in a table. How to do this?
My report is here

Created a Google Data Studio Report to demonstrate, as well as a GIF showing the process below:
1) Chart
Pivot Table: with Heatmap
2) Fields
Row Dimension: Day of Week
Column Dimension: Hour
3) Sort
Row #1: Day of Week in Ascending order
Column #1: Hour in Ascending order
GIF of creating a Pivot Table (with Heatmap):
GIF of Highlight Colour feature in the Pivot Table (with Heatmap):

Related

Hide future months with 0 values from chart in google sheets

I have a sheet that automatically pulls in order numbers every month, and a chart to show the trendline. I have formatted the future months because I want the chart to be automatically updated. But the value of the order numbers for future months in currently 0 and that messes with my chart. I want those to be hidden from my chart, so that the chart only runs to the last month.
Example sheet: https://docs.google.com/spreadsheets/d/11FOBKKfxY-usK5aGjrc8KpoiYeMgXrb3apzfYrpoaUg/edit?usp=sharing
added a solution in your sheet here:
you can filter the data first and use those columns as data source for the graph. the formula auto-updates until previous month stats. and also you can just hide those columns since you have the primary A,B columns in visibility.
=filter(A:B,EOMONTH(A:A,0)<=EOMONTH(TODAY(),-1))

How to assign weights to counts in Google Data Studio?

I have a data set with events and attendees and along with that also the focus area of the events. All events have a focus area 1 and some have multiple focus areas (2&3).
My goal is to have a tree map or pie chart that shows the number of attendees by focus area. If there are multiple areas then I do not want to count the attendees twice but basically assign a weight of 0.5 (when having 2 areas) or 0.33 (when having 3 areas).
Is there a way to accomplish this in Data Studio (can also include some pre-work in Google Sheets)?
The data has to be rearanged in follwing tables:
Event, Area, Topic, Areavisited, Attendance
Event1, 1, Security, 2, 56
This means you need to unpivot your table. It is possbible to do this in data studio with blend. However, no further field can be added to a blend dataset. Therefore, every calculation should be done in Sheets
Here is an example, how to do this with google sheets using pivot.
First generate a Vistfocus =CountA(B2:D2), counting the focus done at each event. Then do a pivot on that table and add as rows, the event/name and each focus-field. Add a summery row for focus2 and focus3. As Values add the attendance and Visitfocus. In H3 insert following formual:
=If(A3<>"",B3,if(A2<>"",C2,if(A1<>"",D1)))
Thus, the values from focus1, focus2 and focus3 are alternating between the rows. Extend this formula over the whole row. And name it Focus
Import this Sheet in Data Studio and filter all null values in ´Focus`.
https://docs.google.com/spreadsheets/d/1J_HxbqW9FGn1FCI8iOOvvz7u4lrs-YsY1V4R7Yg8DBQ/edit?usp=sharing

Google Sheets formula to be applied in rows where there is only numbers

I have a Google Sheets workbook, have lot of data in it in the following way as shown in the picture:
So What I want to do is to highlight all rows in which LDCP > Current (Displayed in green), that is fine when I use conditional formatting and add a formula. But since there are 1000s of such rows, what I want to do is to select all and apply that formula however when I do that it highlights the rows with text such as Leasing Companies and Leather & Tanneries.
Is there a way that I can select the whole sheet and apply a formula which only is applicable where the B column (LDCP) and F Column (Current) consists of numbers. This way only those rows will be highlighted and not the other ones.
Any other kind of advice to do this would be appreciated as well.
Regards,
~K
Try this in your conditional formatting custom formula:
=and($B1>$F1,isnumber($B1))
Range A1:Fnnn where nnn is the end of your sheet.

Google sheet: How to automatically add all columns to graph series?

I have a pivot table with many columns.
I create a multi-bar chart graph with series of the columns.
How can I automatically set the range to be the active range of the whole table?
After choosing the whole range, only 6 series are added automatically.
How can I select all available series to appear on the multi-bar graph?

How do I dynamically expand the range of rows/columns to which a chart takes the data from?

I have the below pivot table, and i created the chart only with the data inside the table, excluding the bottom line with the totals and the right column with the grand total. If new rows automatically appear, how can I make sure they autimatically get added to the chart without having to add the bottom line as well?
best option would be to use FILTER or QUERY formula on separate sheet or hidden columns to trim down your pivoted output and feed it to chart because charts do not support advanced formulae as an input

Resources