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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
PARIS2020
Frequent Visitor

slicer Selected value as sql query parameter

I want to get the selectedvalue (table.id) and use it in my request as a parameter. for at each click on a row of the table, the query is executed with the selected value table[id].
 
I tried that : Parameter = selectedvalue(table[id]) , but failed
 
How can we do that ?
4 REPLIES 4
pranit828
Community Champion
Community Champion

HI @PARIS2020 

Can you please provide more info with screenshots, input and required output in table format for the community so that you ask can be better understood and resolved quickly.





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

I have 2 tables :

     - a header table Ticket(IdTicket, summarize, Creation-Date, IdStatus)
     - detailed table Status (IdStatus, oldStatus, New status, IdTicket)


I need to find records on the Stauts table based on the IdTicket selected.

The IdTicket, appears in a report filter, and when I click on the IdTicket that interests me to select it. Once selected, this filter acts on the Status table to display only the records corresponding to the IdTicket selected.

 

My problem is that this operation requires retrieving more than 2 million lines, and it does not work well. I would like to be able to click on my IdTicket filter, and the selected value will be passed as parameter of a query that only fetch the values ​​that interest me.

did you manage to find a solution to this ? 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.