Forum Discussion
Slicer In Table A filters Table B based on multiple conditions
You are probably going to need something like this where the total inventory lives on the products table.
Then you can write an inventory amount measure to check if there is a single customer selected and if not sum off the total inventory rather than the customer inventory.
Inventory Amount =
IF ( HASONEVALUE ( Customers[Customer] ), SUM ( 'Customer Inventory'[Inventory] ), SUM ( Products[Inventory] ) )
I've already done something like this. I am able to have either one or all customers selected. However this won't work if multiple (but not all) customers are selected from what i can tell.
- dax6 years ago
Community Support
Hi Anonymous ,
Did you refer to my sample? it could work when you select multiple customers, and the Total column will show the status of storage. If this is not what you want, please correct me and inform me more detailed infromation(your expected output).
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
Your sample was close to what i needed but the grand total column isn't showing accurate aggregations. I only need the grand total column to work. (not the grand total of rows)
- dax6 years ago
Community Support
Hi Anonymous ,
If possible, could you please inform me your expected output(grand total )? In my logic, when grand total =1, it represents that it have storage.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.