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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Formula to display the...
Power Apps
Suggested Answer

Formula to display the First record from data source

(1) ShareShare
ReportReport
Posted on by 68
Let me start with I am new to power apps.  I watched a video on how to integrate power apps within a power bi report so that users can write back to the data set.  I have a Power BI report, "Convert Asset to NFCU" that users can select a row in the report then update a power app form that writes to a Sharepoint list.  I am trying to follow along with the video but the formula to pull in the first record in my power bi data set is a string not a number.  I am not sure how to adjust the formula so it will return the first record in my power bi data source.
 
My Power BI report is called, "NFCU Converted Assets".
The field I am trying to pull back is the "Name" or "Asset Number" ( I just relabeled it in the power bi report)
 
In the Power App form I entered the formula below but I am getting an error. 
LookUp('NFCU Converted Assets',Title=First(Text(PowerBIIntegration.Data).AssetNumber)
 
Categories:
I have the same question (0)
  • Suggested answer
    level36 Profile Picture
    77 on at
    Hi, 
     
    Your on the right track, try this
     
    Title = Text(First(PowerBIIntegration.Data).AssetNumber)
     
    Please reply if this does not work or you have any other questions!
  • KONeill102399 Profile Picture
    68 on at
    I tried that but it did not work.  I guess I am not understanding the formula.  Should the "Title" bet the column name from my SharePoint List?  At the end, "AssetNumber". Should that be the field name from by Power BI data source?  It is actually named, "Name" not "Asset Number".  That is just a lable.
     
  • Suggested answer
    venturemavenwill Profile Picture
    1,189 Super User 2025 Season 2 on at
    @KONeill102399 The Title is the name of the column in your datasource. Could you share your data schema so we can troubleshoot the issue?

    Otherwise, I suspect the correct parameter is 
    Text(First(PowerBIIntegration.Data).'Asset Number'). This should be exactly as it is coming from PowerBI
  • KONeill102399 Profile Picture
    68 on at
     
    The name of the column from the Power BI report is "Name".  I just relabeled it to be "Asset Number".  
     
     
     
     
    I did update the formula, but I am getting a new error message.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard