Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi I've got a table in power bi that calcutes the number of days it taken to turn around a review. I looking for a forumla that wil count all of the ones less than 7
I've added a screen shot for referecne. if you need any further info let me know
Solved! Go to Solution.
You can use the COUNTROWS function to count the number of rows in your table. And the CALCULATE function to filter the table for less than 7. Use this expression in a measure, which you can then use in visuals:
CALCULATE ( COUNTROWS ( 'KPI' ), KEEPFILTERS ( 'KPI'[Turnover] < 7 ) )
You can use the COUNTROWS function to count the number of rows in your table. And the CALCULATE function to filter the table for less than 7. Use this expression in a measure, which you can then use in visuals:
CALCULATE ( COUNTROWS ( 'KPI' ), KEEPFILTERS ( 'KPI'[Turnover] < 7 ) )
Thnaks works like a charm
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
105 | |
98 | |
39 | |
30 |