Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
spmivilsoftbi
New Member

Date range passed as parameters to SQL functions

Hello,

I have a report where I use only POSTGRESQL functions, and I want to pass a date range as parameters like this:
Captura123.PNG

When I change the dates I want it to automatically consult the SQL functions through the two parameters created:

Captura222.PNG

How can I pass the start and end date to the parameters? Please help me thanks..

1 REPLY 1
CNENFRNL
Community Champion
Community Champion

NO WAY for the current version of PBI desktop.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.