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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Converting existing po...
Power Apps
Answered

Converting existing powerapp from Sharepoint List to Dataverse table.

(0) ShareShare
ReportReport
Posted on by 20

I have an app that is working properly using a Sharepoint List. I have created a Dataverse table for it because it's growing too large for the app. I've swapped the Data connections but now the BrowseGallery does not populate properly and the formula is throwing errors as I'm trying to substitute the new table for the old List. 

 

Here is the formula that works properly using the Sharepoint List:

SortByColumns(
If(
showComplete=true,
Filter(
[@'Brightspeed Fiber OFS Validation'],
StartsWith(
olt_clli,
TextSearchBox1.Text
)
),
Filter(
[@'Brightspeed Fiber OFS Validation'],
StartsWith(
olt_clli,
TextSearchBox1.Text
) && 'OLT Port Status'.Value=Blank()
)
),
"Title",
If(
SortDescending1,
SortOrder.Ascending,
SortOrder.Descending
)
)

 

Can someone assist me with what needs to be changed to support the Dataverse table? Simply substituting the names is not working....

 

I have the same question (0)
  • Verified answer
    Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @DaveHouser - you have not stated what the data types are for the fields you're filtering on (Single line Text, Number, Date, Choice etc). These work differently depending on your data source.

     

    Assuming the "olt_clli" field is a Single Line Text field in both your SharePoint and Dataverse tables, and assuming "OLT Port Status" is a Single-Select SharePoint Choice field, you will need to modify the syntax for the equivalent Single Select Dataverse Choice field I assume you created.

     

    In addition, I suspect the "Title" field is wrong in your SortByColumns function. You will need to enter the Logical Name for that field rather than Display Name. You can find the Logical name by right clicking the column from the Dataverse table, selecting Edit column, and then looking at the Logical Name:

     

    Amik_0-1706625618559.png

     

    Further readinghttps://learn.microsoft.com/en-us/power-platform/power-fx/reference/operators#display-names-and-logical-names 

     

    Suggested code:

     

    SortByColumns(
     If(
     showComplete = true,
     Filter(
     'Brightspeed Fiber OFS Validation',
     StartsWith(
     olt_clli,
     TextSearchBox1.Text
     )
     ),
     Filter(
     'Brightspeed Fiber OFS Validation',
     StartsWith(
     olt_clli,
     TextSearchBox1.Text
     ) && 'OLT Port Status' = Blank()
     )
     ),
     "Logical Name for the Title field",
     If(
     SortDescending1,
     SortOrder.Ascending,
     SortOrder.Descending
     )
    )

     

  • Verified answer
    DaveHouser Profile Picture
    20 on at

    Thank you. That did the trick! Big learning curve for me as I'm jumping into this in the middle of things and learning as I go. Dataverse also evidently hates brackets...

     

    😉

     

    Thanks, again!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,055

#2
Valantis Profile Picture

Valantis 666

#2
11manish Profile Picture

11manish 666

Last 30 days Overall leaderboard