The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I am trying to find a way of using this formula
=IF(A2="";"";IF(AND(B2=B1;AF2<>AF1);(AR1+1);IF(AND(B2=B1;AF2=AF1);AR1;IF(B2<>B1;1))))
in power pivot. Is there a way I can do that?
An exact translation is rather difficult but it's certainly possible to index per group as it appears you're doing here.
See here for how this works:
https://www.myonlinetraininghub.com/numbering-grouped-data-power-query
User | Count |
---|---|
69 | |
65 | |
63 | |
55 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
42 |