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.
Hi everyone,
Excuse my trivial request 🙂
I am attempting to create a column that counts distinct values as per another column
i.e Distinct fiscal_quarter by project_number
project_number | fiscal_quarter | Result Column |
PS0267526 | 2021-Q1 | 3 |
PS0267526 | 2021-Q1 | 3 |
PS0267526 | 2021-Q1 | 3 |
PS0267526 | 2020-Q4 | 3 |
PS0267526 | 2020-Q4 | 3 |
PS0267526 | 2020-Q4 | 3 |
PS0267526 | 2020-Q3 | 3 |
PS0277388 | 2019-Q4 | 5 |
PS0277388 | 2019-Q4 | 5 |
PS0277388 | 2020-Q1 | 5 |
PS0277388 | 2020-Q1 | 5 |
PS0277388 | 2020-Q1 | 5 |
PS0277388 | 2020-Q2 | 5 |
PS0277388 | 2020-Q2 | 5 |
PS0277388 | 2020-Q4 | 5 |
PS0277388 | 2020-Q4 | 5 |
PS0277388 | 2020-Q4 | 5 |
PS0277388 | 2021-Q1 | 5 |
PS0277388 | 2021-Q1 | 5 |
PS0277388 | 2021-Q1 | 5 |
Appreciate your help!
Thanks,
Solved! Go to Solution.
Hi @Anonymous
= CALCULATE(DISTINCTCOUNT(Table[fiscal_quarter]), ALLEXCEPT(Table, Table[project_number]) )
Hi @Anonymous
= CALCULATE(DISTINCTCOUNT(Table[fiscal_quarter]), ALLEXCEPT(Table, Table[project_number]) )
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 |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |