I'd like to create a Power BI visualisation of telephone log data. Which comes in a .csv as follows:
caller nr, calle nr, call start time, talk start time, call end time, duration
2002, 2001, 09:00:01, 09:00:15, 09:02:23, 00:02:22
2003, 2004, 09:00:20, 09:00:25, 09:01:50, 00:01:30
The visualisation should display the amount of active calls per time. In the given example the chart should display one call from 09:00:01 to 09:02:23 but two calls from 09:00:20 till 09:01:50. However, I couldn't find any option to do so.
However I could create a chart, which shows the amount of started calls per time (minute).
Can anyone give me a hint? Many thanks in advance!
Simon
You need a calendar table with minutes as grain, make the relationship, and then create measures to build visuals with that information.
Related
I have a percentage measure calculated in SSAS tabular and its correct.
But when i use it in a report i face the following problem (in all percentage measures).
the values under male and female (which are subgroup of saudi and non-saudi) are correct but if you look at the total under "Both sexes" it is incorrect,because it shows summation of male and female percentage, where the right thing is it shows the percentage of the saudi or non-saudi.
If i calculate the measure in SSRS in the expression fields i get it right as follows
But i want to use the measure to show the right values.
So.. can anyone help me with this i have serious issues in later reports and i just cant simply recalculate the SSAS measures in SSRS using expressions.
Note: dont mind the decimal places differences between the two pics.
Thank you.
You can change your MDX query in SSRS to return the subtotal rows then change your Textbox formulas in the body of the Report to say =Aggregate instead of =Sum. This process is described more here by Stacia. You can use manual MDX queries. Don't miss the comment at the bottom:
Romuald Coutaud March 17, 2011 at 7:52 pm Hi Stacia,
In fact, it works in query mode too in 2008R2. But, I have to admit
that the way that RS and AS work together when you want to use
aggregate function is very difficult to perfectly understand and I
have struggle very long time to make one sample report running in this
way. In query mode you need to write MDX by referencing each level of
the hierarchies from the top one to the deepest one want to display in
your report, even you don’t need to use all these ones. As an example
you have to put Year, Quarter and Month to be sure to display Month
and be able to use aggregate function.
Basically in your report =Aggregate will try to retrieve a row where Nationality is not null and Gender is null. If you get stuck please write back with the list of each field used in each group in SSRS and a screenshot of the MDX query designer.
I have made call to Google analtics API using https://github.com/erebusnz/gapi-google-analytics-php-interface and number of records i get on each call vary from time to time . Say in first call i get 800 records after some time i get 500 total records. I have not made any changes to parameters.Value each page is showing correct but count of some items are missing.
Am using example.report.php with my key and email .
Thanks
Jithin
Oho , I found the answer after a long time. i was calculating from 2005 Jan 1st.Everything works fine on calculating with reference to date of google analytics implementation on my site
I have an issue in obiee11g.The function week_of_year() would retrieve week number as 2 for the date '04-01-2016' but should be the first week in 2016.How can i calculate it as first week of 2016 as the requirement is to display this weeknumber.and also all the other week numbers should work fine.Is it abug in obiee11g?
Thanks
You need to create a Time dimension which will calculate and load a Time (or Date) dimension. In Oracle Fusion applications, this is called "Date Leveling". I'm not sure what it's called in the BI Admin tool.
Either that, or add the appropriate logic in BI Answers to offset the Week number appropriately.
this is my first post. I have been searching for the best way to do this but have not had much success so I decided to post here.
I have a database model that is going to be used to book rooms in a complex. These rooms need to have open and close times to determine when they can be booked. For example, one room may be open from 8am to 10pm but another might be open from 10am to 5pm etc.
One of the requirements, and the part I'm stuck on, is that the open/close times for rooms needs to changed based on a time period similar to a "season" but this time period is manually set by an admin unlike a season.
So, from Jan-11 to March-28, a specific room may to open from 10am to 5pm but from March-29 to July-17 it may be open from 8am to 7pm.
I'm guessing that I need another table or two to store the "time periods" as well as the open/close time of the room during those periods.
Can anyone point me in the right direction or show me an example?
Thanks.
It highly depends on logic of your application, but in the simplest case you can save it inside additional table of the following structure:
room_id INT
period_from DATE
period_to DATE
open_from INT
open_to INT
You can select open time for a room on particular day using:
SELECT open_from, open_to
FROM intervals
WHERE room_id = 4 AND period_from > '2015-08-19' AND period_to < '2015-08-19'
NOTE When you add new period, you should validate, that time periods don't intersect for a given room.
this is my first ever post so please be gentle with me..
I'm a novice SSRS report builder who is trying to achieve something I beleive is so simple, but I can't seem to fathom it. Any assistance or general points in any direction would be appreciated.
My data looks like this:
ID Measure 1 Barrier 1 Measure 2 Barrier 2 Measure 3 Barrier 3
01 Replace Lights Finance Review Contract Time Solar Panels Finance
02 Review Contract Time Solar Panels Time Replace Boiler Finance
03 Replace Boiler Disruption Replace lights Disruption Solar Panels Disruption
I need to be able to count how many times Finance is a barrier to each measure and how many times Disruption is a barrier to each measure and so on...
I think I should group or sort the data in order to apply a count expression but I am not sure of the best way to group or sort the data effectively to be able to render the results in a report.
Thanks in advance
Frustrated novice (aka JMS)
You should give a lot more information, I dont know what version of SQL you are using nor do I know where you get your data (if it is from sql it would be possible to get this data directly in the table from sql.)
In your dataset, add a expression column like this :
=SUM(IIF(Fields!Barrier1.Value = "Finance",1, 0))
and name it "Barrier1count"
in your table, right click on the last row, select insert row, outside group, bellow.
under any measure column, do a right click select expression, and paste this
=SUM(Fields!Barrier!Value)