Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I am trying to use a "measure" to FILTER a table within CALCULATE (Eg: CALCULATE(count(emp id), FILTER(Table, Column > [measure] ))). This doesn't seem to work.
Actually, I am trying to find the total number of dropouts for any given training.
For example, When Python is selected.
Step 1: I am looking at the average days to completion by all the employees (7.5).
Step 2: Multiply 2 with Average Time for Completion (as obtained from Step 1). This gives me a threshold (2*7.5 = 15).
Step 3: Filtering the table where "Days since last activity" > 15. This should give me a count as 1 but I'm getting a count of 2. (Refer table)
Request for your kind help.
@sailendra , to make measure work as filter you need use some group by or level
example
countx(values(table[emp id]),
CALCULATE(count(Table[emp id]), FILTER(Table,Table[ Column] > [measure] )))
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Its the link to Power Bi file as well.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |