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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
npowers2
Frequent Visitor

Calculated Columns Filtered by Text Column

I am working on creating a p-chart for process monitoring. I was able to create a working line chart with a very simple dataset as a way of getting familiar with calculated columns. The larger dataset that I would like to use contains data from multiple process that are identified in a text column within my dataset. When I added a slicer, most of the data updates automatically. The following formula unfortunately, does not:

 

 

 

UCL = [pbar] + 3*SQRT(([pbar]*(1-[pbar])) /Parvo[Negative])

 

 

npowers2_0-1603821468607.png

I need to use the Parvo[Negative] column within the formula, however, I cannot figure out how to apply a filter to this data set so it will ignore the rows within the Parvo[AssayName] column when the slicer is applied. 

 

Thank you for any help.

Nick

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @npowers2 

 

Calculated columns are only calculated when Power BI Desktop loads and refresh data. It will not be affected by slicers or filters. While measures are changed with user's interactions. DAX Measures are usually preferred to calculated columns. I created data to reproduce your scenario.

Table:

b1.png

 

You may create a measure like below to ignore the filter of 'Name' column when slicers are applied.

Result = 
CALCULATE(
    SUM('Table'[Val]),
    ALL('Table'[Name])
)

 

Result:

b2.png

b3.png

 

Best Regards

Allan

 

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

2 REPLIES 2
v-alq-msft
Community Support
Community Support

Hi, @npowers2 

 

Calculated columns are only calculated when Power BI Desktop loads and refresh data. It will not be affected by slicers or filters. While measures are changed with user's interactions. DAX Measures are usually preferred to calculated columns. I created data to reproduce your scenario.

Table:

b1.png

 

You may create a measure like below to ignore the filter of 'Name' column when slicers are applied.

Result = 
CALCULATE(
    SUM('Table'[Val]),
    ALL('Table'[Name])
)

 

Result:

b2.png

b3.png

 

Best Regards

Allan

 

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

DataInsights
Super User
Super User

@npowers2,

 

Are you trying to use a slicer to filter rows in a table (Data tab)? Slicers filter only visuals (Report tab). Also, calculated columns are not affected by slicers.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors