The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 @saksham_jain 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.
User | Count |
---|---|
81 | |
78 | |
37 | |
34 | |
31 |
User | Count |
---|---|
93 | |
81 | |
60 | |
49 | |
49 |