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
Anonymous
Not applicable

Column formula wont work with filter on dashboard

Hi, 

 

I have 3 seperate tables that are all set with relationships. I then added them into a dashboard. 

 Screenshot 2025-06-18 171817.png

 

I created a Dax formula that allowed me to subract from one table column to another. It works, but when I try to set a filter, it wont filter with the filter selected. 

 

Screenshot 2025-06-18 114948.png

 

 

 

 

 

I tried using All Selected and Selected value but they are not working with the equation I have. 

 

I put them at the start of each Var replacing the Calculate, but it wont let me use it because they are all 3 different tables. 

 

I am trying to see how I can get the dashboard to filter

 

Screenshot 2025-06-18 171751.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

 

Thank you for reaching out to the Microsoft Fabric Forum Community.


If you want your slicers (like the "PartTime / FullTime" filter) to actually affect your numbers, then don't use ALL() unless it's really needed. ALL() ignores slicers that’s why your filter doesn’t work. Try using below dax to get the desired result.


Diff =
VAR Staffed = COUNTROWS('HR Data')
VAR Budgeted = SUM(ind'[Budget])
VAR Recruiting1 = COUNTROWS(Recruiting)
RETURN
(Staffed + Recruiting1) - Budgeted


Kind regards,
Prasanna Kumar

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @Anonymous,

 

As we haven’t received any further updates and there are no outstanding queries at the moment, we’ll go ahead and close this thread for now. If you have any additional questions in the future, please don’t hesitate to start a new thread we’re always here to help.

 

Warm regards,
Prasanna Kumar

Anonymous
Not applicable

Hi @Anonymous,

 

We wanted to kindly check in to see if everything is working as expected after trying the suggested solution. If there’s anything else we can assist with, please don’t hesitate to ask.

 

Warm regards,

Prasanna Kumar

Anonymous
Not applicable

Hi @Anonymous,

 

Just following up to see if the solution provided was helpful in resolving your issue. Please feel free to let us know if you need any further assistance.

 

Best regards,

Prasanna Kumar

Anonymous
Not applicable

Hi @Anonymous,

 

Thank you for reaching out to the Microsoft Fabric Forum Community.


If you want your slicers (like the "PartTime / FullTime" filter) to actually affect your numbers, then don't use ALL() unless it's really needed. ALL() ignores slicers that’s why your filter doesn’t work. Try using below dax to get the desired result.


Diff =
VAR Staffed = COUNTROWS('HR Data')
VAR Budgeted = SUM(ind'[Budget])
VAR Recruiting1 = COUNTROWS(Recruiting)
RETURN
(Staffed + Recruiting1) - Budgeted


Kind regards,
Prasanna Kumar

danextian
Super User
Super User

Did you create a calculated column or a measure? Calculated columns are not aware of slicers selections.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Anonymous
Not applicable

good question, it is a column. 

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.