Forum Discussion
Pass parameter to SQL Stored Procedure query from Slicer
Hi Anonymous,
the way you imagine it will not work, because the slicer is 'active' after PowerQuery is executed and "you can't get back".
What you can do is when the user opens the report he has to enter a year parameter.
To do this, I'd like to refer you to this article. This is about entering a username and receiving the data but the principle is basically the same.
I don't see any more elegant way to accomplish this.
If this post was helpful may I ask you to mark it as solution and give it some kudos?
Have a nice day!
BR,
Josef
- Anonymous6 years agoNot applicable
Thank you so much JosefPrakljacic,
It's really helped me out when I need to change the data from DataSource.
But it just requests the Parameter when Open the PowerBI Template file with Power BI Desktop, can we apply it with the Power BI Web?
Hope to hear from you soon.
- JosefPrakljacic6 years agoSolution Sage
Hey does this meet your requirement?
- v-piga-msft6 years agoResident Rockstar
Hi Anonymous ,
Normally, we could edit parameter setting in power bi service.
Please refer to this document.
Best Regards,
Cherry
- pthapa2 years agoPost Patron
Is there a way or workaround that report users will enter the parameter value in the report visual instead of doing it in the settings, sementic model?
Allowing users to access sementic model is not the best approach.
Thanks,
Pthapa
- v-piga-msft6 years agoResident Rockstar
Hi Anonymous ,
Have you solved the problem?
If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, free to ask.
Best Regards,
Cherry