Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Book | Story | Genre | Count Historical |
Book 1 | Story1 | Horror | 0 |
Book 1 | Story2 | Romance | 0 |
Book 1 | Story3 | Romance | 0 |
Book 2 | Story4 | Historical | 3 |
Book 2 | Story5 | Historical | 3 |
Book 2 | Story6 | Historical | 3 |
I would like to figure out how to have Additional column in which i would have for each book, number of Historical stories?
I don't know how to do count by GROUP.
Thanks for answers in advance!
Solved! Go to Solution.
Try
Count historical =
CALCULATE (
COUNTROWS ( 'Table' ),
ALLEXCEPT ( 'Table', 'Table'[Book] ),
'Table'[Genre] = "Historical"
)
Try
Count historical =
CALCULATE (
COUNTROWS ( 'Table' ),
ALLEXCEPT ( 'Table', 'Table'[Book] ),
'Table'[Genre] = "Historical"
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
53 | |
38 | |
35 |
User | Count |
---|---|
100 | |
85 | |
47 | |
46 | |
46 |