Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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
Solved! Go to Solution.
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
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
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
Hello Rohit,
If you used SELECTEDVALUE( Table[column] ) try below alternative :
if(Hasonevalue(Table[column]),values(Table[column]))
hope this helps you.
Reg
pooja
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 10 | |
| 10 | |
| 6 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 25 | |
| 18 | |
| 18 | |
| 17 |