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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors