Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
I have created a table where I can get all days within a specific year (2016) with 15-minute time steps. This "static table" works fine.
As a second step, I decided to introduce a slicer to modify the year and create a "dynamic table". Unfortunately, the year does not change with the slicer, it always shows year 1900. I have not be able to figure out the issue.
The only difference between the two approaches is the VAR “YearRef” used to generate the reference year I need to create my calendar: CALENDAR (Date(YearRef,1,1), Date(YearRef,12,31) )
Static Table VAR YearRef = 2016
Dynamic Table: VAR YearRef = SELECTEDVALUE('Year_Table'[YearReference])
It looks like the YearRef on the Dynamic Table approach is not seen as a whole number. I have tried different things, but I could not fix it.
I would appreciate if you could help me.
I will attach the pbix file with both approaches. Code is below
Solved! Go to Solution.
@itamarlopes , You can not use the slicer parameter to create a table. You can create a dynamic table inside a measure. but not a table
@itamarlopes , You can not use the slicer parameter to create a table. You can create a dynamic table inside a measure. but not a table
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 59 | |
| 47 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 105 | |
| 102 | |
| 38 | |
| 27 | |
| 26 |