How to show data according to a specific status

Hello ,

I have this one simple question that i would appreciate your help

I have this table in my application it has the following:

Shipment Type. Shipment status. Shipment number

Normal. Delivered. 12345
Express. Undelivered. 123456

I wanna show in the application only the undelivered shipments

How can i achieve that ? With slices ? Incase yes would you please explain the expression that i need to use ? [Shipment status] = โ€œUndeliveredโ€ ? What about the slice function itโ€™s set to auto, is that right ?

Appreciate your help

Thank you

Solved Solved
0 8 102
1 ACCEPTED SOLUTION

Hi @Hussein_Osseily

That looks OK, whatโ€™s wrong with it ?
If you want to display the informations from this slice, then create a new view (UX/View/New View) and set the data source to this slice

(please identify me with โ€œ@โ€ otherwise I wonโ€™t be notified)

View solution in original post

8 REPLIES 8

Aurelien
Google Developer Expert
Google Developer Expert

Hi @Hussein_Osseily

You are on the right track

and about that:

yes, but itโ€™s up to you

I dont know what am doing wrong
Ive created a slicer, set the expression [status]=โ€œunreturnedโ€ (written exactly the same as in the table)

slice columns I pressed on status

slice actions its set to Auto no other options, its either auto or nothing (which is to delete it)

please see this screenshot

Hi @Hussein_Osseily

That looks OK, whatโ€™s wrong with it ?
If you want to display the informations from this slice, then create a new view (UX/View/New View) and set the data source to this slice

(please identify me with โ€œ@โ€ otherwise I wonโ€™t be notified)

@Aurelien thank you, this worked like magic, the thing i was not doing right is not creating a view for the new slicer.

I deleted the view of the old sheet, created the view of the slicer only and it is all fine, the application is only viewing the unreturned status

Thank you so much for your help

Aurelien
Google Developer Expert
Google Developer Expert

Happy to hear that worked, you are welcome !

@Aurelien sorry to bother you again, do you think below is possible ?

In my application I have 4 tabs theyโ€™re all โ€œREAD ONLYโ€
am wondering if i can grant access to Edit in 1 Tab for 1 specified user only

Hi @Hussein_Osseily

Yes you can.

In the Data/Tables panel, youโ€™ll notice you can choose among 4 options: add, delete, update, and read-only.

On the potion-icon next to it, you also have the possibility to set an expression to make the update mode to depend on user email or user role.
By default, an expression will be suggested. Itโ€™s up to you to adapt it to your needs.

Let us know if itโ€™s unclear !
Cheers

@Aurelien you are a genius, thanks a lot!
its working perfectly

Top Labels in this Space