Forum Discussion
Creating a dynamic table
- 5 years ago
Hi Anonymous ,
Create a measure like this and apply it to visual level filter.
Measure = SWITCH(TRUE(), MAX('Table'[Sprint])="Sprint 10"&&MAX('Table'[Sprint Day])<=3,1, MAX('Table'[Sprint])="Sprint 11"&&MAX('Table'[Sprint Day])<=2,1,0)Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Below is a sample data.
I want to the table to show Days: 1,2,3 when I select Sprint 10 and just 1,2 when I select Sprint 11
| Sprint Day | Sprint | Tasks | Assigned | Hours |
| 1 | Sprint 10 | Task 1 | User A | 2 |
| 1 | Sprint 10 | Task 2 | User A | 1 |
| 2 | Sprint 10 | Task 1 | User B | 2 |
| 3 | Sprint 10 | Task 3 | User C | 1 |
| 1 | Sprint 11 | Task 1 | User C | 2 |
| 2 | Sprint 11 | Task 5 | User A | 1 |
Anonymous
Create slicer using the table[Sprint] field (or create a dimension/lookup table with unique table[sprint] vales and join via a relationship to your fact table via the common field) and a table as you have shown. When you select a value(s) in the slicer, the table will be filtered accordingly.
- V-lianl-msft5 years agoCommunity Support
Hi Anonymous ,
Create a measure like this and apply it to visual level filter.
Measure = SWITCH(TRUE(), MAX('Table'[Sprint])="Sprint 10"&&MAX('Table'[Sprint Day])<=3,1, MAX('Table'[Sprint])="Sprint 11"&&MAX('Table'[Sprint Day])<=2,1,0)Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.