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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Michaelbean21
Advocate II
Advocate II

Creating a dynamic time period filter / dynamic date series based on filtered date.

Hi there I am trying to create a generated series in the "Data" view that changes based on selected filter values.

I start by getting the selected year and month using the "SELECTEDVALUE" function: 

Michaelbean21_0-1656433798284.png


I then create a selected date value, by combining my year and month using the formula below:

Michaelbean21_1-1656433830990.png

However when trying to create my generated series I get this error message for the selected date value:

Michaelbean21_2-1656433867682.png



Does anyone know how to fix this error?

 

 



 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @Michaelbean21 ,

 

The COMBINEVALUES() fuction returns the value which is text type. Try to use the DATE() function.

And in the 'Data view', the data will not be changed dynamically. The calculated table or the calculated column are static. While the meaure is dynamic.

Calculated Columns and Measures in DAX - SQLBI.

 

 

Best Regards,

Stephen Tao

 

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

1 REPLY 1
v-stephen-msft
Community Support
Community Support

Hi @Michaelbean21 ,

 

The COMBINEVALUES() fuction returns the value which is text type. Try to use the DATE() function.

And in the 'Data view', the data will not be changed dynamically. The calculated table or the calculated column are static. While the meaure is dynamic.

Calculated Columns and Measures in DAX - SQLBI.

 

 

Best Regards,

Stephen Tao

 

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.