Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Solved! Go to Solution.
Hi @TotunG ,
The Syntax for SELECTEDVALUE is :
SELECTEDVALUE(TableName[ColumnName] ) or
SELECTEDVALUE(TableName[ColumnName], Alternative Result ) Alternative Result comes when multiple or no value is selected in column.
So you need to put the table and column which you put into the slicer you want to refer to.
SELECTEDVALUE-Funktion - DAX | Microsoft Learn
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
Hi @TotunG ,
The Syntax for SELECTEDVALUE is :
SELECTEDVALUE(TableName[ColumnName] ) or
SELECTEDVALUE(TableName[ColumnName], Alternative Result ) Alternative Result comes when multiple or no value is selected in column.
So you need to put the table and column which you put into the slicer you want to refer to.
SELECTEDVALUE-Funktion - DAX | Microsoft Learn
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
That's a good explanation how the SELECTEDVALUE function works, but it's not the answer to his question: "How to reference a slicer in formula?"
Hence, the answer to the question would be: "you don't!" or rather you can't directly reference a slicer. BUT!!!
You can create an options table containing the slicer's future options. The this new table is linked in a 1:n relationship with the data table you need filtered. The slicer is linked to your newly created options table. This way you can address the options table with selectedvalue AND filter the data table.
Hope that helps 🙂
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!