Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
75 | |
75 | |
45 | |
31 | |
27 |
User | Count |
---|---|
99 | |
89 | |
52 | |
48 | |
46 |