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 / PowerBI LookUp to retr...
Power Apps
Unanswered

PowerBI LookUp to retrieve selected value instead of FIRST!

(0) ShareShare
ReportReport
Posted on by 46

Hi guys,

Really need some help on this.

I have a request to write back to a sharepoint list from Power Bi through Power APPs form. 
So far i'm stuck trying to match the data values from Power Bi to Power Apps form.

For example, when i'm clicking on the 2nd row of the dataset in Power Bi (Refer to screenshot), Power APPS is returning me the date of "4/1/2023", instead of "5/1/2023".  Essentially the current result in the form should be : "Date 5/1/2023, Project : PX 123, Objective/Deliverables : Achievement of 50% by Q3, Type: Min")

Attached a screenshot of the dataset

LookUp('Test Heat Map Write Back New', 'Project' = First(PowerBIIntegration.Data).'Project')


2023-11-06 11_17_13-Book1 - Excel.png

BR

 

J

Categories:
I have the same question (0)
  • EddieE Profile Picture
    4,641 Moderator on at

    @adrianchy231319 

    This is because your LookUp is incorrect. The function is returning the right value because ALL Projects are 'PX123', meaning the first record where Project = PX123 (which is 4/1/2023 in your shown data) is returned.

     

    If you want the second record, you'll need to use a different field to filter on, eg ID. So something like

    LookUp('Test Heat Map Write Back New', ID = First(PowerBIIntegration.Data).ID)

     

    If not ID, I'm guessing that you have a Primary Key field and you can use that instead.

     

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard