Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello people,
Distinct count by ID considering column A greater than column B?
Im using the following measure:
CALCULATE(
DISTINCTCOUNT([Id]),
FILTER(
_table,
_table[A]>_table[B]),
USERELATIONSHIP(d_calendario[Date],_table[A]))
Try this
CALCULATE( DISTINCTCOUNT(_table[Id]), _table[A]>_table[B])
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 128 | |
| 102 | |
| 57 | |
| 39 | |
| 31 |