Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I am pretty new in power bi with some knowledge from here and there and a lot of google search... My issue is this:
I have two tables (one with actuals and one with targets) both with columns "Region" and "Country". Both tables have multiple inputs for "Country" and "Region".
I want to make graphs (actuals and targets) with data from the two tables and use slicers "country" and "region" to suffle within the data on the graph. To avoid using two slicers for "country" i need to connect the "region" and "country" column from the two tables so that the graph understands this is the same field but i can only make one connection, not two.
I searched online but none of the posts i found is similar to my case and it does not help me. If you could give me some advice i would highly appreciate it.
Solved! Go to Solution.
Hi @Dimis_e
you need to create a model like the below. The top dimension table will filter both sales and actuals
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Concatenate the 2 fields and make a join based on the concatenated field.
It will be 2 tables with many to many relationship
Hi @Dimis_e
you need to create a model like the below. The top dimension table will filter both sales and actuals
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
It works... I cannot believe i lost 1 day for such an easy solution! Can you also help me with the below:
I want to connect the same two tables with another column which is again common. I was thinking to put it at the newly created table as per your instruction but if i do that then the coutnry will create multiple records and i guess the connection will not work again. Any suggestion?
Hi @Dimis_e
it depends if this column logically belongs to the dimension we have created previously or not.
what does it look like?
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Hi @Dimis_e
is it possible to post a sample data?
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Here is an example
Hi @Dimis_e
I would create separate dimension for Asset, People, Technology, Process
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
You mean seperate RegionCountry tables by each one of the 4 parameters?
Hi @Dimis_e,
is the table you've shown a dimension or a fact table. Could you show both the dimension and fact?
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
The table is coming from a sharepoint list, so i guess it is a fact table
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
92 | |
83 | |
71 | |
49 |
User | Count |
---|---|
143 | |
120 | |
110 | |
59 | |
57 |