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

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.

Reply
Anonymous
Not applicable

KPI - combine multiple Tables for KPI Matrix

Hi,

 

I am looking for an example of combining multiple tables for KPI matrices across the report. Please let me know how can I do that?

So, I have 3 tables with different application Names and has Status. Combine all 3 and display one table matrics with color coding.

skuruvatti_0-1632523697292.png

 

skuruvatti_1-1632523956777.png

Thanks in advance!

 

2 REPLIES 2
halfglassdarkly
Resolver IV
Resolver IV

If you just want to combine the three tables without summarizing - and so long as your columns appear in the same order in each table - you can create a calculated table in DAX using UNION:

 

CombinedTable = UNION(Table1,Table2,Table3)

 

Union works on column order, so it won't matter should the column names be different between tables, but woul matter if you had an inconsistant number of columns between tables, or different order.

 

Or if the column order is different, or you want to aggregate the data from each table, you can use SUMMARIZE to create a summary table from each table, and combine them with UNION.

 

Alternatively, handle this in Power Query using Append Queries.

 

Not sure how the logic for your RAG status color indicator works, given your status column is appears to be binary 0 or 1?

Anonymous
Not applicable

Actually, The column names are different from each table, and when I append the tables 2 columns are displayed rather than one. RAG is from the status

 

skuruvatti_0-1632779047425.png

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.