cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to add a new column to Matrix Visual which has no relationship with other tables?

Hi All,
I have created a matrix visual from columns and measures coming from various tables. They have realtionships with the master table and hence have able to come together. 


I have also enabled "show on rows" in the Values section in the format tab of matrix visual so that I have my list of KPI's on the right side with countries as column

 

Example:

              Australia       India      Korea       Japan

KPI 1       12                15          18             20

KPI 2

KPI 3

KPI 4

 

I have recieved a master table with the list of KPI's grouped together into another group called "Groups"

Example:

KPI    |  Groups

KPI 1 | GROUP A

KPI 2 | GROUP A

KPI 3  | GROUP B
KPI 4 | GROUP C 

 

I want to include the Groups column to my existing Matrix Visual but I am unable to since it has no relationships at all.
Expected Output :

                               Australia       India      Korea       Japan

GROUP A       KPI 1       12                15          18             20

GROUP A      KPI 2

GROUP B       KPI 3

GROUP C      KPI 4


Any idea how I can make this work?

2 REPLIES 2
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

I don't quite understand your data model.

Please show the data of your fact tables in the form of a copyable table and explain the relationship between them, you can make the sample with Excel.

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

NamishB
Post Prodigy
Post Prodigy

Hi @Anonymous - if i understood this correctly:

You have 2 tables, one 

              Australia       India      Korea       Japan

KPI 1       12                15          18             20

KPI 2

KPI 3

KPI 4

 

And another table as

KPI    |  Groups

KPI 1 | GROUP A

KPI 2 | GROUP A

KPI 3  | GROUP B
KPI 4 | GROUP C 

 

You need to show the Group names along with KPI's in Metrics.

 

is there a reason you cannot create a relationship in power BI data model?

You just need to drag drop KPI columns from both tables in modelling tab and it will detect the relationship automatically

 

Please let me know if this helps or if you need any further info.

 

Cheers,

-Namish B

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Top Solution Authors
Top Kudoed Authors