Genesys Pulse - Adding a Custom Statistic to a Template - pulse

I'm trying to add a custom Statistic to Pulse Web. This statistic is currently used in CCpulse and I'm trying to replicate it in Pulse Web. From the documentation it seems like I need the Main Mask, Subject and Category but it's never explained how they come into play.
Is there a way for me to pull this statistic via Formula or the Statistic Type field? I tried using the same Statistic Type name I saw in CCPulse but this gave me an ERROR value.

You can define custom formula statistics in the stat server options tab with Category, Objects, Expression, Subject, MainMask, etc. as mentioned in the documentation.

Related

How to create a geographical heat map in excel using Formulas

I am trying to generate a heat map from given data. i Need to analyze where participants came from and how far they were from the event. i Am trying to visualize this in excel and so far have been unsuccessful.
So far I've tried creating each column into a Formula so that I could generate the map via a YouTube tutorial but haven't been able to get it to work. There are international Zip Codes which I feel might be throwing off the map.
I was attempting to use the OFFSET Function to make the data linear and more easier to analyze
=OFFSET(Table1[[#Headers];[Country]];1;0;COUNTA(Sheet1!$A:$A)-1
Any suggestions on the best way to do this in excel? Or how to fix the code so it fits for the analysis. I'll post a bit of the data below.
"Customer Id","City","Region Code","Postal Code","Country","Product Membership Description"
"123","Jacksonville","FL","32256","United States","Metro Magazine;NEWS-MET-Express"
"456","HARTFORD","KY","423471178","United States","Government Fleet;Metro Magazine;Work Truck Magazine;NEWS-GF-Enews;NEWS-GF-EquipmentGuide;NEWS-GF-TopNews;NEWS-MET-Blogs;NEWS-MET-Express;NEWS-MET-Rail;NEWS-MET-Trending;Z3 Metro Transit Accessibility - 6193;NEWS-WT-Utility"
"789","TALLAHASSEE","FL","32301","United States","Metro Magazine;NEWS-MET-Express"
So, just played with your data and set this up. You can expand as you wish, use the city or the region code or post code as you wish.
You can decide what distance data you want to use, perhaps circles of distance from your location may be interesting...

Azure Search Distance filter with variable distance

Suppose I have the following scenario:
A search UI to allow individuals to find plumbers who are able to service their home location.
When a plumber enters their info into the system, they provide their coordinates and a maximum distance they are willing to travel.
The individual can then enter their home coordinates and should be presented with a list of plumbers who are eligible.
Looking at the Azure Search geo.distance function, I cannot see how to do this. Scenarios where the searcher provides a distance are well covered but not where the distance is different for each search record.
The documentation provides the following example:
$filter=geo.distance(location, geography'POINT(-122.131577 47.678581)') le 10
This works correctly but if I try and change the 10 to the maxDistance field, it fails with
Comparison must be between a field, range variable or function call
and a literal value
My requirement seems fairly basic but am now wondering if this is currently possible with Azure Search?
I found an azure feedback suggestion asking for this feature but no news on if/when it will be implemented. Therefore it is safe to assume that this scenario is not currently supported.
To add to Paul's answer, one possible workaround is to use a conservatively large constant value instead of referencing the maxDistance field in your $filter expression. Then, you can filter the resulting list of plumbers on the client to take each plumber's max distance into account and produce final list of plumbers.

statistic generation in use-case-diagram

I have use cases where the user can browse statistics.
The statistic should be generated automatically every 10 secs.
Whats the best way to model the dependency between view statistic and generate statistic?
So the user can change the interval or something else in the statistic generation.
Or should I remove generate statistic from the use case diagram?
___UPDATE
And what happens when I have one more use case for controlling the statistic generation? Would there be a stroke between generate statistic and control statistic generation or not?
The statistics a generated by a different actor (say Scheduler). So this needs to be the actor for this use case.
If something else controls creation of statistics you can go via Generalization:
DON'T remove Generate statistics. It is important part of functionality, a separate use case and removing it will confuse the actual functionality.
As #thomaskilian already provided answer how to handle Generate statistics it I'll not repeat it here.
Second important information - even though all mentioned use cases (View statistics, Generate statistics and Control statistics) are related to statistics as such, as behaviours they are separate and they are NOT related. So no relationship on diagrams.
Of course the statistics generation depends on current objects related to statistic generation while Control statistics changes those objects. Similarly Generate statistics generates object of type Statistics and View statistics gives possibility to view those objects, but those relations are only on data level. The behaviours (use cases) don't interact directly.

How to embed basic weather report for current time for fixed location in web page?

What I need:
I need to output a basic weather reports based on the current time and a fixed location (a county in the Republic of Ireland).
Output requirements:
Ideally plain text accompanied with a single graphical icon (e.g.
sun behind a cloud etc.).
Option to style output.
No adverts; no logos.
Free of charge.
Numeric Celsius temperature and short textual description.
I appreciate I'm that my expectations are high so interpret the list more as a "wish-list" rather than delusional demands.
What I've tried:
http://www.weather-forecast.com - The parameters for the iframe aren't configurable enough. Output is too bloated.
Google Weather API - I've played with PHP solutions to no avail though in any case, apparently the API is dead: http://thenextweb.com/google/2012/08/28/did-google-just-quietly-kill-private-weather-api/
My question:
Can anyone offer suggestions on how to embed a simple daily weather report based on a fixed location with minimal bloat?
Take a look at http://www.zazar.net/developers/jquery/zweatherfeed/
It's pretty configurable, although I'm not sure if there is still too much info for your needs. I've only tried it with US locations; all you need is a zipcode. The examples show using locations from other countries. I'm assuming it's a similar setup to get locations added for Ireland.

Can an excel worksheet be used as UDF?

I'm building a network business model in excel. A similar model is that of Gawker Media.
In my model I have a number properties that have some over lap of audience. Each property attracts users, which in turn affords cross promotional opportunities. In the case of Gawker they have a series of blogs whose audience will likely read several of their blogs in their network.
If gawker launched a new blog they're able to direct traffic from their blog network.
Creating a model for a single blog is fairly simple - although the initial assumptions are harder. The next step is to model the network effect.
Excel provides a scenarios manager that allows me to vary the key assumptions in the basic model. This is almost perfect, I can model the launch of 10 properties, each with different launch assumptions and see the summary.
Where I need help is figuring out how I can vary the initial number of users for the launch of each property. In other words, once the network is established, its possible to drive people to any new property launched on the network.
I don't believe the scenario manager will do what I need.
So, I'm wondering if its possible to use the model work sheet as a UDF? The UDF would need to spit out the monthly revenue and unique users given a number of input assumptions.
I would then be able to create my own summary sheet for the 10 properties and using the total uniques for each property get a summary for the network. This network summary would be used to determine how many people could be driven to the launch of a new property.
In effect, the only difference to the scenario manager is that I need one of my input variables (initial users) to be programmatically generated as a function of the number of people in the network at the time of launch.
I'm hoping its possible to achieve something along these lines in excel. I could drop down and create the whole model in Java, but then its much harder to share with business colleagues!
Thanks - Matt.
You could try Data Table.
It only allows you to analyse the effect of varying 2 input parameters, but you can create several data tables, and each parameter can take hundreds of different values.
It's little know, but efficient and available since Excel 3.0.
There is a product that I have researched but never used - search for calc4web. It takes a sheet of formulas and generates code (C++) that can be compiled into an XLL add-in. Then you can call a function that does what your sheet does. But of course then you have an XLL to distribute, and a build step every time you change your logic, which defeats much of the point of using a spreadsheet.
In my case, I wound up writing some very simple VBA code to vary my sheet "inputs" using the scenario manager, and capture my "outputs". This works if you have a batch of inputs that you can just point your macro at and step through.
EDIT:
See here for a VBA-only example of doing this:
using a sheet in an excel user defined function

Resources