Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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"
)
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
71 | |
65 | |
42 | |
42 |
User | Count |
---|---|
49 | |
42 | |
29 | |
28 | |
26 |