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
UsePowerBI
Post Prodigy
Post Prodigy

How can I specify a parameter whose values will be taken from a spreadsheet?

Hello

 

I want to maintain a spreadsheet with with some values which I want to feed into the Power Query code in Excel.

 

E.g. a date that I can change in the spreadsheet and it will be cascaded to the queries etc.

 

How can I do that?

 

Thanks!

2 ACCEPTED SOLUTIONS
v-eqin-msft
Community Support
Community Support

Hi @UsePowerBI ,

 

If you want to parameterize your data source

Eyelyn9_0-1634714066572.png

 

you could  kindly refer to:

Dynamic M query parameters in Power BI Desktop (preview) - Power BI | Microsoft Docs

Parameterize your data source!

Change the Source of Power BI Datasets Dynamically Using Power Query Parameters - RADACAD

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

v-eqin-msft
Community Support
Community Support

Hi @UsePowerBI ,

 

Could you tell me if my post helps you? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.

 

Best Regards,
Eyelyn Qin

View solution in original post

3 REPLIES 3
v-eqin-msft
Community Support
Community Support

Hi @UsePowerBI ,

 

Could you tell me if my post helps you? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.

 

Best Regards,
Eyelyn Qin

v-eqin-msft
Community Support
Community Support

Hi @UsePowerBI ,

 

If you want to parameterize your data source

Eyelyn9_0-1634714066572.png

 

you could  kindly refer to:

Dynamic M query parameters in Power BI Desktop (preview) - Power BI | Microsoft Docs

Parameterize your data source!

Change the Source of Power BI Datasets Dynamically Using Power Query Parameters - RADACAD

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

StefanoGrimaldi
Resident Rockstar
Resident Rockstar

try out this: https://www.excelguru.ca/blog/2018/05/30/creating-dynamic-parameters-in-power-query/





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




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.

Top Solution Authors
Top Kudoed Authors