web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Formula powerfx field questions

(5) ShareShare
ReportReport
Posted on by 18
I thought I was going to have a super easy thing to do.
I want to take a name and create a field that has it in the correct order... NO... I don't want to go to settings and select my preference.  For reasons outside of this question pretend that a Name column holds "Last, First".  I wanted to make it First Last.  (not a settings thing)
 
Calculated fields don't have the requisite things, so I'm actually happy that I am forced to learn more power fx.  Simply, I figured a Concat (second part, " ", first part) shouldn't be that hard.  I should look for the comma and use it.  I expected something like this to work
 
Concatenate(
     Right(name, Len(name)-Find(",",name)-2),
     " ",
     Left(name, Find(",",name)-1)
)
 
Or similar.  I have reached the point of I can get the Left(name,10) - hard coded number)
And I can even do Left(name,Len(name))
but for some reason any time I add a "Find" to it, it won't save.
Categories:
I have the same question (0)
  • Verified answer
    Tom_Gioielli Profile Picture
    2,020 Super User 2025 Season 2 on at
    Formula powerfx field questions
    The functions available with PowerFX in Dataverse is limited compared to what can be used in Canvas Apps.
     
     
    I think the goal is for them to have more parity, as evidenced by the long announced (but not yet implemented) feature for replacing rollup fields with Formula columns, or the fact that you still can't return a currency value at all. It's just a current limitation that we need to work around until it is hopefully implemented in the future.
     
    To your current requirement, I agree with @Adis that Power Automate can do the job. You might also look into a Data Flow. Since those use Power Query, you would be able to split apart columns by delimiter, recombine, and then update the Dataverse record and it could be done much quicker and with lower overhead than the Power Automate flow (provided this can be done on a regularly scheduled basis instead of on demand).
     
    Hope the link above helps, and good luck. It's frustrating when these little things seem to cause such a big headache.
     
    I hope this response helped. If it did, please mark as verified
  • Verified answer
    Adis Profile Picture
    5,432 Super User 2025 Season 2 on at
    Formula powerfx field questions
    Hey,
     
    I dont know the answer to be honest. However, the way I would approach it is using the format data by example in Power automate.
     
    Although, you are not using power automate, you can use it to create an expression and learn how it works. 
     
    From your example the following expression would be created.
     
     
    Kind regards, Adis
     

    If this helped, please mark it as "Verified" for others facing the same issue

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 367

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 82 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans