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
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
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