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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
amrosullivan
Frequent Visitor

Populate date parameters in sql query - denodo data source

hello,

  • i am using PBI April 2022 version
  • connecting to Denodo - denodo.query
  • executing a custom SQL query that requires date parameters
  • import mode

is there a way i can create some way i can parameterise a list in power query that populated the custom sql query?

the requirement is to execute this query for multiple end of month dates - p_date_param1 in ('2023-03-31','2022-12-30')

can those two dates there be populated by a dynamic list in power query - for eg a list of month end dates for the last year 

 

thank you!

 

 

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @amrosullivan ,

Please check if list parameter the is what you want.

Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn

vyiruanmsft_0-1686895832922.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.