I have a couple of wide columns in the current grid:
Mailing Name | Mailing Description | Mailing Date
and to keep the grid narrow, I changed the View to an Advanced Banded Grid View and stacked the columns like this:
Mailing Name
Mailing Date
Mailing Description
Is there a way to insert some kind of separator between records?
Holiday
12/15/2011
Holiday greetings to customers
============================== <-- like this
Summer Sale
6/15/2011
sale on BBQ grills flyer
You can increase the distance between rows: set the RowSeparatorHeight property to the desired separator height. Also you can color this area via the Appearance.RowSeparator.BackColor property.
Related
I've got a dataset with a column containing the id of the shop, another column with the EAN code of the product, and another column containing the quantity sold.
I create a Dataview in VEEML to link that to a calendar with the months and the year.
Can I create a metric on that Dataview to get the average quantity of sold items per shop, per months, years, etc ?
All the filters, dimensions and metrics used by a story could be edited in the pop-up "Datafields".
At the bottom of the left menu, click on the database icon to open the datafields options.
Search the field containing the quantity
Expand that field
Fill the textbox with the right SQL ANSI calculation. Don't forget to add a name at your metric at the end of the calculation using the "as name_of_the_metric"
Check the checkbox Is Metric As
Here, your calculation can be something as :
SUM(Sales_Quantity)/COUNT(DISTINCT ShopId) as Avg_Sales_Per_Shop
In each chart or grid, that calculation will be applied dynamicaly for each level of the dimensions in that chart.
I have created a user form for adding inventory.
I have 2 combobox in the form
Category = combobox1 (housekeeping, Electricals, Cafetria etc) for these categories I am populating combox1 with rowsource property
Itemsname - combobox2 - I want to populate this combobox based on the category selected in combobox 1
The problem I am facing is the items name repeat if there are more than 1 itemsname then all items name show up in the combobox2 which i dont want. I want to see unique values. I will give you example of entries
ColumnA(Category) ColumnB(itemsname) ColumnC (Vendorname)
Cafeteria Beans Cafe Coffee Day
Housekeeping liquid soap Sevak Industries
IT Monitors Infotech solutions
IT Keyboard Infotech solutions
IT Monitors Raj computers
see screenshot the above columns gets messed up : https://prnt.sc/10cbh30
Now in the above example I populate categories combobox 1 with unique values because number of categories are fixed so I have saved them separately and I pick them with rowsource
The main problem arises when I populate combobox 2 with items name. Same Item can be bought from different vendors so Monitors we are buying from different vendors so there are two entries. In combox 2 I see 2 entries of monitors but I want to see only one since the name is same.
Note I am using for loop and adding items in the loop in combobox 2 so it scans each entries of monitor twice so it adds up monitor twice
Can anyone help on this I am frustrated I cant figure out how to get unique values
The problem
How can I get qty percentages to show on a bar chart, with a couple of items filtered and on with dates on axsis x?
The data model:
Date
Item
Qty
01/01/2021
item1
50
02/02/2021
item1
20
02/03/2021
item2
80
02/02/2021
item3
100
Isuppose I'd have to do a sum case for the items and then divide it by a calculated field Sum(Qty), but how would I do that if the items may be filtered by the user?
EDIT:
I've tried applying the built-in calculation, but it gives me the wrong result:
It spreads the percentages horizontally, but I need it to be a vertical analysis.
Thank you
I had the same problem. I didn't find out how to do it in vertical bars, but the 100% Stacking bars will give you the correct result (The percentage of each category in each date) and more or less the same visual information. Just add the date as the dimension and the item as the drill down dimension.
Regards
May be try to check the 'stacked bar' option on Style.
Simply select Percent of total under Comparison calculation when making the bar chart.
Like this:
i have few simple charts where each bar represent day according to date rage control I've added.
i want that the report user will be able to change aggregation
so instead of each bar that represent day,i want each bar that represent month or week
is there anyway i can do that in Google Data Studio ?
Thanks
Assuming you have date as Dimension in the Data tab to the right.
You can 'drill down' by selecting the switch just below.
Add the date dimension again then edit this new dimension and change type
to Date/time and select the granularity such as week or month.
Then in view mode there will be up and down arrows in the top right of the plot which allows you to change view to different drill down options (week/month etc) which you selected in the data tab.
I would like use latest date value from my table in Scorecard,
Any idea how to import this Date value in DataStudio report ?
There is no option like "Max Date", similiar to Max value used in Digit Values.
There is only Count option:
Or advice how to insert date as Label to another ScoreCard chart.
2)
One more question: Is it possible to insert date function in Text field? Probably not right ? If I wanna join my line of text with some Date
Hi Nim thanks for help and what about if I want show last data from last 3 days in 2 item dimension table ? In one item I can just use row filter, but how in 2 item ?
In my case for example most 5 countries by last 3 days, by now I can only show most 5 countries by last day:
...Actually I can setup in the bottom option : date range (last 7days), but I have still too many rows, solution should be somehow limit number of rows per day...somehow
Question 1: How to display the Max Date LIKE a Scorecard?
1.1) Data Tab
- Chart Type: Table
- Dimension: Date
- Sort: Date in descending order
- Rows per page: 1
1.2) Style Tab
- Show Header: Deselect
- Row Numbers: Deselect
- Show Pagination: Deselect
- Table Labels Font Size: As required (e.g. 24px)
1.3) Text Box
- Add a Text Box stating Max Date if required
- Precision Movement: Use Shift + Movement keys to finely place the components exactly where required.
Google Data Studio Report and GIF to expand on the above:
Question 1 (Original Post - Currently doesn't work as expected): How to display the Max Date on a Scorecard?
At the Metric field of the Scorecard, create a Chart-level Calculated Field that explicitly aggregates the Date field by MAX:
MAX(Date)
Google Data Studio Report and a GIF to demonstrate:
Question 2: How to display the latest Metric?
2.1) Data Tab
- Chart Type: Table
- Dimension: Date
- Metric: As required (e.g. Sessions)
- Sort: Date in descending order
- Rows per page: 1
2.2) Style Tab
- Show Header: Deselect
- Row Numbers: Deselect
- Show Pagination: Deselect
- Table Labels Font Size: As required (e.g. 24px)
2.3) Overlay
- Add a shape or text box over the Date field part of the Table to ensure that it's not visible and set the colour of the shape to a solid colour that blends in with the background (such as White for a White coloured background).
- Order: Ensure that the shape or text box is placed in front of the Table.
- Precision Movement: Use Shift + Movement keys to finely place the components exactly where required.
Google Data Studio Report and GIF to elaborate: