The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
81 | |
75 | |
52 | |
48 |
User | Count |
---|---|
133 | |
124 | |
78 | |
64 | |
61 |