Forum Discussion
SELECTEDVALUE not a valid function
Hi cgrisham,
Based on my test, SELECTEDVALUE is not a supported function in DirectQuery mode. Referring to it in import mode, above error won't prompt.
Direct Query
Import
Reference: DAX functions in DirectQuery mode
Best regards,
Yuliana Gu
v-yulgu-msft thanks for the resposne as well as the test you performed and link your provided.
I'm reading that article though as all functions are supported, just not all are optimized. Great to know it works in import, but still seems like it may be a bug in Direct Query? Unless PBI only supports optimized DAX functions in DIrectQuery mode.
- v-yulgu-msft8 years agoMicrosoft Employee
Hi cgrisham,
You could submit this idea that make SELECTEDVALUE optimized in DirectQuery mode. Your feedback is valuable to improve the level of our products.
Regards,
Yuliana Gu