Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
79 | |
63 | |
52 | |
47 |
User | Count |
---|---|
212 | |
89 | |
76 | |
66 | |
60 |