Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi guys, I have the following situation:
What I need to do is, sum the values that have the same ID, put the new value on the same row as it's respective ID, and after this, remove the duplicated ID, in a way that the final product would have no duplicated ID.
Can anyone help me with that? Thanks a lot.
Solved! Go to Solution.
@Anonymous ar eyou wanting to do this in query editor or in the visual pane? because all you ahve to do is create a measure and then it will automtically aggregate it?
otherwise alll you need to do in query editor is use the group by under transform and that will aggregrate and give you a new total
Proud to be a Super User!
@Anonymous ar eyou wanting to do this in query editor or in the visual pane? because all you ahve to do is create a measure and then it will automtically aggregate it?
otherwise alll you need to do in query editor is use the group by under transform and that will aggregrate and give you a new total
Proud to be a Super User!
Hey @vanessafvg
I'm trying to do it on the query editor. I tried grouping as you suggested, but I end up losing all other columns, and some values doesn't add up, like this:
Do you have any idea of what I could do to keep the other columns, and why this ID doesn't add up like the others?
@Anonymous it potentially has some white space in it? i would do a replace blank space with nothing and see if it helps?
change your group by to advanced and add all the columns you want to keep, but note that they obviously all need to have the same value or it will create more than one row for the combination.
Proud to be a Super User!
Hi @vanessafvg
That was it! I trimmed it for blank spaces and was able to fix all errors. Also did the advanced grouping and now everything is correct!
Thanks very much!
User | Count |
---|---|
91 | |
73 | |
68 | |
63 | |
55 |
User | Count |
---|---|
99 | |
88 | |
73 | |
60 | |
58 |