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

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

Reply
emdluc_
Frequent Visitor

Power Query - filter - error refreshing

Hello,


I have the following code:
= Table.SelectRows(#"Accounts", each ([Year] >=Table.Buffer(Excel.CurrentWoorkbook(){[Name="Year"]}[Content])[Year]{0}) -it will refresh continuously and I need to stop it manually. But,
if I replace >= 2021 - it works. Any clue why is this happening? I don't want to hardcode 2021 instead I want to be read from excel table.

 

 

1 ACCEPTED SOLUTION

Hi, @emdluc_ 

 

You can try the following methods.

Step1:

vzhangti_0-1670385662734.png

Step2:

vzhangti_1-1670385802276.png

Step3:

vzhangti_2-1670386054925.png

Result:

Change the year in the parameter and the table will be filtered.

vzhangti_4-1670386156749.png

vzhangti_5-1670386173737.png

Is this the result you expect?

Best Regards,

Community Support Team _Charlotte

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

3 REPLIES 3
v-zhangti
Community Support
Community Support

Hi, @emdluc_ 

 

Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.

 

Best Regards,

Community Support Team _Charlotte

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

Hello,

Is this helpful enough?

emdluc__0-1669796890283.png

 

Hi, @emdluc_ 

 

You can try the following methods.

Step1:

vzhangti_0-1670385662734.png

Step2:

vzhangti_1-1670385802276.png

Step3:

vzhangti_2-1670386054925.png

Result:

Change the year in the parameter and the table will be filtered.

vzhangti_4-1670386156749.png

vzhangti_5-1670386173737.png

Is this the result you expect?

Best Regards,

Community Support Team _Charlotte

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.