Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hey,
I have a visual table in PowerBI that looks something like this but with more data:
I want to count the number of rows for each company where Prime or Not Prime = "Prime"
I want this count measure to work with slicers/filters that will be added to the page e.g., If I select "Company A" in the slicer then the KPI for Prime should show a count of 1.
Thanks!
Solved! Go to Solution.
@Anonymous
Create a measure, then add the supplier column and the measure in a table visual.
measure = Calculate(count([supplier], filter(Table,Table[Prime or Not Prime] = "Prime"))
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@Anonymous
Create a measure, then add the supplier column and the measure in a table visual.
measure = Calculate(count([supplier], filter(Table,Table[Prime or Not Prime] = "Prime"))
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@Anonymous , Try a measure like
countrows(filter(Table,Table[Prime or Not Prime] = "Prime"))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |