Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

How to convine fields in one table?

Hello everyone,

My doubt is, i have 6 fields imported from excel to power bi, each one is for a different user, in power bi i summarize these reports from each user, but i need to make a summary of the entire area, the base excel from every user is the same, but with different data introduced by the users, i need to make a table that counts monthly the amount of data introduced by the users, but avoiding dupplicated data to increase the count number (each user introduces different data but the base have already previus data that repeats in every user),
Thanks for reading and for your atention.

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous,

     

    You have two ways to do it, you can do it on Dax using DISTINCT(UNION(SELECTCOLUMNS('Table1',"Nameatyourchoice",[Column]),SELECTCOLUMNS('Table2',"SAMENAMEASBEFORE",[Column]),...))

     

    Or you can go to the Query Editor, append all of them and then Remove Duplicates.

     

    Let me know if it worked, if so mark as solution.

     

    BR,

    DR