Building dashboard with Month sorted data validation drop-down - google-sheets

I'm trying to build a dashboard with a month sorted view - where in an ideal situation the user would select the month from the dropdown and the represented data would change accordingly.
So far my approach has been to query the data into a separate sheet using the drop-down option, but I'm facing a problem with the All option.
Example:
My drop-down contains months
Jan
Feb
Mar
...
...
All
This works until the "All" option is selected, as there is no All in my original data. I understand there's other formats of using a date range instead, but I'm curious to know how this can be done as well.
Do let me know if this needs to be clarified!
Thank you.

you can add IF switch:
=IF(A1="All", QUERY(_full_query_here_), QUERY(_query_that_checks_A1_for_month_))

Related

Tableau desktop: Get the latest value from a list of values recorded by the time of the day

I'm using Tableau Desktop 2022.0.4
This is what my data looks like (filtered by date):
I would like to be able to get the value associated with the max value of time for the selected date. In the example above will be 46.1 (associated with 15). Times of the day with their values can be different each day. The source is filtered by date.
I have tried using FIXED but I cannot understand completely how to use it or if it is the right thing to use for this situation.
Thank you for your help with this.

How to compare two tables in data studio

I have two tables in data studio:
I'm asking the user to select two dates to compare two weeks. This way, we can see the two weeks' data side by side. However, I also want to see the percentages of change based on vendor. Is there a way to show this? Or how can I improve the comparison method ?
note: vendor name field is not fixed. it can change for every week.
Data Studio provides a way to compare current date with previous one, but the comparison parameter will be fixed (eg. "current week vs previous week", "current month vs 2 months ago"). That means you won't be able to drop a selector for your users.
With this feature you to select the current date (or a range of dates) and it will always compare to the period you choose in design view. (I usually select the option "previous period", so if the user select a week, the comparison will be with the previous week; if the user select a month, the comparison will be with the previous month).
To achieve this, just check this entry in the documentation.
Another limitation is that it will always display the difference between current value and previous value (delta). Currently, you can't change this behavior.

Cognos - value prompt to display months from january to december

For a monthly report need to display the months January to December in the value prompt. Could you please advise how to achieve this.
Welcome Immi
I do not know what data items are available on the package you are using
However, you can create static values with a value prompt
Look in properties for the value prompt, static. Select the ellipsis
Then add the values
Depending on the version of Cognos, you can search the data items (worst case do this manually, maybe you will luck out and there is a query subject for dates). Look around and see if months is in the package. If they exist, add them to the value prompt query subject and give it a try
Also to consider, your take may require 13 month accounting, displaying the month name won't work in that case.
As far as value prompts there is a display value and a use value
The month name can be the display value and if you need for filtering the month #, that can be the use value.
https://www.ibm.com/docs/en/opw/8.0.0?topic=prompts-adding-static-choices-prompt

Data Studio date range that filter on Google Sheet Column

I'm using Google Sheets, and wanted to do a Data Studio "real time" report, based on the data in the sheet.
The sheet contains data from an issue management program.
My data in the sheet exactly:
Issue type (string), Work time (number), issue created at (date), issue resolved at (date)
I successfully created a pie chart that's dimension is: Issue type and metric: Work time
I can see that all the data in the pie chart.
Now my problem is:
I can't filter this chart with a date range.
The date is in a correct format: YYYYMMDD
but I can't describe to data studio, which date column it should filter when I set a date range in the control.
Is it possible some way to create two date range filter and one of them filter on created date, and the other one filter on resolved at date?
Thank all of you!
Roland
Check to make sure that the date range you're filtering by is the first date column from the left in your Sheet. If it's not, then Data Studio gets confused and doesn't work properly.
I'm not sure if you can have two different dates in two different filters. The graphs wouldn't know which filter to follow.
Finally I deleted the connection between the sheet and the report, and started again everything, and it works fine. I think I created the connection when the date was not in a correct format, I changed it after making the connection.

Excel filter groups some dates but not others

This may be a dumb question with an obvious answer but i can not find or figure out a solution. So I have an excel sheet with 5 tabs, each tab with different data. I've added a filter on the tabs and with some of the date fields it groups by date (you can choose year and month) when you select the drop down. But on others it doesn't. How can i get it to give this grouping option on all of the dates????
Thanks
my best guess is that all the dates in the other tabs might be stored as text and if so, you can convert them back to the date format by copying 1 and pasting as Multiply (Paste Special > Multiply) to all the dates.

Resources