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:
I then create a selected date value, by combining my year and month using the formula below:
However when trying to create my generated series I get this error message for the selected date value:
Does anyone know how to fix this error?
Go to Solution.
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.
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
Click here to learn more about the September 2022 updates!
Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.
Watch Session 25 of Ted's Dev Camp.