Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hello everybody.
I am quite new to PBI, and I'm trying to get acquinted with the possibilites in Power Query.
I have a dataset of some hundred thousand rows each representing a report made by contractors of different firms. Some of the firms are grouped.
I wish to count, in a column, the reports by the name having filled out the report on condition of the report being in specific firm groups (GroupO and report classification "Single"). That is, I am in need of af DAX formula quite like the COUNTIFS of Excel. I have tried composing a collumn of the form:
@Jannikskak - try this DAX and let me know if this fixes your problem. Many Thanks
Measure = if(Sheet1[c_firma_navn_aggregeret]="GroupO",
CALCULATE(COUNT(Sheet1[Contractor]),
FILTER(ALL(Sheet1),Sheet1[c_firma_navn_aggregeret]="GroupO"),
FILTER(ALL(Sheet1),Sheet1[EM_type]="Single")),0)
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
User | Count |
---|---|
25 | |
13 | |
12 | |
11 | |
8 |
User | Count |
---|---|
44 | |
27 | |
19 | |
16 | |
12 |