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
shawnloj
Regular Visitor

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
v-pgoloju
Community Support
Community Support

Hi @shawnloj,

 

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
v-pgoloju
Community Support
Community Support

Hi @shawnloj,

 

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

v-pgoloju
Community Support
Community Support

Hi @shawnloj,

 

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

v-pgoloju
Community Support
Community Support

Hi @shawnloj,

 

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

v-pgoloju
Community Support
Community Support

Hi @shawnloj,

 

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.

good question, it is a column. 

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
Top Kudoed Authors