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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.