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 nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Greetings!
I have one SQL query which creates a table.
Query is -
Select a.origin_date, a.consumer_level, a.id as Cust_id, b.id from
vw_ratio as a
full join vw_ratio as b
on a.id = b.cust_emp_id
and a.origin_date = b.origin_date
In sql they are doing self join i guess.
I am wondering how can i do it powerBi!
Can anyone suggest me on this??
Solved! Go to Solution.
Hi, @Anonymous
I am not very sure what you mean, do you just want to get the table or do you want to reproduce the functionality of this SQL statement in Power BI for learning purposes. Be aware that SQL statements are also available in Power BI.
If you want to reproduce the function of this sql statement, you can try to create calculate table like below:
Of course, merging in Power query is also helpful. I'm not sure what your exact requirements are so I provide as much relevant information as possible, hope this helps.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
I am not very sure what you mean, do you just want to get the table or do you want to reproduce the functionality of this SQL statement in Power BI for learning purposes. Be aware that SQL statements are also available in Power BI.
If you want to reproduce the function of this sql statement, you can try to create calculate table like below:
Of course, merging in Power query is also helpful. I'm not sure what your exact requirements are so I provide as much relevant information as possible, hope this helps.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , In power query, merge you have the option of full join merge
https://radacad.com/append-vs-merge-in-power-bi-and-power-query
@amitchandak , for that Sql query i have to do full join merge?
Instead of mergering Can we write dax?
Check out the May 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 |
|---|---|
| 32 | |
| 26 | |
| 23 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 45 | |
| 28 | |
| 24 | |
| 22 |