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
I have a filtered table which looks like this (filtered on value > $5000):
Manager | Client Name | Value |
John | a | $ 5,300 |
John | b | $ 5,200 |
David | c | $ 6,500 |
David | d | $ 6,200 |
David | e | $ 5,800 |
Colin | f | $ 7,000 |
I want a CARD value to show 6 in this example which is the count of the rows.
I have tried adding a MEASURE using COUNTROWS, but not really sure how to add it correctly to factor in the filter if necessessary.
And to complicate it, the "Value" which the table is filtered on is from a different Data table to "Manager" and "Client". I am not sure if this will impact the solution.
Any help appreciated.
Solved! Go to Solution.
Hi,
Assuming Value is a measure that you have already written, write this measure
Measure = countrows(filter(generate(values(managers[manager]),values(clients[client]))),[Value]>5000)
Hope this helps.
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 |
---|---|
107 | |
82 | |
77 | |
46 | |
39 |
User | Count |
---|---|
135 | |
109 | |
70 | |
64 | |
55 |