5 private links
Pedro Tabernero
In addition to time estimates, provide plots of estimated W’Bal expenditure and recovery — a Critical Power model can determine if the designed workout is too hard or too easy, which would be really cool.
This view model is obviously designed to manage a list of contacts. It also exposes a delete command and a flag to indicate whether delete is allowed (thus maintaining state for the view). Often the flag would be part of the command object, but the example is in Silverlight 3 which does not have native support for command binding, and I wanted to show a simple solution that didn’t require a fancy framework. The view model here makes a concrete reference to the service, you would most likely wire in that reference externally or use a dependency injection framework. What’s nice is we have the flexibility to build it like this initially and then refactor as needed. It fetches the list of “contacts” right away, which is a hard-coded list of me and someone a little more popular. The phone numbers, of course, are faked.
The 2.8 version of DAX Studio introduced a feature to define a “Filter Dump” measure. The purpose of this measure is to analyze the filter context of every column of the model (or of only one table), creating a string with the name of the columns that have an active filter in the filter context followed by the items that are applied as a filter. In order to create that measure, right-click on a table name in the Metadata pane of DAX Studio and select one of the highlighted menu items.