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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors