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?
Solved! 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.
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.
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.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!
User | Count |
---|---|
104 | |
73 | |
69 | |
47 | |
47 |
User | Count |
---|---|
161 | |
85 | |
76 | |
68 | |
67 |