This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sparkline Column Categorical Axis = | |
// Static column color - use %23 instead of # for Firefox compatibility | |
VAR BarColor = "%2301B8AA" | |
VAR BarOutlineColor = "%23DDDDDD" | |
VAR BarOutlineWidth = 2 | |
// Obtain number of columns - width generated based on column count (~20 column maximum for bar chart) | |
VAR BarCount = DISTINCTCOUNT('Table'[Customer Segment]) | |
VAR BarWidth = INT(DIVIDE(100,BarCount)) | |
// Obtain overall min and overall max measure values when evaluated for each column | |
VAR YMinValue = MINX(VALUES('Table'[Customer Segment]),CALCULATE([Measure Value])) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sparkline Line = | |
// Static line color - use %23 instead of # for Firefox compatibility | |
VAR LineColor = "%2301B8AA" | |
// "Date" field used in this example along the X axis | |
VAR XMinDate = MIN('Table'[Date]) | |
VAR XMaxDate = MAX('Table'[Date]) | |
// Obtain overall min and overall max measure values when evaluated for each date |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Probability = Map<string , Map<string,float> * float> | |
let mapAddGeneric m a f i = | |
if m |> Map.containsKey a then | |
Map.add a (f m.[a]) m | |
else Map.add a i m | |
let inline pairAdd (a,b) (c,d) = a + c , b + d | |
let inline div (a,b) = a / b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A LessCSS version of the 960 Grid System | |
* | |
* http://lesscss.org/ | |
* http://960.gs/ | |
*/ | |
/********************************************************************* | |
* Settings * | |
*********************************************************************/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .gitignore for .NET projects | |
# Thanks to Derick Bailey | |
# http://www.lostechies.com/blogs/derickbailey/archive/2009/05/18/a-net-c-developer-s-gitignore-file.aspx | |
# Additional Thanks to | |
# - Alexey Abramov | |
# Standard VS.NET and ReSharper Foo | |
obj | |
bin | |
*.csproj.user |