Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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.
User | Count |
---|---|
20 | |
14 | |
11 | |
8 | |
6 |
User | Count |
---|---|
23 | |
23 | |
20 | |
15 | |
10 |