Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi all,
I have a need in one report and I don't know how to solve it. I need to show the results grouped according to some of the attributes of two different fact tables. The combination of these attributes (they all exists in both fact tables) determine the category.
I.e: Assuming the category is composed by "Type" and "Color" and that both attributes exist in Sales table and Invoices table:
CATEGORY SALES INVOICED
Blue cars 100 80
Red bikes 50 60
If it were with only one table (sales or invoices) I could do it adding an extra column filled with DAX using if's or switch, but how could I solve this applying to both tables without repeating the category column in the report?
Thanks in advance.
Hi @Anonymous ,
Could you please share sample data and the result you expect?
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
new table = distinct(union(summarize(table,table[type],table[color]),summarize(table,table[type],table[color])))
New new table create a new column
create a new column now = [Color] & " " [Type]
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 64 | |
| 58 | |
| 31 | |
| 25 | |
| 25 |