<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ssrs on Wingate365</title><link>https://blog.wingate365.com/tags/ssrs/</link><description>Recent content in Ssrs on Wingate365</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Sun, 07 Jun 2026 10:05:00 +0000</lastBuildDate><atom:link href="https://blog.wingate365.com/tags/ssrs/index.xml" rel="self" type="application/rss+xml"/><item><title>Fixing Email for Guest Users in D365 Business Central</title><link>https://blog.wingate365.com/2026/04/fixing-email-for-guest-users-in-d365.html</link><pubDate>Sun, 26 Apr 2026 20:41:00 +0000</pubDate><guid>https://blog.wingate365.com/2026/04/fixing-email-for-guest-users-in-d365.html</guid><description>&lt;!--Blog Post: Fixing Email for Guest Users in Business Central - Open Source Extension--&gt;
&lt;!--Labels: D365BC, SECURITY, ADMIN, VIBE CODING, COMMUNITY--&gt;
&lt;p&gt;If you manage any Dynamics 365 Business Central clients where users sign in as Entra B2B guests (aka M365 Guest Users) you've probably hit this issue:&amp;nbsp;&lt;b&gt;the built-in email connectors don't work properly for guest users.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;The use of guest accounts in BC is becoming more common due to organisations with a multi-tenancy strategy or where companies are looking for&amp;nbsp;very clear separation of data access &amp;amp; governance. The expectation is simply that users email will just work in BC guest or not!&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item><item><title>SSRS Index was out of range!</title><link>https://blog.wingate365.com/2015/05/ssrs-index-was-out-of-range.html</link><pubDate>Sun, 17 May 2015 20:35:00 +0000</pubDate><guid>https://blog.wingate365.com/2015/05/ssrs-index-was-out-of-range.html</guid><description>&lt;p&gt;This was a real pain, in the end possibly solved by having no page breaks in the sub-reports. It would also appear to be best practice having each table in separate sub-report&lt;/p&gt;</description></item><item><title>SSRS 2008 R2 Report parameters for MySQL datasources</title><link>https://blog.wingate365.com/2014/04/ssrs-2008-r2-report-parameters-for.html</link><pubDate>Tue, 08 Apr 2014 07:41:00 +0000</pubDate><guid>https://blog.wingate365.com/2014/04/ssrs-2008-r2-report-parameters-for.html</guid><description>&lt;p&gt;If you are using MySQL databases in SSRS you have to manually add the parameters.&lt;br /&gt;
&lt;br /&gt;
For a date range&lt;br /&gt;
&lt;br /&gt;
Manually add two parameters&lt;br /&gt;
@start (date/time)&lt;br /&gt;
@end (date/time)&lt;br /&gt;
&lt;br /&gt;
Go into dataset properties&lt;br /&gt;
Updated the query with appropriate where clause:&lt;br /&gt;
&lt;br /&gt;
e.g. WHERE table.date between @start and @end&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;h1 id="the-system-gives-an-error-warning-about-defining-the-parameters-ignore-this"&gt;The system gives an error warning about defining the parameters, ignore this.&lt;br /&gt;&lt;/h1&gt;
&lt;br /&gt;
Define parameters in dataset properties&lt;br /&gt;
link parameter name "@start" with Parameter Value "@start" and same for @end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description></item><item><title>SSRS Access Logs - Big Brother is Watching</title><link>https://blog.wingate365.com/2014/03/ssrs-access-logs-big-brother-is-watching.html</link><pubDate>Sat, 15 Mar 2014 00:20:00 +0000</pubDate><guid>https://blog.wingate365.com/2014/03/ssrs-access-logs-big-brother-is-watching.html</guid><description>&lt;p&gt;T-SQL is&lt;/p&gt;
&lt;br /&gt;
&lt;pre&gt; 
Use ReportServer
select * from ExecutionLog3 order by TimeStart DESC
&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
Source &lt;a href="http://technet.microsoft.com/en-us/library/ms159110(v=sql.105).aspx#bkmk_executionlog3"&gt;here&lt;/a&gt;</description></item><item><title>SVN / Subversion / Source Control</title><link>https://blog.wingate365.com/2013/07/snv-subversion-source-control.html</link><pubDate>Fri, 19 Jul 2013 19:38:00 +0000</pubDate><guid>https://blog.wingate365.com/2013/07/snv-subversion-source-control.html</guid><description>&lt;p&gt;Quick &amp;lsquo;what I did&amp;rsquo; to setup Subversion this week to deal with SSRS projects and reports.&lt;br /&gt;
&lt;br /&gt;
Installed the standard edition of VisualSVN Server&lt;br /&gt;
&lt;a href="http://www.visualsvn.com/server/download/?"&gt;&lt;a href="http://www.visualsvn.com/server/download/"&gt;http://www.visualsvn.com/server/download/&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Installed TortoiseSVN on users machines&lt;br /&gt;
&lt;a href="http://tortoisesvn.net/downloads.html"&gt;&lt;a href="http://tortoisesvn.net/downloads.html"&gt;http://tortoisesvn.net/downloads.html&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The setup on the server was very easy, added users via the management interface, set the port and made sure the firewall was going to allow the connections. Created a couple of repos for the various project files.&lt;br /&gt;
&lt;br /&gt;
On local PC checked-out the repo folder to a local drive folder and added the project files, simply right click to commit the files to the repo - marking all the files to be added.&lt;br /&gt;
&lt;br /&gt;
Logging all the commits makes it very easy to roll back and check on what activity is going on. Clearly it makes sense to split out as best you can the different projects into . I did notice it&amp;rsquo;s worth it to un-version the user file that each project creates by default.&lt;br /&gt;
&lt;br /&gt;
Next thing to try is the VisualSVN plugin for visual studio which requires TortoiseSVN to work. And read the rest of the manual as TortoiseSVN politely recommends&amp;hellip;&lt;br /&gt;
&lt;br /&gt;
Edit: Now also added the Visual Studio plugin from VisualSVN, which is fantastic and very straight forward. Do all your commits, check the logs etc from within Visual Studio.&lt;/p&gt;</description></item><item><title>SSRS 2008 R2 'My Subscriptions' page blank - Fix</title><link>https://blog.wingate365.com/2013/06/ssrs-2008-r2-my-subscriptions-page.html</link><pubDate>Sat, 22 Jun 2013 14:28:00 +0000</pubDate><guid>https://blog.wingate365.com/2013/06/ssrs-2008-r2-my-subscriptions-page.html</guid><description>&lt;p&gt;Really annoying bug this one, fixed the same way as Ant describes at&amp;hellip;&lt;br /&gt;&lt;/p&gt;
&lt;div style="background-color: white; border: 0px; clear: both; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
&lt;br /&gt;
original post at&amp;nbsp;&lt;a href="http://stackoverflow.com/questions/12157528/ssrs-my-subscriptions-is-empty" style="background-color: transparent;"&gt;http://stackoverflow.com/questions/12157528/ssrs-my-subscriptions-is-empty&lt;/a&gt;&lt;/div&gt;
&lt;div style="background-color: white; border: 0px; clear: both; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
&lt;/div&gt;
&lt;div style="border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
&lt;span style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;The users were authenticating in Report Manager as&amp;nbsp;&lt;/span&gt;&lt;code style="background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 18px; margin: 0px; padding: 1px 5px; vertical-align: baseline;"&gt;SOMEDOMAIN\MyUser&lt;/code&gt;&lt;span style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"&gt;, while the ReportServer database was storing the users without the domain.&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: white; border: 0px; clear: both; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;"&gt;
All I had to do was prepend the domain to the applicable users' names in&amp;nbsp;&lt;code style="background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; margin: 0px; padding: 1px 5px; vertical-align: baseline;"&gt;[ReportServer].[dbo].Users&lt;/code&gt;.&lt;/div&gt;</description></item><item><title>Mobi SSRS</title><link>https://blog.wingate365.com/2013/06/mobi-ssrs.html</link><pubDate>Sat, 22 Jun 2013 14:04:00 +0000</pubDate><guid>https://blog.wingate365.com/2013/06/mobi-ssrs.html</guid><description>&lt;p&gt;Pretty decent mobile access to SSRS reports on iOS devices. Handy to produce dash board type info. Be sure to set the correct localisation if you want to use date parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://mobiweave.com/#!/bi"&gt;&lt;a href="http://mobiweave.com/#!/bi"&gt;http://mobiweave.com/#!/bi&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Simple expression to Hide things in SSRS</title><link>https://blog.wingate365.com/2012/03/simple-expression-to-hide-things-in-ssrs.html</link><pubDate>Tue, 13 Mar 2012 21:56:00 +0000</pubDate><guid>https://blog.wingate365.com/2012/03/simple-expression-to-hide-things-in-ssrs.html</guid><description>&lt;p&gt;=iif(logical expression, true, false)&lt;br /&gt;
&lt;br /&gt;
Using the if function to colour text the same as background for quick fix on divide by 0 errors in the middle of a report.&lt;/p&gt;</description></item><item><title>SSRS - Aggregate of an Aggregate</title><link>https://blog.wingate365.com/2011/09/ssrs-aggregate-of-aggregate.html</link><pubDate>Sat, 12 Nov 2011 02:09:00 +0000</pubDate><guid>https://blog.wingate365.com/2011/09/ssrs-aggregate-of-aggregate.html</guid><description>&lt;p&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;So here is how to subtotal a column that is itself a sum function. SSRS 2005 wont allow you to aggregate an aggregate function. For example, the total of a column showing a Running Total, useful in daily stock balance calculations.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Add the following code to the report  Report &amp;gt; Properties&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Dim public totalBalance As Decimal &lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Public &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Function AddTotal(ByVal balance As Decimal) AS Decimal
totalBalance = totalBalance + balance
return balance &lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;End Function &lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Public Function GetTotal()
return totalBalance &lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;End Function&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;This code adds two &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;variables: totalbalance and cnt as decimal numbers. And two functions AddTotal and GetTotal.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;AddTotal allows items in rows to be added up, use as follows in a value cell, where you had;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;=RunningTotal(Fields!ColumnName.Value,sum,nothing) &lt;/span&gt;&lt;br /&gt;
with&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;=Code.AddTotal(RunningTotal(&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Fields!ColumnName.Value,sum,nothing)&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
in the total cell, where it you were unable to simply use&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;=sum(RunningTotal(&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Fields!ColumnName.Value,sum,nothing))&lt;/span&gt;&lt;br /&gt;
use instead&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;=Code.GetTotal()&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Simply add more variables and public functions if you need to sum the sum of more that one field.&lt;/span&gt;&lt;br /&gt;
Inspired by this post on averages of averages &lt;a href="http://beyondrelational.com/blogs/jason/archive/2010/07/03/aggregate-of-an-aggregate-function-in-ssrs.aspx"&gt;link&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>