cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LUMDN
New Member

Make a label visible from the status of a column in sharepoint Lists

Hello,

I have the following gallery with videos, in it, I am placing a label (Completed) that tells me if the current user has already seen the video or not, so that when I leave the application and re-enter I can identify the videos that I have already seen previously.

 

gall.jpg

 

I have two lists in SharePoint:

 

The first one is where I am saving the videos that are presented in the gallery.

SPLSTVIDEOS.jpg

 

The second one is to register the videos that I have already seen.

splstvideossave.jpg

How can I make the label visible from the records of the second list and the current user?

 

I tried to use a variable and the lookup function to relate the ID of the first list with the ID of the second list and the email registered in the second list with the email of the current user but it did not work.

 

formula.jpg

 

Thanks!!

 

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@LUMDN 

Setting a variable is not going to be of much value to you.

What you need to do is set the Visible property of the completed label to:

!LookUp('Collection Registro de Videos Vistos',
    'ID Video' = ThisItem.ID &&
    Correo = varemail &&
    Estatus = "Completado",
    true
)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

2 REPLIES 2
RandyHayes
Super User
Super User

@LUMDN 

Setting a variable is not going to be of much value to you.

What you need to do is set the Visible property of the completed label to:

!LookUp('Collection Registro de Videos Vistos',
    'ID Video' = ThisItem.ID &&
    Correo = varemail &&
    Estatus = "Completado",
    true
)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Thanks!!

 

This solves my problem!!

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,520)