Issue#30: Tableau - Calculate Sum of Duration (Hours and Minutes and Seconds)

  • I have a lot of data points that include hours, mininutes and seconds. There are formatting as  hh:mm:ss in Excel. I'd like to calculate the total duration. I did some research in the forum, but I still don't know how to get the sum.

    Is any one can help me? Thanks in advance.

     

    Regards,

    Regina

    0 Answers

    Sorry, your answer is too short !

  • Issue#573271: Sum of duration of task with Days, Hours, Minutes

    Hello, While taking the first baby steps into Power BI, I was trying to get grips with how to sum time spent on a particular project and got stuck. Say that I have a table where each row represents different time entries, each being assigned to different projects, as below.Creating a measure to sum the duration would be expected to return a sum of 36h, which is not. It is showing 12h instead. I understand that it may be deducting the first 24h from the lot. Is there a way that I can format the SumOfDuration column to keep adding up the hours and report values such as [Days][Hours][Minutes]? Thank you for your help.

  • Issue#464482: After Effects - How to make years months days hours minutes seconds countdown.

    Hello, as the title implies my objective i'd like to do just so.I've dabbled with it on my own with no success and have looked at countless threads and videos but cant find an easy answer.I would like to have the countdown start from the 2 Year mark and count all the way down through months, days, hours, etc... and would like to have it all done in about 1-2 minutes. Is there an expression i can use or another method so i can accomplish this? I'm pretty new to after effects so everything is just a little confusing.Any help is appreciated or direction to a thread that already covers this topic.  Thank you

  • Issue#676287: Converting milliseconds to days:hours:minutes:seconds?

    Hi, I have a sql field that returns an elapsed time value in milliseconds (i.e. days, hours, minutes, seconds) Is there a simple way to convert that into something meaningful? I've managed to convert it to a datetime at source by doing this which I think worked: dateadd(millisecond, myfield %1000, dateadd(second, myfield / 1000, '19700101')) Example: 30871000 milliseconds gives me 01/01/1970 08:34:31Manual calculation of that is:30871000 / 1000 = 30,871 seconds / 60 = 514 minutes / 60 = 8.57527777 hours, so about eight and a half hours. The problem with that though is that this is then an elapsed time since 1 Jan 1970.  Simply doing a SUM on these won't give me a total elapsed time that I can tell? Any thoughts on how best to tackle this greatly appreciated. Many thanks,D.

  • Issue#20: Tableau - Aggregation issue

        Hello all, I just want to begin by saying how much this forum has saved my job! Thanks everyone! I am having an issue getting my values to aggregate properly. I have attached two pictures below to help explain:BEFOREAFTERThe problem is that when I remove a dimension, the values are not aggregating properly. Each Facility and Cost Center should have 1 App attached to it and taking away Summary Pay type should not aggregate those Apps. Once I take away Cost Center, then they should begin to aggregate. I can use MAX() but then it keeps the same value when I get rid of cost center and I would want that to be Summed. The end goal of this is to track Dollars/App By facility and able to drilldown to cost center, then summary pay type and another layer of fidelity that I may add in. Thanks!

  • Issue#5812: Tableau - Combining Weekday/Weekend with Business Hours

    I have two calculated fields which work great alone or together.  What I'd like to do, due to screen real estate being low, is to combine them into one filter.  I've tried stacked If Else statements but, as I expected, it doesn't calculate properly due to the statement.  I was wondering if anyone else has had an issue like this and came up with a good solution. Weekday/WeekendIF (DATEPART('weekday', [Resolve Time] )= 1 or datepart('weekday', [Resolve Time])=7) then 'Weekend' else 'Weekday' end Before or After Business Hoursif(DATEPART('hour', [Resolve Time] ) >= 7 AND datepart('hour', [Resolve Time])<= 18) then 'Business Hours' else 'After Hours' end

  • Issue#8348: Tableau - Need to SUM Revenue based on COUNTD of Client Name

    My data has a Client Name field and a Revenue field.  Because it is coming from Salesforce daily snapshots, each record is duplicated multiple times. I have run a COUNTD[Client Name] to count the number of unique clients.  Now I want to SUM[Revenue] but I need to only add revenue once for each distinct client. e.g.:Client A     1,000Client A     1,000Client A     1,000Client B     3,000Client B     3,000Client C     1,000Client C     1,000 COUNTD[Client] gives me 3REVENUE should be 5,000 ... how do I get there? Thanks,Cheri

  • Issue#10930: Tableau - How to sum ONLY the first instance of a value

    I have rows of data that I want to sum - but only if one of the ID's is the first instance. In other words  - Multiple rows of sales data -  many sales rows have duplicate customer ID's but I only want to sum the $$ field if it is the FIRST instance of that Cust ID? I want to write a Calculated Field which will get only the first instance of a value by Customer ID.  Then I can sum that field at different levels of detail in my worksheets. I'm using Tableau 9 -What formula can I use?

  • Issue#11084: Tableau - How can I show two running sums in bar charts and the sum of them as a line chart in one c

    Currently, I have two running sums of two groups of data. Also, I have a calculated field showing the sum of these two running sums. As a result, I have a picture shown below: Now is there any ways for me to combine the sum of two running sum into one coordinate?It seems like Tableau only allows me to synchronize the axis when dealing with two calculations but not three. Could anybody help with this problem? Any tips will be appreciated. Thank you.

  • Issue#19888: Giffgaff - No contact for 24 hours on issue

    Trying to send complaint emailAnd keep getting bounce back mail saying added incorrect even after I've changed aEm so and resent . Not getting any response to my last 5 mails to giffgaff

  • Issue#48790: Tableau - Calculate Task time to Completion using Working Days

    Hi All, I have looked at all the existing forums ( https://community.tableau.com/message/324881) on excluding holidays and weekends but did not get a working solution for me. I came across a solution but then in few cases I get negative dates. Also I like to know if just blending the holiday spreadsheet is enough to filter the holidays when calculating the days to completion.  I have attached my sample workbook and really appreciate any help. ThanksJag

  • Issue#49238: Tableau - count down from total sum

    hello all, i think i got a simple task for Tableau but as i am still learning i would like a little guidance please  i got a dataset with 2000+ drawing numbers and a date next to them showing when authorised,i have been able to create a calculated field that counts the authorised dates and then map this on line chart by date (screenshot) i would like to have a count down from the sum total, so instead of showing the amount of drawings issued that month, i want to show how many drawings are left in total per month so in December instead of 166 we would have around 1700  any help would be great thanks

  • Issue#52469: Tableau - total or sum of groups

    Hello, I tried searching the forums for an answer to this, but I'm trying to show the totals for each "department" as seen in the screenshot below.. so for COM I'd like to show the sum of CNTD(Stac ID) and the sum of Active Students Count eg - COM - 22 34 I'm working on attaching a sample workbook, but I have to anonymize the data etc... I feel like it's something close to a window_sum(countD()) but I can't seem to make it quite right.. any help is (of course) appreciated! 

  • Issue#60591: Tableau - I want to calculate ratio between two rows. How can I do it . Little URGENT

    I have following table  I want to Ratio of values against "network" row. So for "Demog" , 4th jan data should show me .038/.17 . Can someone help me? I am struggling to do this ?

  • Issue#69180: Tableau - Calculate % and $ variance

        Hi,  We are looking to calculate the % and dollar variance of two columns (attached). We've seen a lot of questions and are currently reading through and article but have yet to find a clear and simple solution. Can someone within the forum provide the steps? Thanks, D. 

  • Issue#70674: Tableau - Change map view based on hours of the day: slider?

    I'd like to allow a user to use a slider to move through the hours of a day, and have the corresponding view update accordingly. My data is SQL transactional data with timestamps down to the second, and I'm restricting this to a 24-hour 'day-to-date' view, aggregating at the level of the hour. I've created a parameter which can take integer values from 0-23, but don't know how to take that next step of linking it to my data and making it act of the view. Any help would be appreciated! Note in the view below that the slider has no effect. The data in the view is for the whole day. 

  • Issue#78085: Tableau - Why does the Backgrounder fail though there seems no memory issue ?

    Hi All, I have Tableau Server version 9.2. Data sources are extracts and MySql data connection. I have 3 backgrounders. The system is of very high configuration (64bit, 32 Gb RAM, 7.5 TB memory). MySql Db is on different server than Tableau (which is also with good config) Sometimes there seems error as Lost Connection-com.tableausoftware.nativeapi.dll.TableauException: [MySQL][ODBC 5.3(w) Driver][mysqld-5.5.39]Lost connection to MySQL server during queryin background status of extracts although the refresh extract query is not heavy and executes in seconds. When I look at show processlist there was no memory issue/lock or anything during the execution. Also the system memory on both the servers seem fine too during the error time. I have seen in some threads where it is mentioned that the backgrounder restart itself in some interval.Is that true?  I am getting this issue in this version only. Din't get in previous version. Also, not every time same extract gets fai

  • Issue#85301: Tableau - Sum between two dates that are different for each row

    Hi, I am trying to figure out how to calculate a sum for each row between a start date and yesterday that have different start dates or reset dates.   Each row represents a store. I want to say sum the # of hours open between yesterday and each store's reset date.  I've calculated the reset date (which is equal to the later of the opening date and last time it was refreshed) but I can't figure out how to get it to sum the hours for only that window per store.   I've attached a really simplified version of what the data looks like (post the simple calculations). Many thanks,sam

  • Issue#94630: Tableau - Sizing issue

    HiNeed help with server sizing issue.30~ datasourcesAll datasources are liveDB is Hive/Hadoop100~ users – means 10~ concurrent usersA lot of data – 500~ Tara

  • Issue#97794: Tableau - How to sum the salary by month

    Hi I am new to tableau and i have a following question.I have the following table         Customer #Monthsalary3Feb303Jan354Feb381Feb404Jan401Jan502Feb60By customer i want sum of salary in a new column.For example if its customer id is 4 it should be shown as Jan+Feb.I know it might be a silly one.But your inputs will be greatly appreciated. 

  • Issue#98344: Tableau - Trying to Dynamically Sum Top Ten Clients for Percentage of Total Revenue Chart

    I'm working on an item to show what percentage of the total revenue earned in a period could be attributed to the top ten clients.  I want to be able to show the top ten clients in a variety of different cuts and they should hopefully update dynamically.  For example I'd like to be able to show the top ten revenue as a percentage of total revenue for a given month, a given geographic area, a given region and account manager. Is there a way to sum up the top ten so that I can divide it by a TOTAL(Sum(Revenue)) table calculation?  I've attached a sample workbook along with the ranking formula I've been using up until this point.  I'll be happy to try to explain further. Thanks,Brian

  • Issue#109784: Tableau - Sum Top 5

    Hi, Thought this would be easy, so I'm hoping I just can't find the solution.  All I'm trying to do is get the top 5 that are showing in my window pane versus the total of the whole dimension.  Basically the total for Tier 1 shouldn't be $48,757,893.  It should be $92,051.  How do I achieve that?  Thanks  

  • Issue#121470: Tableau - Running sum wrt to Today's Date

    Hi, I need your help with respect  to running sum for two measures. So I have use to measures to display a dual line graph and taking running total of both of them. Let us take an example for Plan and actual value. Plan-is for entire yearActual- is wrt to Today's date Plan is a trend line and Actual is an area chart. I want the Actual area chart should only be limited to today’s date and not go beyond that. Please find the snapshot attached.

  • Issue#125409: Tableau - Sum Grand Total

    Hi All I have an issue where applying "Show Row Grand Totals" where I have used a color to differentiate same measure against a dimension (to highlight a current month in time series). When applying row grand total it will breakdown the total based on the color (see attached image). Any idea to resolve this. I cant use 2 sheets since there is a hierarchy

  • Issue#125681: Tableau - Calculate sales For Top 10 Customers and then Compare that with Total Sales

    Hello, I am trying to compare the Sales of top 10 customers in every product sub category to the total sales in that sub  product category. I have calculated Ranks and I am able to find out top 10 customers in every product sub  category but I am not able to compare the Sales of these customers with Total Sales in that sub category. Could you please help me in this. Attaching the workbook here. Thanks,SS

  • Issue#126310: Tableau - Parameter Issue

    Hi All, I got issue with parameter where iam trying to find 'sales' of Sub-category for Last >15days,>30days,>45days from today date. So i created a parameter for 15days,30days and 45days and i wrote calc like if [Days] = "15 days" and DATEDIFF('day',TODAY(),[Order Date])< 15 then "Show"elseif [Days] = "30 days" and DATEDIFF('day',TODAY(),[Order Date])< 30 then "Show"ELSEIF  [Days] = "45 days" and DATEDIFF('day',TODAY(),[Order Date])< 45 then "Show"ELSE "Hide" END  but above calc is not affecting view and i attached twbx file so can someone pls look into my issue and correct me where iam making erro (twbx file is in 9.1version)  Thanks

  • Issue#127163: Tableau - Date field in Dimensions..unable to calculate it in measures

    Hi All, I would request some one to guide me on this..i have a transaction sale date in dimensions. I need to calculate the number of days since the item sold. i have created a calculated field for current date as today(). i am facing difficulty in seeing the differences between the current date (in measures) and the transaction date (in dimension). I tried converting the transaction date type in dimensions from string to date or a number..but unable to succeed to bring it in measures or in the formula area. Can someone help me with this? -Sudhakar Dhamodharan

  • Issue#131748: Tableau - Aggregation Issue (Part II)

    Hello all, Some time ago I was having an issue with my data due to the level of fidelity it was being joined on. I've since gotten a solution for it which can be seen in my attached work book's calculated field. I have an incremental ask to this issue now. Now, I am able to aggregate properly by pay period but When I try to sum up the year, it is aggregating only the values that are there instead of by the cost center. Example attached. When you remove the Pay Period pill, each value on the stage should be the same as long as it's in the same cost center, regardless of the pay type or job class. QA: The sum of A Cost Center 6000 should be the ball park of 8563. Thank you!

  • Issue#138264: Tableau - Sum Ifs not hard coded

    Hi. I have been looking to a lot of different article without finding a solution which fits my problem. This is a logistics / shipment problem.I have 5 columns: I would like to detect if 3 or more of the same product are send for each Request. In Excel I would for each line enter this formula:=SUMIFS(E:E,A:A,A2,D:D,D2) and then If F2>=3 then...                                                                               How would you do it in Tableau? The concatenation methods may not work since I will set up the table to have for unique key Concatenation Order Number&Li

  • Issue#140138: Tableau - Dynamic cummulative sum like excel

    Hi. I have been trying to generate a formula that accumulate values in a dynamic way like excel do.For example: I have a data source (first 2 colums), with a date field and values for each day. I would like to generate, in another table, an output (like 3rd and 4th colums) that accumulate, for the next 10 days, and put result the within the day where the sum begin.I dont know if there is any expression that can do this job or if I need to create filter or parameter. Español: Necesito ir acumulando de forma dinámica por 10 días e ir colocando esta suma en cada celda. Si el día es 5 de enero, acumular desde el 5-14 y colocar esta suma en el día 5. Para el día 6, acumular desde el 6-15, y así respectivamente. Agradezco si conocen alguna sentencia o método para lograr este resultado.     Data SourceOutputDateValuesDateValueExplanation1/1/201511/1/201524sum from day 1-101/2/201521/2/201524sum from day 2-111/3/201531/3/2015