Forum Discussion
Filter for a line graph
- 3 years ago
Hi shantupm5 ,
I believe you should create the two metrics changing the filter, as shown below:1) Sum of Orders booked for all the customer
CALCULATE( SUM(OrdersBooked), ALL(Customers) )2) I want to show sum of orders booked per customer
SUM(OrdersBooked)With the ALL() function, the first measure will ignore the Customer filter, and the second measure will consider the Customer filter to show the sum for the specific customer(s) filtered.
Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
Thanks!
Best regards,
Joao Ribeiro - 3 years ago
Hi,
The second measure (below), will be responsive to any filter applied in the report, so if you add a Slicer for the customers and select specific customers, it will show the OrdersBooked only for them.
SUM(OrdersBooked)
Hope it helps!
Best regards,
Joao Ribeiro
Hi,
The second measure (below), will be responsive to any filter applied in the report, so if you add a Slicer for the customers and select specific customers, it will show the OrdersBooked only for them.
SUM(OrdersBooked)
Hope it helps!
Best regards,
Joao Ribeiro
Hello Joao,
Hope you are doing well,
I am futher looking for some help for the soultion you provided yesterday.
If we select multiple values from the Slicer, can we get the bar grarh with multiple values. instead of giving the bars with sum of the selected filters from slicerw.
For ex: If i select two or more values from the slicer, i would expect mutilple bar for each value i have selected from Slicer.
Please advice