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 this table where I calculate the column "new" using dax, adding the offer value for each week and center, as you can see, all the rows that repeat week and center have the same value. But I would like to pivot or eliminate duplicates, the problem is that when using power query it does not show the column that I have calculated.
Center | week | offer | new |
1 | 21 | -22 | 220 |
1 | 21 | 242 | 220 |
3 | 22 | 0 | 20 |
3 | 22 | 20 | 20 |
So how can I have a table like this?
Center | week | new |
1 | 21 | 220 |
3 | 22 | 20 |
Solved! Go to Solution.
Instead having complex transformation steps in power query. You could create a table using dax, this is also faster in terms of loading speed.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Instead having complex transformation steps in power query. You could create a table using dax, this is also faster in terms of loading speed.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
HI @nicolasvc ,
I am not sure on the DAX expression that you have created.
Is it a column or a measure?
If OFFER is a column than create it in Power Query instead of using DAX. In that way you will be able to see that in Power Query and remove duplicates.
Thanks,
Pragati
Is a column I calculated it doing something like this:
New= CALCULATE(SUM(Table[offer]),ALLEXCEPT(Table,Table[week],Table[Center]))
But I did it in DAX because I couldn't find a way to do it in power query.
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 |
---|---|
100 | |
100 | |
80 | |
77 | |
66 |
User | Count |
---|---|
134 | |
106 | |
104 | |
85 | |
73 |