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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
What would be the equivalent of the following DAX in Power Query...I am trying to bring the First Occurence Check column info into another table but the relationship between table A and table B is many to many and the i have multiple occurance of the SO Order Number. I only want from Table A where the First Occurence Check is 1 in table B.
I cannot measure the two table as its a calculated column in Table A.
First Occurence Check = if (calculate (COUNTROWS(NEWBI_COMPS),filter(ALLEXCEPT(NEWBI_COMPS,NEWBI_COMPS[SO]),NEWBI_COMPS[Index]<=earlier(NEWBI_COMPS[Index])))>1,0,1)
Solved! Go to Solution.
Hi - I Found a workable solution on line
https://blog.crossjoin.co.uk/2015/05/11/nested-calculations-in-power-query/
Without any details for your data it's difficult to help. Have you tried any of the recommended solutions based on your question?
Hi - I Found a workable solution on line
https://blog.crossjoin.co.uk/2015/05/11/nested-calculations-in-power-query/
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 7 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 22 | |
| 14 | |
| 11 | |
| 10 | |
| 9 |