Forum Discussion
Showing the data through power BI using few SQL data tables
Hi,
I'm just beginning using PowerBI and was wondering is it possible to show me the data I need.
I have 2 SQL tables:
So as you can see 1st table contains ALL UK companies with: Number, Postcode and it's incorporation date.
2nd table contains all UK postcodes and Local Authority name it belongs to like London, Manchester, Liverpool etc. For this example we need just one so I've picked london.
Now the task is to get the data about all the companies created within specific time period for ex:
"Show me all the companies created in London between 06-2008 and 12-2012.
Is it possible to use power BI to show this data?
- Anonymous5 years ago
Anonymous this should be relatively simple.
Create a 1-many relationship between "All_Luton_Postcodes" and "BasicCompanyData" on the PostCode→RegAddress_PostCode.Then in the report, use a date slicer on "Incorporation Date" to filter by the dates desired, and a slicer on "LocalAuthrityName" to filter to the locale desired. Then add a table or matrix visual showing the desired information (CompanyNumber, IncorporationDate, Postal Code, etc.)
5 Replies
- AnonymousNot applicable
Anonymous this should be relatively simple.
Create a 1-many relationship between "All_Luton_Postcodes" and "BasicCompanyData" on the PostCode→RegAddress_PostCode.Then in the report, use a date slicer on "Incorporation Date" to filter by the dates desired, and a slicer on "LocalAuthrityName" to filter to the locale desired. Then add a table or matrix visual showing the desired information (CompanyNumber, IncorporationDate, Postal Code, etc.)
- aj1973Community Champion
Hi Anonymous
Yes it is possible.
- AnonymousNot applicable
Hi Amine,
Please see attached pbix file
https://drive.google.com/file/d/1K8j441GvykLYUPK8AkZewKo3lfeFG0t4/view?usp=sharing
Kind regards
Kris
- aj1973Community Champion
Hi Anonymous Kris
Anonymous got it right but here is the file back to you
https://drive.google.com/file/d/1UMq40D_6FmZDBa1iw20u6Ssc9IKcl3ke/view?usp=sharing