Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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
User | Count |
---|---|
114 | |
74 | |
57 | |
44 | |
39 |
User | Count |
---|---|
176 | |
125 | |
61 | |
60 | |
58 |