Forum Discussion
How do I put multiple tables that have the same categories into a single table?
- 3 years ago
Hi Anonymous ,
Thanks for clarifying. If you want the 3 visuals to be in the same order always you should try and get all these measures in a same table.
If they are already connected then it should not be a problem. But if the Category is not present in the Central table then you can create a new table by appending the Category column from all the tables and then removing duplicates.
This would create a Dimension or a Brige table. maybe you can show your value in a single table visual against this category.
- Anonymous3 years ago
Figured it out. I added a new custom column and entered the following code:
= each if [UNAIDEDAWARENESS.Service] = null then [FAMILIARITY.Service] else if [FAMILIARITY.Service] = null then [UNAIDEDAWARENESS.Service] else [UNAIDEDAWARENESS.Service])So basically where either column is null, do the value in the other column, and where they match (which is all other cases), just pick the first one (arbitrary).
Then did the same for uuids.
Solved: How do I dynamically merge two columns that contai... - Microsoft Fabric Community
I then formed a relationship between this new table and my central table, made all the measures I needed, using the two response columns that originally came from the two different tables, and put them all in a matrix.
Here's the result:
Now it can all be sorted together, too.
The central table does not contain the categories in these tables. They are related via UUID.
Also I think I should've been clearer, it's not that I want a fixed order for the visuals, what I want is for them to have the same order as eachother. So for example, if I sort the categories by Unaided Awareness %, then the others will sort to that same order of categories.
So now I'm thinking about it, I really just want them to all be in the same table.
Hi Anonymous ,
Thanks for clarifying. If you want the 3 visuals to be in the same order always you should try and get all these measures in a same table.
If they are already connected then it should not be a problem. But if the Category is not present in the Central table then you can create a new table by appending the Category column from all the tables and then removing duplicates.
This would create a Dimension or a Brige table. maybe you can show your value in a single table visual against this category.
- Anonymous3 years agoNot applicable
Do you mean create a new table, let's call it C, that has one column for the uuids, a column for the cateogries (they're all the same between tables A and B), a column for the responses from table A, and a column for the responses from table B? And then just create the % measures from that table?
Like a sort of join
- Prateek973 years ago
Resolver III
Yes, that should be the right direction
- Anonymous3 years agoNot applicable
I'm trying to create a new merged table (inner-join) and it hasn't loaded anything in the last hour. It's only like ~40,000 rows. Any idea what to do?
EDIT: oh wait it's unpivoted, so it's more like ~3,000,000 rows lol.