Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have table valued function (from SQL) with two 'date' type parameters (@BOP, @EOP)
@BOP is Beginning of Period
@EOP is End of Period
I need to import this tvf into Power BI. When I do it (I use SQL Server Import), PBI asks me to enter the dates for my @BOP / @EOP.
But I need to be able to use this data set for a different dates, in order not to make these data static.
Is there a way in SQL or in Power BI Desktop to keep my parameters dynamic (and not to use a specific dates when I import this dataset)?
Solved! Go to Solution.
Hi @Hell-1931 ,
Try to use M parameters.
Solved: How do I pass parameters to my SQL statement? - Microsoft Power BI Community
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Hell-1931 ,
Try to use M parameters.
Solved: How do I pass parameters to my SQL statement? - Microsoft Power BI Community
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |