cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
mmkw123
Regular Visitor

Measure does not work with slicer/filter

Hi guys, 

 

I am new to PowerBi and have a question regarding the interaction of filters with measures. I have a slicer on the page called "TimestampHistory". It interacts with all visuals on the page but with two very simple custom measures: 

1. 

Active Measures =
DIVIDE(
    SUM('Database (hist)_Status'[Measure Operativ]);
    COUNTA('Database (hist)_Status'[MN-ID])
)
 
2. 
Weighted Degree of Achievement=
DIVIDE(
    SUM('DatabaseAkt (hist)'[Completed Days]);
    SUM('DatabaseAkt (hist)'[Duration in Days])
)
 
 
Now my question is whether I have to include the usage of said slicer into the measure formulas or if there is another workaround?
 
Thanks a lot in advance! 
1 REPLY 1
HotChilli
Super User
Super User

"I have a slicer on the page called "TimestampHistory"." - What are we selecting in this slicer? 

-

The two measures : are they on card visuals or part of tables/matrix? Please specify.

What is the expected result from selecting something in the slicer?

--

Can you provide a link to the pbix or at least a data model picture for starters?

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors