Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
holydragon
Frequent Visitor

Displaying Totals for Each Category with Two separate tables

Hello,

 

I have two tables that have a common department number

 

Table 1                            Table 2

Dept.  Total                     Dept.  Total

A         1                           A        3

B         2                           C        5

C         3

 

Table 2 does not have all of the departments shown in Table 1.

 

What I would like to do is show a bar chart of the with the values to table 1 and table 2 side by side

 

Chart

 

1 3          3 5

A             B

 

however, whenever I link the tables together  I get the correct value for Table 1 but the total for table 2

 

Linked Table

 

        1              2

A     1              8

B     2              8

C     3              8

 

How do I reflect the right totals for Table 2?

 

I am expecting something like:

 

        1              2

A     1             3

B     2             

C     3              5

 

Any help is appreciated!

HD

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi holydragon,

 

You may merge table1 and table2 first, click query editor-> merge.

12.PNG 

2.PNG 

Then delete Table2.Dept. , the result is like below:

3.PNG 

 

Regards,

Jimmy Tao

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

Hi holydragon,

 

You may merge table1 and table2 first, click query editor-> merge.

12.PNG 

2.PNG 

Then delete Table2.Dept. , the result is like below:

3.PNG 

 

Regards,

Jimmy Tao

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.