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 / Dynamic Row determinat...
Power Apps
Unanswered

Dynamic Row determination from sharepoint list.

(0) ShareShare
ReportReport
Posted on by 9

Hello everyone,

 

I am very new to powerapps and sharepoint. Your help would be greatly appreciated.

I have a table RWB(Region Wise Budget) Available defined in sharepoint list as shown in the following screenshot.

shubhamraut_0-1705465844137.png


I want to know, how to access a cell value for a specific year and a quarter. Please refer the formula i am trying to use but am not able to work it properly.

shubhamraut_1-1705465903794.png

 

"currregion" variable is recognized inside the lookup function, but it is unknown outside the function. 

For context, datacardvalue264 is the value from a card in an edit form which is to be submitted by user.
What i want to do is extract the available budget for the selected region (in the input form) for the current year and financial quarter use it as a validation against trip totals, before allowing the user to submit the form.
This code is written in the Onselect() function of the submit button.
(if avlbudg>total, patch() is called)

 

Thanks in advance.

@WarrenBelz @Pstork1 

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @shubhamraut ,

     

    Do you have a column called 'currregion' in sharepoint list?

    You can only use column name after lookup function.

    LookUp(list1,condition).<column name from list1>

     

    Best Regards,

    Wearsky

  • shubhamraut Profile Picture
    9 on at

    Hi @v-xiaochen-msft 

    currregion is not a column in my sharepoint list.

    Since i only have 6 regions (columns) in my list, I have used switch to make the formula work. Thanks for your clarification though.

    shubhamraut_0-1705471454312.png

     



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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard