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 hope this question isn't too unique:
I would like to find out wheter it is feasable to rebuild to SQL-Code somehow using DAX or M to create some sort of calculatet table?
Solved! Go to Solution.
Hi, @gramespa,
assuming you have the tables EKPO and EKKO in your model, you can handle this in Power Query/M.
First use the the Merge queries as new-function. Choose the to column to join on and change join type to inner join. Expand the column with "Table" as values. Now select three columns you want to concatenate, right click and select merge columns. Filter the column BSTYP=F. Add custom columns for "XX" and "V" with constant value. Now remove all unneccessary columns.
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Hi, @gramespa,
assuming you have the tables EKPO and EKKO in your model, you can handle this in Power Query/M.
First use the the Merge queries as new-function. Choose the to column to join on and change join type to inner join. Expand the column with "Table" as values. Now select three columns you want to concatenate, right click and select merge columns. Filter the column BSTYP=F. Add custom columns for "XX" and "V" with constant value. Now remove all unneccessary columns.
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |