In the table connected to the QuickSight dashboard, the number of our daily orders is recorded. It is also specified which supplier each order is related to. I calculate the number of orders as follows:
Number of Orders = Count({order_id})
I have written a formula that calculates the total share of orders as a percentage as follows:
Market share = percentOfTotal({orders})
An example of the table output using these metrics is as follows:
I have placed a filter next to the table so that users can filter and view the top X providers in the table.
When the user, for example, enters the number 3 in this box, the percentage share of the orders for those suppliers is calculated only among those 3 suppliers instead of the total. How can I fix this issue?