Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
Is it possible to use GROUPBY with some sort of conditions on the columns? Something along the lines of
I think you'd need to use ADDCOLUMNS ... SUMMARIZE, like
Summary Table =
ADDCOLUMNS (
SUMMARIZE ( 'Employee Detail', 'Employee Detail'[Cost Ctr] ),
"Count of Primary",
CALCULATE (
COUNTROWS ( 'Employee Detail' ),
'Employee Detail'[Employee Category] = "Primary Department"
),
"Count of Residual",
CALCULATE (
COUNTROWS ( 'Employee Detail' ),
'Employee Detail'[Employee Category] = "Residual Employees"
)
)
@Anonymous , I think you can do some calculations using Earlier
Earlier: https://youtu.be/CVW6YwvHHi8
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
41 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
44 | |
32 | |
30 | |
18 | |
17 |