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 August 31st. Request your voucher.
Hi @Greg_Deckler thanks a lot for sharing the large function!! I was actually looking for the similar function.
But with slight variation, hope you can help me out.
I have a table with cols as- as_of, name, value1 and value2. For a single as_of and name there can be multiple values.
Now I want to create another cols as combined values and sequence no.
Sequence no - contains count of all the values based on value 1 and value 2 cols (u can say aa index) .
Combined values- contains appended values(after values of value1 additional rows were inserted to append the values of value2 col) of value 1 and value 2 col. And these appended values should be arranged based on sequence no.
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
21 | |
14 | |
14 | |
9 | |
7 |