Is there a way the hover state to show the full timestamp including year, month, day, hour and min? Something like 2013-Oct-06 13:32
At the moment the hover state shows different parts of the timestamp depending on the resolution of the graph.
Here are the docs for the visualization:
https://google-developers.appspot.com/chart/interactive/docs/gallery/timeline
I manage to think of workaround of this limitation.
What I did is to place the time string formatted exactly as I wanted to be as the bar label for the time period. Since the bar label is present on the first row of the tool-tip, this solves the issue very nicely.
Related
I have a PBI desktop dashboard I've created to pull machine data from a local SQL server. I'm using a relative date time filter on one of the pages to drill down data for live feed, however anything under 5 hours of the relative time, the data goes blank.
I use 4 log tables for the raw data, each having their own time stamp for each instance. Each are related using a ID table with other general information contained. In addition, time is related using a calculated table to create a timeframe of all instances:
Relationship Model
DateTable = distinct(union(SUMMARIZE(LogFault,LogFault[Time]),SUMMARIZE(LogGood,LogGood[Time]),SUMMARIZE(LogReject,LogReject[Time]),SUMMARIZE(LogState,LogState[Time])))
5 Hours Relative Time
4 hours relative time
As you can see from the top right of the images, not even the times are pulled to the page. Is there a limitation to PBI on the relative time function? This wouldn't make sense to me if there is a "minutes" option under relative time. Any feedback on this would be appreciated.
For those looking in the future, unfortunately PowerBI desktop, along with service, appears to only like to work in the UTC time zone. So the relative date/time was filtering based on the UTC time zone, not my time zone (EST). In order to resolve this, I had to create a new calculated column next to my distinct time stamps to correct for the time zone. I then used the adjusted time for the relative time filtering, but the charts remained under the original time stamps.
UTC to EST time zone adjust
UTC_AdjustTZ = FORMAT(DateTable[Time]+TIME(4,0,0),"General Date")
Chart Example after adjust
Chart after fix implemented
Probably because your filter on Date Table doesn't reach the destined table. Normally filter moves from one side to many side, then one side to many side in a chain of relationships; but
In your case for example:
Filter goes from Date Table to Log Reject then It can't move to RejectDefinitions because of the filter direction. You have 2 options here:
1) Change the model relationships : Make Log Reject(One side) and RejectDefinitions(Many side) if It is possible.
OR
2) Set the filter direction as Both in the model.
You need to do this for all the remaining log tables(LogFault-FaultDefinitions,Logstate-StateDefinitions)
I hope It solves your problem. Please check that your model is not ambiguous after making those changes.
I'm trying to create a Gantt chart that allows the user to add or remove resource to a certain project, therefore adjusting the end date accordingly. Within the data tab I have been able to do this as the resource comes in with that data as a static figure and I've created several calculated columns to achieve this. However, when turning them all into measures and getting the visual reacting to it correctly, I'm running into problems.
So just to confirm, I can do this within the data tab, but I'm trying to do this so the user can dynamically change this end date figure, which is why I need them as measures.
This is my current calculation that isn't working.
IF(SelectedResource] = 1 , [DurationHours] - [Rec hours] * [DurationHours], etc etc
Duration hours is a date diff between the start and end date
Rec hours is based on the number of resource clicked (So if 1 is selected, one person works a 6 hour day, so 6 is returned)
I've tried different functions like calculate, sum etc and still no luck. Any help would be apricated. First post so if this is in the wrong pace or I've missed something let me know.
Cheers
I am looking into utilising PowerBI to identify time saved due to various Projects. People will add the projects to a Sharepoint List which then feeds into PowerBI.
PROJECTs Table:
Project Tite, Desc, Hours/Month Saved, StartDate, EndDate, Repeat? (T/F)
[Some Projects only save a fixed 10 or so hours, others save time per month (indicated by the Repeat Column)]
I've created two measures, RUNTIME determining how long the project has run in months ((TodayDate - StartDate)/30) as well as TIMESAVED which is the total hours saved from that specific project (RUNTIME*Hours/Month Saved).
Whilst this works, it has a pretty big limitation. When selecting a range, say 01/01/2017 - 01/01/2018, any projects with a start date before that range are excluded. However these maybe on-going, meaning the time saved by this project during the range needs to be added.
I've attempted to find a solution to this, however I keep getting stuck at requiring the the filter dates from the slicer, however I'm not certain this is possible. I need those projects with on-going savings to have the savings during the period given to be counted as well.
Possible alternative maybe to create a Month/Year column per Month/Year with a custom formula per column to determine that projects Hours saved for that Month/Year however this seems inefficient, at that point back to Excel might be better.
Any ideas / suggestions would be greatly appreciated, currently running through any ideas to solve but keeps coming back to needing that value specified by the filter. Cheers in advance for any advice tackling this :)
See also: https://community.powerbi.com/t5/Desktop/Re-occuring-Savings-over-Time-with-Time-Date-Slicer/m-p/346100
Unfortunately, there is no current simple solution to this problem out-of-the-box with Power Bi. All of the slicers seem to handle dates as a single point in time. They suffer in that if you are dealing with any items that span a Start and End date (like your projects, and most of my data examples) they only take one of the dates as the input. The slicers need to accept an optional end date in our case and then perform a simple date span overlap logic to determine the items that match.
I tried to solve your problem with out-of-the-box Power Bi Desktop slicers and a custom visual Timeline Slicer I found at the store with no luck earlier this month. Out of frustration, I posted a question in the Power Bi forums for suggestions.
The final suggestion from the forums I got was to "use two Filters at Filter pane". But I am not satisfied with this answer.
The Timeline Slicer code is open source and when I get more time (ha ha), I would like to make this change to the Timeline Slicer and publish it back to the repository for everyone to use.
I will monitor this question and the forum to see if a solution emerges in the future.
You can use Timeline Storyteller. you can create your time line and add a couple Slicers for Start and End. It will split by day the dates and you won't miss any data.
Is it possible to create a slider in PowerBI just like we create a slider in EXCEL.If possible can someone point me to some basic tutorials for that or may e an example would really help a lot.
I think OP is referring to a slider in the context of having a slicer with variable values that can be adjusted by dragging a button of some type along a bar with beginning and ending values, such as a date. Power BI added a date slider in a recent update which is accessed by choosing the slicer visual in your screenshot and selecting a date field from the query. There is also a custom visual which allows granularity from year to quarter to month to week to day. The beginning of the fiscal year can be customized in the formatting options, so it's pretty useful if one is using Power BI in a business setting.
Unfortunately there doesn't seem to be any other type of slider available which allows the use of fields other than ones which contain date values. Even when the field is a date/time value, neither of the sliders have the ability to show hours/minutes/seconds. I was searching for one I could use with time or even on an index column when I saw this question and haven't had much luck.
I have some rrd files. I have found a cgi script that draws a graph for this rdd. You can choose (from the webpage where the graph is drawn) if see the graph for the last hour, day, week or year.
I know that there could be more rra in a single rrd. I was thinking that for this rrd there are 4 rra, one for the last hour, one for the last week etc)
Do you know how can I verify this? is there any command?
note that the charts are not immediately tied to the available rras ... you can choose any resolution you want ... depending on the rras available the steps in the chart will be wider or smaller.
Check out 'rrdtool info' and see if that gets you what you need.