Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi, I am using this to count the repetition of CustomerID for each row
CALCULATE(COUNTROWS(Orders),ALLEXCEPT(Orders,Orders[CustomerID]))
Is it possible without Calculate to count the occurences of a String in a column and get the result in Column
Something like
COUNTAX(Orders,ALLEXCEPT(Orders,Orders[CustomerID]))
Yes but you syntax is incorrect:
COUNTAX(ALLEXCEPT(Orders,Orders[CustomerID]),[CustomerID])
I think using ALLEXCEPT as table expression in X - ITERATORs typically yields circular dependency error
=
COUNTAX (
FILTER ( Orders, Orders[Customer ID] = EARLIER ( Orders[Customer ID] ) ),
[Customer ID]
)
It's working but I looking for something based on just COUNTAX and ALLEXCEPT and no use of Filtering or Earlier or any other function.
Hi, @Greg_Deckler/@Zubair_Muhammad
You seems to be having a good catch on DAX and how to use it to get the desired result.
I have 1 question for you, how can I be better at DAX and get the complete understanding of utilizing the DAX functions to get the desired result.
I mean what you would suggest based on your experience that helped.
Books do not cover functions deeply as much as they should so what do you suggest that really helps.
Any specific Book/PDF/This Community/Any other source.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 66 | |
| 41 | |
| 39 | |
| 39 | |
| 38 |