cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors