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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
Front end web application we have start and end date values providing statically through back end postgresql . When we connect to direct query to power bi, static dates should be kept in dynamic dates. How to do it?
Requirement:
1. created postgresql function
create function get_item(id int, startdate date, enddate date)
Returns table( ......) as
Begin
--------
end
2. execute function
select * from get_item(123, '20-12-2017', '25-12-2017')
same executed function copied and paste it in power bi statically, its working fine.
when we pass dynamic dates, it is throughing an error.
Data source error: columns "id" does not exist
can you please assit it?
Thanks
kunuthuri
Hi @Anonymous,
It seems that you want to pass dynamic dates in to power bi from postgresql database.
There is a similar video about SQL Server database may help you.
Best Regards,
Cherry
Hi,
I tried to use the parameter in the same way that has been explained in video that you guided to other person, but I got the error as shown below:
Here is the screen shot that shows you how I created the date parameter:
Could you please suggest me a solution. Thank you
Thanks,
Shanmuga
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 |
---|---|
69 | |
68 | |
40 | |
29 | |
26 |
User | Count |
---|---|
88 | |
49 | |
45 | |
38 | |
37 |