Hey all,
I am looking to make a Tablet view of the ticket system that I am currently working on at the moment.
As you can see with the image, I have buttons and I have a gallery below the buttons. I have two goals to be accomplished with this.
distinct(filter(datasource, status))
The buttons are an easy fix since you can just use UpdateCOntext and use a global variable, but they dont look pleasing to the eye vs the gallery.
Filter(Tickets_1,If(TicketView = "Open", show all open tickets, If(TicketView = "In Progress", show all in progress tickets, If(...........))))
Any help would be appriciated. Thank you in advance!
Solved! Go to Solution.
What is the type of Status column in your datasource?
Is it a lookup field?
If yes try to do this
ThisItem.Result.Value
Crap, yeah that would do it. Although its not showing all the status' that are in the Datasource. I have atleast 5 Open TIckets and you only see Completed
Change Gallery1.Item to
Distinct(Tickets_1, Status.Value)
Change the Label to
ThisItem.Result
Thank you so much! I have one last question. If I want to show All Tickets, how would I do that? Since it only shows the values in the datasource. Should I just make shift one using rectangles and a button overlaying it?
Hi @Daemagor
I don't think you can have it in the Gallery to list All Tickets. Maybe have a button next to it which says Show All Tickets
User | Count |
---|---|
182 | |
123 | |
88 | |
45 | |
42 |
User | Count |
---|---|
251 | |
160 | |
126 | |
78 | |
73 |