cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sahara22
Helper IV
Helper IV

Trigger a pop up based on Excel Column

Hi, I would like a pop up to show when I hit a “button” on my app. 

The pop up most show if in my Excel column “Sign out” = YES that matches the same “Name” column 


For example :

Name...| Sign Out

Peter   |   NO

Sarah.  |.   YES

MIKE.   |.    NO

 

If Sarah checks in (on a previous screen) and when I press “Button1” on my app the data (Excel sheet TRACKER) is searched “Sarah” will activate the pop up. 

 

 

Excel in on my one drive 

 

excel file name is “Tracker”

1st Column Name is “Name”

2nd column name is “Sign Out”

(It’s a text Column and either has “YES” or “NO”)

 

Any help would be great!

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @Sahara22 ,

This will return either true or false to the Variable varPopup (which the popup Visible can be set on) and can be on the OnSelect of the button.

UpdateContext(
   {
      varPopup:
      !IsBlank(
         LookUp(
            Tracker,
            Name=User.FullName && 'Sign Out' = "Yes"
         )
      )
   }
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

4 REPLIES 4
WarrenBelz
Super User III
Super User III

Hi @Sahara22 ,

This will return either true or false to the Variable varPopup (which the popup Visible can be set on) and can be on the OnSelect of the button.

UpdateContext(
   {
      varPopup:
      !IsBlank(
         LookUp(
            Tracker,
            Name=User.FullName && 'Sign Out' = "Yes"
         )
      )
   }
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Sahara22
Helper IV
Helper IV

Thank you @WarrenBelz  for your help again.

 

The "Name" isn't based on power apps, it's just different names inputed manually . Can I still use the same formula? 

@Sahara22 ,

I was responding to your example which had specific values in an Excel sheet.

The "Name" would have to be in the list/table being looked up - I am simply checking that if the person signed in has their name in one column of a record and the value "Sign out" in the other, then set the pop-up to true.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Sahara22
Helper IV
Helper IV

Ok Thank you @WarrenBelz 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (68,306)