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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I receive each week a table with this structure:
week 1 | week 2 | |||||
Applications | ok | ko | Applications | ok | ko | |
application 1 | 50 | 40 | application 1 | 35 | 40 | |
application 2 | 35 | 70 | application 2 | 25 | 70 | |
application 3 | 42 | 35 | application 3 | 89 | 35 |
I would like to create a table with columns: "week" | "application"| "ok" | "ko"
So, 2 difficulties (for me):
-> create a column "Week" with the week's number from the first line
-> "merge" the 2 tables
Could you help me?
tks!
Claire
-
Solved! Go to Solution.
Your table has duplicate header rows, making it difficult to analyze data properly.
This steps in Power Query also I Attached cleaned Power Query File below you can download it:
Cleaned Power Query File – Download Here]
If this solution was helpful, please accept it as a solution or give kudos to help other community members
hi,
no colum with date, just the period on the first line (and in many export I have the same issue).
But it's ok with answer above.
Tks!
Your table has duplicate header rows, making it difficult to analyze data properly.
This steps in Power Query also I Attached cleaned Power Query File below you can download it:
Cleaned Power Query File – Download Here]
If this solution was helpful, please accept it as a solution or give kudos to help other community members
Hi @ArwaAldoud ,
Tks a lot, it's perfect.
Just one last question: each week I will have new table near the previous week. Do you know if we have the possibility to automate this step:
As we'll have ok_3, ko_3...
tks a lot
Claire
I’m not entirely sure about automating this fully, but you can try adding an underscore (_) at the end of "ok" and "ko" before promoting headers. This way, Power Query may dynamically name them as ok_1, ok_2, ok_3, and so on when new weeks are added.
Give it a try and let me know if it works for you.
If this was helpful give kudos to help other community members
Do you receive any date column/ on which date it is received?