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.
I would like to create a measure that calculates the total occurrence of "Book" for each item. For example, in the table below "Item A" would have a value of 3 because "book" appears three times with "Item A". "Item B" would have a value of 2 because book appears 2 times with "item B"
Item | Segment | Site | Status |
A | 10 | Bank | Book |
A | 100 | School | Book |
A | 100 | Kitchen | Book |
A | 1000 | Park | Extend |
B | 20 | House | Book |
B | 20 | Store | Book |
B | 10 | Mall | Extend |
B | 10 | Store | Extend |
Solved! Go to Solution.
The DAX measure would be to count Status = 'Book'
Book Count =
CALCULATE(
COUNT('Table'[Status]),
KEEPFILTERS(
'Table'[Status] = "Book"
)
)
Proud to be a Super User!
The DAX measure would be to count Status = 'Book'
Book Count =
CALCULATE(
COUNT('Table'[Status]),
KEEPFILTERS(
'Table'[Status] = "Book"
)
)
Proud to be a Super User!
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 |
---|---|
105 | |
94 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |