Office Forms + Power Automate + Teams + Planner Task - power-automate

I've got a Forms form that thru Power Automate I add a task to a Planner plan in Teams.
The form has a [due date] field on it, and I set the due date of the Planner task equal to the value of that [due date].
Everything is working except, on the form in the [due date] field I select 2/28/22. But, when the Planner task is created it shows 2/27/22 as the due date.
I tested my PowerAutomate flow and I see '2022-02-28T00:00:00Z' as the date being added to my Planner task. Why is that then showing as a due date of 2/27/22 in Planner? How do I overcome this? I know I can just add +1 day to the [due date], but I'd rather not be so kludge.

This article showed me the cause and offered a couple of solutions. https://powerusers.microsoft.com/t5/Building-Flows/Wrong-date-for-Planner-Task/td-p/999746
Here's the code that worked for me in the due date field on my Planner task in Power Automate: addToTime(outputs('Get_response_details')?['body/GUIDHERE'],12,'Hour','yyyy-MM-ddTHH:mm:ssZ')

Related

multiple condition inside SUMIF() in google sheets

I created my daily task log sheet which i log my tasks daily and I also provide the time which I start and the time of its completion. it looks like this
You'll notice the tab "total hours per day". on that tab I calculate the total time for the specific date. It looks like this
using this formula: =SUMIF('TASKS (Itemized)'!A3:A501,A8,'TASKS (Itemized)'!I3:I501)
My question is can I still add a condition to the formula that says not to include the time or the row if the column H has a value of "Multitasking"?
I believe you are looking for something like this?
=SUMIFS('TASKS (Itemized)'!I3:I,'TASKS (Itemized)'!A3:A,A8,'TASKS (Itemized)'!H3:H,"<>Multitasking")
Without seeing a sample sheet of everything going on including columns and rows this is the best I can offer.

Microsoft PowerAutomate

I am currently building an out of office workflow in Microsoft powerautomate for Teams. When a request for 8/19/20 gets submitted it gets changed to 8/20/20 and same thing with the end date. Is there a way to set a it so it shows the actual dates selected?
So i think this is happening due to Default UTC time zone is used by Power Automate. Here is a flow that uses the Convert time zone action with a base time of utcNow(). Convert the time to needed timezone and then used an Update item action to update a date field with that converted time value. The correct time shows up in my SharePoint list
Hope this may help you.

Drill Through/ Drill Linking/ Drill Down using Pentaho Report Designer

I'm using Pentaho Report Designer Version: 8.0.0.0-28.
I have one summary report (1) and one detailed report (2).
Let's say I have this scenario:
I have these columns in
(1): Employees, Total hours
(2): Employees, Day, Total hours per day
I would like to make a link between (1) and (2) so if I click on Total hours for the employee 'John' from (1), it leads me to (2), showing Day and the Total of hours per day only for 'John'.
I wonder if it is possible to do that using the DRILLDOWN function, if yes, can you suggest me what to put in the parameters?
Also, is this possible if I publish both reports on the User Console?
Any help will be appreciated.
It is possible, using URL:
-Right click on Total Hours
-Click on Hyperlink
-Put the link of the detailed report as Path
-Choose Employee as parameter value. (I already had a parameter that filters the report based on the name of the employee)
-Then publish the report in order to make it function in the User Console.

SSRS 2012 total of a percentage measure

I have a percentage measure calculated in SSAS tabular and its correct.
But when i use it in a report i face the following problem (in all percentage measures).
the values under male and female (which are subgroup of saudi and non-saudi) are correct but if you look at the total under "Both sexes" it is incorrect,because it shows summation of male and female percentage, where the right thing is it shows the percentage of the saudi or non-saudi.
If i calculate the measure in SSRS in the expression fields i get it right as follows
But i want to use the measure to show the right values.
So.. can anyone help me with this i have serious issues in later reports and i just cant simply recalculate the SSAS measures in SSRS using expressions.
Note: dont mind the decimal places differences between the two pics.
Thank you.
You can change your MDX query in SSRS to return the subtotal rows then change your Textbox formulas in the body of the Report to say =Aggregate instead of =Sum. This process is described more here by Stacia. You can use manual MDX queries. Don't miss the comment at the bottom:
Romuald Coutaud March 17, 2011 at 7:52 pm Hi Stacia,
In fact, it works in query mode too in 2008R2. But, I have to admit
that the way that RS and AS work together when you want to use
aggregate function is very difficult to perfectly understand and I
have struggle very long time to make one sample report running in this
way. In query mode you need to write MDX by referencing each level of
the hierarchies from the top one to the deepest one want to display in
your report, even you don’t need to use all these ones. As an example
you have to put Year, Quarter and Month to be sure to display Month
and be able to use aggregate function.
Basically in your report =Aggregate will try to retrieve a row where Nationality is not null and Gender is null. If you get stuck please write back with the list of each field used in each group in SSRS and a screenshot of the MDX query designer.

Conditional rollup fields for report

I have a report requirement to calculate campaign revenue (sum of associated Opportunity's actual revenue) on the basis of 30 days old, 60 days old and 90 days old opportunity. We are working on Dynamics crm online 2015.
Something like the following:
Campaign 30Days-Opp-Rev 60Days-Opp-Rev 90Days-Opp-Rev
What I have done so far:
1- I have tried to create rollup fields on campaign, but they don't allow conditions to restrict summation of opp revenue on the basis of date.
2- I have tried calculated fields but they don't summing up of child fields.
3- I have tried FetchXML reports but it doesn't support subquery or UNION types in xml.
Any help is highly appreciated.
you can write c# plugin and execute your fetch query in your plugin

Resources