Hi Team,
I want to limit the number of entries in a table to ‘n’ number of entries FOR EACH DATE FROM CURRENT DATE TO DATES OF UPCOMING MONTHS. Kindly help me with the expression for the above .
Thanks
Javed
If these are children of another table, you may want to have a look there:
Or, if it’s from the main table:
please add a condition on show_if condition of your “add” action:
COUNT(
FILTER("YourTable",
[Date]=TODAY()
)
)
<5
Those are good solutions by @Aurelien
Here is another one: you could change/replace your Add action for a Grouped one with:
This way, you should have an Add button that changes it’s behaviour as needed and tells the user when/why they can’t add more records
Note that this solution won’t affect the Add button present on inline views.
Yep, Inline views are chained to the system Add button (Or maybe the first Add created by user).
The good thing is that using @Aurelien’s advice the Add button will disappear
Thanks Aurelien,SkrOYC and Steve …
I am using this expression in my parent table limiting to suppose 1 record :
IF(COUNT(SELECT(Parent[BookID],TRUE))<1,“ADDS_AND_UPDATES”,“UPDATES_ONLY”)
When I do selections and save it, … Only one (01) record saved in the parent Table and in the app it looks like this -
Please help me with the expression to limit the entry date wise .
Try my solution.
If you need help with the expressions, come back here after the actions are created
User | Count |
---|---|
43 | |
28 | |
24 | |
24 | |
13 |