Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
I have a measure DoH derived from creation of Measure ( DoH = Stock / Avg. Usage)
and I want to count Product name at DoH< 10 = ? and DoH > 100 = ?
From example - DoH < 10 = 3
- DoH > 100 = 1
Solved! Go to Solution.
This is what I'm getting:
DoH =
DIVIDE(SUM('Table'[Stock]), SUM('Table'[Avg. Usage]))
Less than 10 =
CALCULATE ( COUNT ( 'Table'[Product name] ), FILTER ( 'Table', [DoH] < 10 ) )
More than 100 =
CALCULATE ( COUNT ( 'Table'[Product name] ), FILTER ( 'Table', [DoH] > 100 ) )
Proud to be a Super User!
Paul on Linkedin.
Hi @chanon ,
Whether the advice given by @PaulDBrown has solved your confusion, if the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out.
Looking forward to your feedback.
Best Regards,
Henry
Try:
Less than 10 =
CALCULATE(COUNT(Table[Product[), FILTER(Table, [DoH] <10))
More than 100 =
CALCULATE(COUNT(Table[Product[), FILTER(Table, [DoH] >100))
Proud to be a Super User!
Paul on Linkedin.
Thk for reply but didn't work. Due to DoH is Measure when i create count measure then result is 7.
This is what I'm getting:
DoH =
DIVIDE(SUM('Table'[Stock]), SUM('Table'[Avg. Usage]))
Less than 10 =
CALCULATE ( COUNT ( 'Table'[Product name] ), FILTER ( 'Table', [DoH] < 10 ) )
More than 100 =
CALCULATE ( COUNT ( 'Table'[Product name] ), FILTER ( 'Table', [DoH] > 100 ) )
Proud to be a Super User!
Paul on Linkedin.
@chanon ,
please try this,
1. DoH < 10,
count of product DoH < 10 = CALCULATE(COUNT('Table'[Product name]),FILTER('Table',[DOH]<10))
2.DoH >100,
count of product DoH > 100 = CALCULATE(COUNT('Table'[Product name]),FILTER('Table',[DOH]>100))
Thanks,
Arul
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
75 | |
72 | |
69 | |
45 | |
41 |
User | Count |
---|---|
63 | |
41 | |
30 | |
28 | |
28 |