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 all,
I am Struggling since long back. I have data like
| Order num | original date | actual date | invoiced amt times |
| Order1 | June-2016 | June-2016 | 1 |
| Order1 | sept-2016 | march-2017 | 3 |
| Order1 | dec-2016 | march-2018 | 2 |
| Order1 | march-2017 | ||
| Order1 | june-2017 | ||
| Order1 | sept-2017 | ||
| Order1 | dec-2017 | ||
| Order1 | mar-2018 | ||
| Order1 | june-2018 |
What i Need is a new column which will be like,
| Order num | original date | actual date | invoiced amt times | NEw Colum |
| Order1 | June-2016 | June-2016 | 1 | June-2016 |
| Order1 | sept-2016 | march-2017 | 3 | march-2017 |
| Order1 | dec-2016 | march-2018 | 2 | march-2017 |
| Order1 | march-2017 | march-2017 | ||
| Order1 | june-2017 | march-2018 | ||
| Order1 | sept-2017 | march-2018 | ||
| Order1 | dec-2017 | |||
| Order1 | mar-2018 | |||
| Order1 | june-2018 |
So based on the No.of times column, the new column shold be derived.
Please suggest an idea.
Thanks in Advance.
Regards,
Vishnu priya
Solved! Go to Solution.
Hi @AnilKumar,
You can create a index column in Query Editor firstly:
Then create calculated columns below:
Best Regards,
Qiuyun Yu
Hi,
Based on the 3rd and 4th columns, you want to generate the 5th column. What is the use of the 1st and 2nd columns?
Hi @AnilKumar,
You can create a index column in Query Editor firstly:
Then create calculated columns below:
Best Regards,
Qiuyun Yu
Thanks. It worked for my case.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 23 | |
| 18 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 51 | |
| 44 | |
| 43 | |
| 39 | |
| 32 |