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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Selected Values function is not avaliable with SSAS as data source

Hi All,

 

I am not able to find selected value function. I am using SSAS as a data source.

 

Request your help to solve the problem or you can suggest any alternative for the Selected values function.

 

Thanks in advance.

 

Regards,

Pooja Dhonde

1 ACCEPTED SOLUTION
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

You mean the SELECTEDVALUE function is not avaliable or else? What result do you want, could you please share more details? It's hard to understand your needs based on your description.

Best Regards,
Angelia

View solution in original post

5 REPLIES 5
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

You mean the SELECTEDVALUE function is not avaliable or else? What result do you want, could you please share more details? It's hard to understand your needs based on your description.

Best Regards,
Angelia

Anonymous
Not applicable

Yes..I meant that the SELECTEDVALUE function is not avaliable. I Am using SSAS as a data source.

Hi @Anonymous, 

This was a know issue before, but we have fixed it. The function works fine in Power BI desktop, not in Power Bi service? If it is, please create a supported ticket here to get dedicated support.

Best Regards,
Angelia

Hi @v-huizhn-msft

 

@Anonymous is trying to refer that she is using SSAS(Analysis Services) as Data Source which is Modelled in Visual Studio and then further connected to Power Bi Directly. We are unable to find the Syntax SELECTEDVALUE in SSAS for DAX that we generally use in Power BI.

 

Note: Only reply if you have knowledge of SSAS (SQL Server Analysis Services).

 

Thanks,

-Rohit

Anonymous
Not applicable

Hello Rohit,

If you used SELECTEDVALUE( Table[column] )  try below alternative :

if(Hasonevalue(Table[column]),values(Table[column]))

 hope this helps you.

Reg
pooja

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors