Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
112 | |
105 | |
94 | |
58 |
User | Count |
---|---|
174 | |
147 | |
136 | |
102 | |
82 |