Loading...

Decode and Fix: “This Data Type is Unsupported for Evaluation” in Power Apps

Decode and Fix: “This Data Type is Unsupported for Evaluation” in Power Apps

 One common frustration when building Canvas Apps over Dataverse is encountering this cryptic error:

 “This data type is unsupported for evaluation”

This message typically appears when Power Apps cannot process or render a specific Dataverse column type within a control or formula. While it may seem vague, it’s usually tied to specific patterns involving complex column types or runtime data structure mismatches.


In this blog, we'll explore common causes, scenarios, and practical fixes from both a developer and architectural standpoint.

Root Causes of the Error

1. Polymorphic Lookups

Dataverse supports polymorphic relationships (e.g., `Owner`, `Customer`, `Regarding`) that can point to multiple entity types.

These lookups can't be directly evaluated in Power Apps unless you cast the reference explicitly.

Use:

If(

    IsType(ThisItem.Customer, Account),

    AsType(ThisItem.Customer, Account).Name,

    AsType(ThisItem.Customer, Contact).FullName

)

2. Unsupported or Complex Column Types

Dataverse includes some column types that aren’t natively supported in Canvas App formulas—especially custom types, file/image columns, or certain relationship references.

These may return null or trigger evaluation errors unless handled with special logic or transformations.

 3. Choice and Multi-Select Choice Fields

Single-select Choices (Option Sets) are easier to evaluate using `Text(ThisItem.ChoiceField)`. However, multi-select choices are returned as a table, not a scalar value.

Use:

Concat(ThisItem.ChoiceField, Value, ", ")

Always check if the formula context supports scalar or table-based operations.

4. Explicit Column Selection (Performance Optimization)

When the "Explicit column selection" setting is enabled in your app, only selected fields are loaded from the Dataverse table.

If you reference a field that hasn’t been selected, it may return blank or throw this error.

Go to:

Data source → Edit fields → Add the missing columns manually

Troubleshooting Steps

Best Practices for Architects & Developers

  • Design with Data Types in Mind: Avoid overuse of polymorphic lookups and complex custom columns unless they’re absolutely needed.
  • Standardize UI Logic: Create reusable helper functions to evaluate and display polymorphic/choice fields.
  • Align Schema & App: Always re-publish and sync changes between Dataverse and Power Apps.
  • Monitor Formula Performance: Complex formulas with unsupported data types not only break evaluation but degrade app performance.

Common Pitfall Examples

Label.Text = ThisItem.Customer.Name // ❌ Throws evaluation error (polymorphic)

Label.Text = Text(ThisItem.MultiSelectChoice) // ❌ Invalid for multi-select

Fixed version

Label.Text = Concat(ThisItem.MultiSelectChoice, Value, ", ")

Conclusion

The “This data type is unsupported for evaluation” error is a clear sign that your app and data model are out of sync. Whether you're dealing with polymorphic relationships, multi-select fields, or explicit column selection issues, the key is to:

  • Understand the data type behavior
  • Use the right functions (`IsType`, `AsType`, `Concat`, etc.)
  • Configure your app’s data source correctly
  • Test early with real data

With a good grasp of Dataverse internals and Power Apps formula patterns, this error becomes not a blocker—but a signal for more precise modeling and UI logic.

Published on:

Learn more
Power Platform , D365 CE & Cloud
Power Platform , D365 CE & Cloud

Dynamics 365 CE, Power Apps, Powerapps, Azure, Dataverse, D365,Power Platforms (Power Apps, Power Automate, Virtual Agent and AI Builder), Book Review

Share post:

Related posts

Have you played Yahtzee? In Power Apps!

Have you pleased Yahtzee? I recreated this game in Power Apps! So, if you are feeling lucky, roll the dice and let the games begin! The post H...

2 hours ago

First Look at Generative Pages in Power Apps

With Generative Pages (find announcement and docs here) we can create a page in Model-Driven Apps using natural language. You can see it as a ...

1 day ago

Power Apps – Generative Pages feature available for preview

We are announcing the public preview of Generative Pages. This new capability allows admins to simplify the app design process for model-drive...

1 day ago

Make Complex Records Easy to Read with Power Apps AI Builder’s Row Summary

In model-driven apps, forms often have many fields spread across multiple tabs and sections, which can make it hard and time-consuming for use...

6 days ago

Power Apps – Agent builder in Power Apps

We are announcing the ability to create custom AI agents by using existing knowledge, logic, and actions in Power Apps. This feature will reac...

7 days ago

Create a clone command in Power Apps Model Driven Apps

In Power Apps you can create custom commands in your views when developing Model Driven Apps. In this post I'm looking at how you can develop ...

7 days ago

Introducing the new Power Apps: Generative power meets enterprise-grade trust

Microsoft Power Apps brings generative pages to public preview, providing enterprises with a new AI-powered, agent-first approach to app devel...

8 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy