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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Crysis85
Regular Visitor

Measure Considering only a subset of filters

I have a set of Offices in my organization, divided in Groups, each Office keep track of its Operations.

I have to create a KPI that when I go in drilldown on a single Office it confronts its Operations with a Measure of Count(Operations)/Count(Offices) but only relative to the selected Office's Group, not all the Offices.

I tried creating a measure of this division but when i select the sigle Office the measure too is filtered to that, and if I make it ignore selections it considers all the Offices (all the Groups).

 

How can I make this measure ignore all the selection filters except the one regarding the selected Office's Group?

 

Thanks for the help.

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Crysis85,

 

Please try this measure:

Divid measure =
COUNT ( Offices[Operations] )
    / CALCULATE ( COUNT ( Offices[Office] ), ALL ( Offices[Office] ) )

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
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

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Crysis85,

 

Please try this measure:

Divid measure =
COUNT ( Offices[Operations] )
    / CALCULATE ( COUNT ( Offices[Office] ), ALL ( Offices[Office] ) )

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.