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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors