This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
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.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 5 | |
| 3 | |
| 1 |
| User | Count |
|---|---|
| 15 | |
| 7 | |
| 7 | |
| 6 | |
| 5 |