Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi community,
I have a database with list of project/company and activity and I would like to make a measure that count the qty of projects with the same company and activity as below table .
would have any idea how to do this with powerBI ?
thank you for your support
project | company | activity | measure |
project1 | company1 | activity1 | 2 |
project2 | company1 | activity2 | 1 |
project3 | company2 | activity1 | 3 |
project4 | company2 | activity1 | 3 |
project5 | company1 | activity1 | 2 |
project6 | company2 | activity1 | 3 |
hello @pierre-yves,
what about
CALCULATE(
COUNTROWS( 'Table' ),
ALLEXCEPT( 'Table', 'Table'[Activity], 'Table'[Company] )
)
table in different format
Hi Community
I m just following up on this request
anyone have any idea on how to adress this issue
thank you for your support
to clarify the result of the table:
line 1: qty of projects with company1 and activity1=2
line 2: qty of projects with company1 and activity2=1
line 3: qty of projects with company2 and activity1=3
...
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
9 | |
6 |