Forum Discussion
Retrieve a subset based on user selection
Hello,
I am working on a very large dataset (approx. 20GB) on SQL and I was wondering if it is possible to retrieve a subset of this dataset based on user selection in Power BI. For example, if the user selects ID number = 1 in a slicer, I want to be able to get all the rows from my SQL database that have ID number = 1.
Any help would be appreciated.
Regards,
7 Replies
- parry2kSuper User
mentallaeid you can achieve this using by creating parameter but not thru slicer.
- smpa01Community Champion
mentallaeid I ran into same issue a while ago where I had to put a dynamic filter into SQL custom query based on a parameter specified by me. You can check the following link.
- mentallaeidNew Member
- parry2kSuper User
mentallaeid I have answered similar question few days ago, in one of the reply on this post, solution is attached. You can use the similar approach to make it dynamic.
Basically you can have parameters in an excel sheet and then you can use that excel sheet to filter your query.