cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

I want visible the the button when there no data in Staff completed time

Hello All,

I want to visible button when there is no data into the staff completed time.

RajSaha__2-1603422324858.png

 

RajSaha__1-1603422275240.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi@RajSaha_,

Based on the issue that you mentioned, do you want to make the Button visible when there is no value in the 'Staff completed time'?

Could you please share a bit more about the scenario:

  1. do you insert a button within the Gallery?
  2. do you mean the 'Staff completed time' column is totally empty without any values or the corresponding item has no staff completed time?

You said that you have the Button within a Gallery, so I assume that you want to make the Button visible if this time does not have the corresponding staff completed time.

I have a test on my side, please take a try as below.

Set the Visible property of the Button as below:

 

If(
    IsBlank(
        LookUp(
            DataSource,
            ID = ThisItem.ID,
            'Staff completed time'
        )
    ),
    true,
    false
)

 

Note: Please replace the data source with yours.

Hope it could help.

Best Regards,

Qi

Best Regards,
Qi

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

In the gallery I'm using this button 

v-qiaqi-msft
Community Support
Community Support

Hi@RajSaha_,

Based on the issue that you mentioned, do you want to make the Button visible when there is no value in the 'Staff completed time'?

Could you please share a bit more about the scenario:

  1. do you insert a button within the Gallery?
  2. do you mean the 'Staff completed time' column is totally empty without any values or the corresponding item has no staff completed time?

You said that you have the Button within a Gallery, so I assume that you want to make the Button visible if this time does not have the corresponding staff completed time.

I have a test on my side, please take a try as below.

Set the Visible property of the Button as below:

 

If(
    IsBlank(
        LookUp(
            DataSource,
            ID = ThisItem.ID,
            'Staff completed time'
        )
    ),
    true,
    false
)

 

Note: Please replace the data source with yours.

Hope it could help.

Best Regards,

Qi

Best Regards,
Qi

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,207)