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.
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)
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 |
---|---|
28 | |
27 | |
25 | |
14 | |
10 |
User | Count |
---|---|
24 | |
21 | |
18 | |
16 | |
10 |