Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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:
@Anonymous - 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)
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 |
---|---|
23 | |
10 | |
10 | |
9 | |
9 |