Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
kandre
Regular Visitor

Selected value

Hi,

 

In my power bi the command "selectedvalue" does not show up when i try to type in a formula. I have a live connection to a datawarehouse. 

Do i need to check off something for it to work?

6 REPLIES 6
kandre
Regular Visitor

Hi,

 

I am trying to type in the command "selectedvalue" in my formula, but it doesnt show up. Do i need to check off something for it to work?

 

I am connected with a live connection to a datawarehouse

Anonymous
Not applicable

You should be able to use that function, no seperate setup is needed, are you using inside any other fomulas/ measures? can u post the snapshot?

 

Thanks

Raj

It could be because SELECTEDVALUE is not supported in DirectQuery mode.

/sdjensen
Anonymous
Not applicable


@sdjensen wrote:

It could be because SELECTEDVALUE is not supported in DirectQuery mode.


 

You are right.

 

Thanks
Raj

Anonymous
Not applicable

Go to Options -> Direct Query -> Select " Allow unrestricted measures in Direct Query mode",  then you can use the function in direct Query mode too.

 

Thanks
Raj

Hi and thank you for the reply.

 

This is already done so it can't be that

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.