Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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 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 |
---|---|
92 | |
60 | |
44 | |
35 | |
34 |