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 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |