This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register 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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
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 |