This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi All,
I have this table (CusTable) :
| RecordID | Date | NewColumn |
| 123 | 1/1/2022 | 1 |
| 123 | 2/1/2002 | 0 |
| 123 | 3/1/2022 | 0 |
| 123456 | 1/1/2022 | 1 |
| 123456 | 2/1/2002 | 0 |
| 123456 | 3/1/2022 | 0 |
| 123456 | 4/1/2022 | 0 |
| 123456789 | 1/1/2022 | 1 |
| 123456789 | 2/1/2002 | 0 |
| 234 | 1/1/2022 | 1 |
| 567 | 1/1/2022 | 1 |
I'm looking for dax that shows me if any RecordID has the num "0" so counting them but only one time. for example in my
table counting the num is "3"
thanks all!
Solved! Go to Solution.
@dolevh
MEASURE = CALCULATE(DISTINCTCOUNT('CusTable'[RecordID]),'CusTable'[NewColumn] = 0)
@dolevh
MEASURE = CALCULATE(DISTINCTCOUNT('CusTable'[RecordID]),'CusTable'[NewColumn] = 0)
Hi,
it's working, Thanks!
@dolevh where did you put that measure? (In the model table/ in a visual?)
Can you share a fake screenshot of the result you want to get?
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 26 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 41 | |
| 21 | |
| 20 |