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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Sab
Helper V
Helper V

Create dynamic table based on the slicer selection

Hello,

 

I have a Date column having dates from the beginning of this year, to present day.

 

I need to create a dynamic temp table that will have dates from the firstdate in the Date column, to the selected date from the slicer, so if the selected value is Feb. 1st then the table will have 30 rows, if the selected value in slicer is 15 Feb, then the table would have 45 rows, etc.

 

Thanks

4 REPLIES 4
amitchandak
Super User
Super User

@Sab , you can not create a table using the slicer value.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

RIP

Hi @Sab ,

 

You cannot create a dynamic table at the model view, but you can create a dynamic table visual at the report view.

First create an unrelated calendar table as slicer, and then create a measure applied to the table's visual level filter.

Table 2 = DISTINCT('table1'[date])
Measure = IF(MAX('table1'[date])<=MAX('Table 2'[date]),1)

 

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

Hi V-lianl-msft

Can you suggest my question?

https://community.fabric.microsoft.com/t5/Desktop/Best-way-to-represent-Tabular-Data-as-Row-Headers/... which looks similar to this thread, but I am not sure how can I do that dynamic table visual based on the Slicer selection.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Kudoed Authors