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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.