Forum Discussion
Cross Filtering not working as expected.
I would probably change this to a grouping rather than a measure
for eg
Hi vanessafvg
Thanks for your reply.
When I add the measure you provided I get the following error message:
A single value for column 'IsWIP' in table 'Appointments' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.
- v-eachen-msft6 years agoCommunity Support
Hi JimJim ,
If you want to create measure, you need to use SELECTEDVALUE() function to wrap your column.
SELECTEDVALUE( Appointments[IsWIP] ) = 1 && SELECTEDVALUE( Appointments[WIP Days] ) < 2, "< 2 Days", SELECTEDVALUE( Appointments[IsWIP] ) = 1 && SELECTEDVALUE( Appointments[WIP Days] ) > 2, "> 2 Days",- JimJim6 years agoResponsive Resident
Hi v-eachen-msft , thank you for the tip. I didn't know about the SELECTEDVALUE function.
I managed to create a new column which shows the WIP status, it looks like having a different column for each status was causing the problem.
Thanks to both you and vanessafvg for your help.