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.
I have several facts and need to make them into one, how can I do?
Solved! Go to Solution.
First you should select all fact tables you want to append.
Then you can goto the first one, select append queries, and then append all the other tables to this query.
Next you can goto the other queries, right click on them and mark them as not loaded (Enable Load = false). This will save some space on the model.
Finally, load the first table, you should have a table with all fact tables combined. This is effectively a UNION operation.
Hi @vitexo87,
you have two options. If the tables have an equal column you can use the "Merge Queries", in other case you can use the "Append Queries". Which is your case?
in my case I have several tables facts that several fields are the same, I did a test with the option to add query, this is my best option?
I don't know which is the best option, but
if you look at this screenshot you'll see the different results from the "Merge queries" and "Append queries". All the tables had Column1 = {1,2,3,4,5,6}. As you can see with the merge the result is much more clear, but it depends on what you have to do and your dataset configuration.
#I'M Not An Expert#
Merge is a join operation, which changes the shape of the table (more columns)
Append is an union operation, which doesn't change the shape conceptually but adds more rows (if used as intended. If you append mismatched schema together it unions them)
Try "Edit Queries" -> "Append Queries"
and then ?, sorry it was not clear to me
First you should select all fact tables you want to append.
Then you can goto the first one, select append queries, and then append all the other tables to this query.
Next you can goto the other queries, right click on them and mark them as not loaded (Enable Load = false). This will save some space on the model.
Finally, load the first table, you should have a table with all fact tables combined. This is effectively a UNION operation.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
81 | |
70 | |
61 |
User | Count |
---|---|
148 | |
116 | |
104 | |
89 | |
65 |