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.
I have a table, which contains column name IDNR and other columns, I want to count IDNR based on column TYPE, where TYPE= ABC.
Solved! Go to Solution.
@Anonymous
Measure 2 = CALCULATE(DISTINCTCOUNT('Table'[IDNR]),'Table'[Type]="ABC")
do you want to count number of rows where type= "ABC"?
@Anonymous
I think you mean the TYPE column contains A, B, C.
Result = CALCULATE(DISTINCTCOUNT('Table'[IDNR]),ALLEXCEPT('Table',Table[TYPE]))
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
Measure 2 = CALCULATE(DISTINCTCOUNT('Table'[IDNR]),'Table'[Type]="ABC")
do you want to count number of rows where type= "ABC"?
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 |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |