When to build a separate reporting database?

In general, the more mission critical the transactional app and the more sophisticated the reporting requirements, the more splitting makes sense. When transaction performance is critical. When it’s hard to get a maintenance window on the transactional app. If reporting needs to correlate results not only from this app, but from other application silos. If … Read more

The type or namespace name ‘Reporting’ does not exist in the namespace ‘Microsoft’

In my case I needed to actually install Microsoft Report Viewer on the troublesome machine. Report Viewer 2010 (version=10) Report Viewer 2012 (version=11) Report Viewer 2015 Of course, other ones are available, it can be worked out which from the Version= on the dll which one is needed. In my case I needed version 11 … Read more

How to generate stats for a GitHub project?

You can try applying gitstats to a cloned repo of your GitHub repo. See for example the activity of the Git repo itself, with many data like the commits per year/month: See also “Looking at Git Statistics”, with the GitHub ‘yearly_stats’ for a simple little script. Update April 2013 (“Get up to speed with Pulse”): … Read more

Passing a parameter via URL to SQL Server Reporting Services

First, be sure to replace Reports/Pages/Report.aspx?ItemPath= with ReportServer?. In other words, instead of this: http://server/Reports/Pages/Report.aspx?ItemPath=/ReportFolder/ReportSubfolder/ReportName Use this syntax: http://server/ReportServer?/ReportFolder/ReportSubfolder/ReportName Parameters can be referenced or displayed in a report using @ParameterName, whether they’re set in the report or in the URL. You can attach parameters to the URL with &ParameterName=Value. To hide the toolbar where parameters … Read more

How do I get a summary count of missing/NaN data by column in ‘pandas’?

Both describe and info report the count of non-missing values. In [1]: df = DataFrame(np.random.randn(10,2)) In [2]: df.iloc[3:6,0] = np.nan In [3]: df Out[3]: 0 1 0 -0.560342 1.862640 1 -1.237742 0.596384 2 0.603539 -1.561594 3 NaN 3.018954 4 NaN -0.046759 5 NaN 0.480158 6 0.113200 -0.911159 7 0.990895 0.612990 8 0.668534 -0.701769 9 -0.607247 … Read more

Report Builder 3.0 SWITCH expression DEFAULT/ELSE

There is no default clause in the SSRS Switch expression. However, you can always modify your expression slightly: =Switch ( Parameters!UserFranNr.Value = “99”,”ID99″, Parameters!UserFranNr.Value = “87”,”ID87″, true, “ID0” ) Since any time the last condition is hit it will be explicitly evaluated to true, the last row will effectively act as a default value. I’ve … Read more

In a Maven multi-module project, how can I disable a plugin in one child?

By “run the plugin”, I’m assuming you mean that the plugin is bound to a lifecycle phase, and you’d like to unbind it in some modules. First, you could consider changing your POM inheritance so that the modules that don’t need the plugins have one parent and the ones that do have a different parent. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)