Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |