Forum Discussion
Create a virtual table based on date and other slicer selection
Thank you tamerj1 . Let me explain the scenario here. I have this transaction table here.
I have a slicer to select the date range. I have slicers to selection product, brand etc. Based on date range frpm slicer and prod + brand selection as option, I have to create a virtual table which will be a subset of the transaction table. It will take only those records that fall under selected date range from slicer additionaly if there is any slicer selection done on prod/brand.
Example - If I select only date range slicer for customers between 1-Aug-2022 to 20-Sep-2022. And no selection of prod, brand. Then my output should show aggregated sales for the customer within that date range
In this case, this should be my output
Scenario 2 - Suppose
If I select only date range slicer for customers between 1-Aug-2022 to 20-Sep-2022. And Brand 2 is selected. Then my output should show aggregated sales for the customer within that date range and only customer sales with brand 2. In this case, this should be my output. Please help.
Anonymous
Just creat a measure
Amount = SUM ( Tansactions[Sales] )
insert a matrix visual, placr Customers in the rows and the Amount measure in the values
- Anonymous4 years agoNot applicable
No this will not help. Dynamically select the date from slicer and get the subset of transaction table.
- tamerj14 years ago
Community Champion
Anonymous
this is exactly what Powe Bi does. Why do you think you won't get the required result? Am I missing something?