Forum Discussion
Return a column from selected value
Hi,
I need help with the following measure. I want to return a column depending of the selected value that could be "MTD", "QTD" or "YTD".
This works only if I use MAX but it gives me the last value of that column and I need to return ALL the values from the column or the selected ones. I tried using "Selectedvalue" in the first var but also doesn't work.
A measure can only return a single scalar value, it can't return a column of values.
If the larger problem that you're trying to solve is that you want the user to be able to choose which version of a measure appears in a report, you should look into calculation groups.
1 Reply
- johnt75Super User
A measure can only return a single scalar value, it can't return a column of values.
If the larger problem that you're trying to solve is that you want the user to be able to choose which version of a measure appears in a report, you should look into calculation groups.