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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Rae2023
Frequent Visitor

Can you return a measure to Power Query from Power BI

Hello, 

I'm new to using Power BI but have used Power Query in Excel for about 1 year.

I previously used two named ranges in Excel to control a Date range and used these as a filter Parameter in Power Query. This worked a treat until I decided to move to Power BI.

I created a Date Slicer with Start Date & End Date measures in Power BI but do not know how to return these values to Parameters that can be used in Power Query.

Can anyone tell me how to do this?

 

Parameters.png

 

1 ACCEPTED SOLUTION
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @Rae2023 

 

This is not possible. Power Query is a one-way-street to load data fro, several data sources into Power BI Desktop. As soon as the data are in the Desktop data model or in the Report you can not bring them back to Power Query. 

 

What might help you is to create a manual table in Power Query which you then use to influence the Queries in Power Query or to maintain the parameters directky in Power Query. The other option is to still maintain your parameters in Excel and load them into Power Query for Power BI Desktop.

 

Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

View solution in original post

2 REPLIES 2
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @Rae2023 

 

This is not possible. Power Query is a one-way-street to load data fro, several data sources into Power BI Desktop. As soon as the data are in the Desktop data model or in the Report you can not bring them back to Power Query. 

 

What might help you is to create a manual table in Power Query which you then use to influence the Queries in Power Query or to maintain the parameters directky in Power Query. The other option is to still maintain your parameters in Excel and load them into Power Query for Power BI Desktop.

 

Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

Thanks Michael, I've been trying for weeks to find a solution online.

Wish I'd posted up the question earlier.

Thank you for the suggestions, I'll look into both options.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors