Best Of
Re: Beast Mode
In addition to @GrantSmith 's suggestion of moving the SUM to the outside, you can simplify your current year evaluation by doing something like this:
YEAR(invoicedate) = YEAR(CURRENT_DATE()) AND invoicedate < = CURRENT_DATE()
For the previous year you can again just use the YEAR function like this:
YEAR(invoicedate) = YEAR(CURRENT_DATE())-1
Hope this helps.
Re: How do I reflect team member on Team A before date and Team B after date.
While this solves the particular case keep in mind that this solution is not easy to scale. I'd recommend using a Webform datasource to track Team changes with start and End Date, and then do some ETL to determine the team that person should be in for each entry based on it. Is more work, but that would allow you to have better control on this and can cover more complex scenarios should this be something that can happen in the future.
The Webform basically would have 3 columns: Team Member Id, Team and JoinDate, you could have a LeaveDate but not mandatory as it'll be determined by the date of the next entry in the list via the same ETL and you wouldn't risk having gaps (of course this means you'll need to populate this the first time for all employees with their current value). Just an idea you might want to consider exploring in the future.
Re: Is it possible to schedule a report in less than 15 mins interval?
Gotcha! It is not currently. I would suggest submitting this to the
Re: Is it possible to schedule a report in less than 15 mins interval?
Are you referring to Scheduled Reports? Or dataset updates?
Scheduled Reports can be sent daily, weekly or monthly.
Standard datasets (connectors) can be updated as often as every 15 minutes.
Federated data or dataset views are an exception and the data is updated in real-time.
Lastly, you could have duplicate datasets that run in alternating 15 minute schedules and then de-duplicate in a dataflow. This would lead to data updates every 7-8 minutes.


