Fix PCF Dataset Lookup Values Returning Null in Power Apps
Question details
The user needs to resolve an issue where PCF dataset lookup values unexpectedly return null in a Power Apps canvas app.

- Product
- Microsoft Power Apps
- Device & OS
- not provided
- Scenario
- Retrieving lookup fields from dataset properties using the Power Apps Component Framework (PCF).
- Observed behavior
- Lookup fields return null even when getValue and getFormattedValue methods are correctly implemented.
Ensure that your Power Apps Component Framework (PCF) CLI is updated to the latest version and verify that your dataset configurations are properly bound in the control manifest file.
Verify Dataset Configuration and Consult Power Platform Community
Since this is a specific PCF SDK and Canvas app behavior rather than a standard Office 365 issue, verifying your code and consulting specialists is the recommended approach.
The Power Apps Component Framework (PCF) handles dataset properties differently within Canvas apps compared to Model-driven apps. Null returns on lookup values often stem from asynchronous loading behaviors, missing view columns, or SDK limitations rather than syntax errors.
Review your PCF control manifest file to ensure the dataset property is correctly defined, and confirm that the specific lookup column is explicitly included in the view selected within the Canvas app.
Double-check your implementation of getValue() and getFormattedValue(). Ensure these methods are called only after the dataset's loading state confirms it has fully retrieved the records.
Navigate to the Microsoft Power Platform Community forums. Post a detailed description of your issue, including your code snippet and manifest configuration, to receive specialized guidance from PCF experts.

Looking for a Reliable and Free Office Suite?
While Power Apps is excellent for complex custom application development, your daily document, spreadsheet, and presentation needs can be met efficiently with WPS Office. It is a highly compatible, lightweight, and free alternative to Microsoft Office.
- 1. Download the Installer: Visit the official WPS website and click the free download button to get the latest installation package.
- 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to set up the software on your device.
- 3. Open Your Documents: Launch WPS Office and directly open your existing Microsoft Office files without losing any layout or formatting.

Frequently Asked Questions
Why does getValue() return null for lookup fields in PCF Canvas apps?
In PCF components within Canvas apps, lookup fields might return null if the dataset hasn't finished initializing, if the specific column isn't explicitly included in the view, or due to differences in how Canvas apps bind relational data compared to Model-driven apps.
Is this null lookup behavior a known issue in Power Apps?
Yes, developers occasionally encounter null returns for lookups depending on the specific PCF SDK version and the current Canvas app runtime framework. Checking the Power Platform community forums is highly recommended for the latest status.
Can standard Office 365 support help with PCF component issues?
Typically, no. PCF and Canvas app development issues fall strictly under the Microsoft Power Platform. Standard Office 365 support teams will usually redirect you to the Power Platform developer community or specialized developer support plans.




