Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Creating a dynamic table

Hi everyone, is it possible to create a dynamic table that returns the unique values from a column based on selected slicer. I want to sprint a report to shows daily task count in a a sprint. the number of days in a sprint differs and I want to create a new table that will show a list of sprint days for a selected sprint. Right now the table I created is select the disticnt of all the sprint days respective of the sprint

1 ACCEPTED SOLUTION

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)

Creating a dynamic table.PNG

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

@Anonymous , I dynamic table can not be created using slicer.

 

You can have a dynamic table inside a measure if needed

Anonymous
Not applicable

How do I achieve that

camargos88
Community Champion
Community Champion

Hi @Anonymous ,

 

Tables are created when the refresh happens. 

You can create measures and filter the data to show only the values based on the user selection.

 

Show us some data example and we can work on it.



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Anonymous
Not applicable

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 DaySprintTasksAssignedHours
1Sprint 10Task 1User A2
1Sprint 10Task 2User A1
2Sprint 10Task 1User B2
3Sprint 10Task 3User C1
1Sprint 11Task 1User C2
2Sprint 11Task 5User A1

@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. 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






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)

Creating a dynamic table.PNG

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.