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.
Thanks in advance!
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?
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
Click here to read more about the December 2021 Updates!
Mark your calendars and join us for our next Power BI Dev Camp!
Learn how to create your own user groups today!