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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
tsmehta
New Member

Help required please

In my direct query dashboard I have defined 2 measures

ManpowerSiteABC=calculate(SUM(view1[avg_days]), view1[site]="ABC")

ManpowerSiteXYZ=calculate(SUM(view1[avg_days]), view1[site]="XYZ")

TotManpowerAllSites = ManpowerSiteABC+ManpowerSiteXYZ

The value of above measure remains in the same irrespective of various other slicers applied. How can I get value of ManpowerSiteABC & ManpowerSiteXYZ based on slicers selected. Stuck up for long on this, please help.

2 ACCEPTED SOLUTIONS
uzuntasgokberk
Super User
Super User

Hello @tsmehta ,

Could you please change the measure and try again please?

ManpowerSiteABC=calculate(SUM(view1[avg_days]), FILTER(view,view1[site]="ABC"))

ManpowerSiteXYZ=calculate(SUM(view1[avg_days]), FILTER(view,view1[site]="XYZ"))

TotManpowerAllSites = ManpowerSiteABC+ManpowerSiteXYZ

İf that will no work. Could you please share dummy pbi fle based on your case.

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

View solution in original post

Anonymous
Not applicable

Thanks for the reply from uzuntasgokberk, please allow me to provide another insight.
Hi @tsmehta ,

If the slicer is using the "site" column of the "view1" table, then the filter parameter inside the measure will override the external filter for the same column, resulting in no change to the measure.


In my testing, creating a slicer using other columns of the "view1" table and applying it can make the measure change.
You can try this.

Best Regards,
Dengliang Li

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

Thanks for the reply from uzuntasgokberk, please allow me to provide another insight.
Hi @tsmehta ,

If the slicer is using the "site" column of the "view1" table, then the filter parameter inside the measure will override the external filter for the same column, resulting in no change to the measure.


In my testing, creating a slicer using other columns of the "view1" table and applying it can make the measure change.
You can try this.

Best Regards,
Dengliang Li

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

uzuntasgokberk
Super User
Super User

Hello @tsmehta ,

Could you please change the measure and try again please?

ManpowerSiteABC=calculate(SUM(view1[avg_days]), FILTER(view,view1[site]="ABC"))

ManpowerSiteXYZ=calculate(SUM(view1[avg_days]), FILTER(view,view1[site]="XYZ"))

TotManpowerAllSites = ManpowerSiteABC+ManpowerSiteXYZ

İf that will no work. Could you please share dummy pbi fle based on your case.

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.