Skip to main content

Notifications

Power Apps - Power Apps Pro Dev & ISV
Unanswered

Creating a formula column in Dataverse that shows the last day of the quarter

Posted on by
Good afternoon,
 
I am trying to create a date column which will show me the last day of the quarter we are currently in. I have tried multiple examples but I can't seem to make it work. 
 
The latest I found and tried to tweak was :
 
DateAdd(
    DateAdd(
        Date(Year(UTCNow()),
             (RoundUp(Month(UTCNow())/3,0) * 3) - 2,
              1
        ),
        3,
        TimeUnit.Months
    ),
    -1,
    TimeUnit.Days
)
But according to Dataverse "Date" doesn't exist. There is only DateAdd and DateDiff. 
Is there any solutions to this? 
 
Many thanks in advance
 
Margaux
 
  • Suggested answer
    bscarlavai33 Profile Picture
    bscarlavai33 340 on at
    Creating a formula column in Dataverse that shows the last day of the quarter
    Unfortunately this isn't possible with a formula column at the moment. Formula columns have limited functions that can be used which are listed here - https://learn.microsoft.com/en-us/power-platform/power-fx/formula-reference-formula-columns.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,532

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,050

Leaderboard