Forum Discussion
AlexDECG
7 years agoRegular Visitor
Compile table from multiple tables in DAX
Hello everyone, I am fairly new to Power BI and DAX and I have been trying to find a way to create a summary table from more tables in DAX with no success :smileysad: We want to be able to be...
- 7 years ago
Hi,
Try these steps:
- Append data from all 3 Tables to create 1 large range
- Remove 3 columns - Number of staff, Number of Machines and Premises Size
- Select the first two columns and select Unpivot other columns
- Click on Close and Apply in the Query Editor
- Build a Matrix visual and drag File Date, Customer ID to the row labels. Drag Attribute column to the column labels
- Write this measure: Scores = SUM(Data[Value])
Hope this helps.
Ashish_Mathur
7 years agoSuper User
Hi,
Try these steps:
- Append data from all 3 Tables to create 1 large range
- Remove 3 columns - Number of staff, Number of Machines and Premises Size
- Select the first two columns and select Unpivot other columns
- Click on Close and Apply in the Query Editor
- Build a Matrix visual and drag File Date, Customer ID to the row labels. Drag Attribute column to the column labels
- Write this measure: Scores = SUM(Data[Value])
Hope this helps.
- AlexDECG7 years agoRegular Visitor
Good morning!
Worked perfectly! Many thanks!
Just one last question and apologies for not making this clear in my initial request.
I need to divide the total by a factor to obtain a percentage, so the standard matrix total function does not work.
If I add the Total as a measure to the matrix then I get an extra total column before each of the other criteria.
Can I get "my" total showing in the matrix without the extra columns?
Thanks!
- Ashish_Mathur7 years agoSuper User
Hi,
You are welcome. I do not understand your requirement. At max, we can have a different calculation running in the Total column. If that is what ou want, then share the expected result.