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! Get ahead of the game and start preparing now! Learn more
Hello dear all,
My issue is the following:
I want to calculate the number "Matricule" which have only one Total_AT and the number of matricule which have a Total_AT greater than 1.
When I do the calculation of Atmulti with the following formula it gives me an empty result.
Total_AT = SUM (DRA [NUMBER AT])
ATmulti = CALCULATE(COUNTX('DRA','DRA'[MATRICULE]), FILTER(DRA,[Total_AT]>1))
Thank you in advance.
Hi @lowbenol ,
Your formula seems work for my sample data. Could you please share your data model to us?
Best Regards,
Jay
Thank you @Anonymous for your answer, i try it but still the same problem.
Total_at is a measure = sum(dra,nombre at)
i want to have the number of total by matricule.
So I used a dummy table as below and wrote the DAX to count the Matricule that has Total_at > 1. This should help.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 35 | |
| 34 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 99 | |
| 73 | |
| 66 | |
| 65 |