Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am having trouble trying to find a solution for the following issue,
I have 4 tables named in my SQL database
1- Company (primary key Company_ID)
2- Opportunity(Company_ID as a reference to Company Table)
3- Lead(Company_ID as a reference to Company Table)
4- Incidents(Company_ID as a reference to Company Table)
I would like to build a power BI dashboard on all 4 tables joined as 1 where I select the company_ID and it shows me all the Opportunities, Leads and Incidents for that company. Please, can someone advise if this is possible to do in Power BI query editor or any other way to do this?
Solved! Go to Solution.
Is having these four tables combined into one table necessary? If not, you could simply join all four tables on Company ID, and then add three tables into the PowerBI Report page and add a slicer for Company ID. It would look something like this:
HI @ahsanlhcgov,
>>Please, can someone advise if this is possible to do in Power BI query editor or any other way to do this?
For merge tables, you can try to use Table.Join function.
In my opinion, I'm not so recommend you to merge all tables to one, it will generate lots of duplicate records.(affect performance)
You can try to modify all 'cross filter direction' options to 'both', then use Company[Company_ID], Opportunity columns, Lead columns, Incidents columns to create a table visual and use Company[Company_ID] to create a slicer visual as filter.
Notice: please use company table's 'company id' as the key column, drag related detail columns from other tables.(not need 'company id' columns from other table)
Regards,
Xiaoxin Sheng
Is having these four tables combined into one table necessary? If not, you could simply join all four tables on Company ID, and then add three tables into the PowerBI Report page and add a slicer for Company ID. It would look something like this:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |