Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello Community:
Occassionaly, our ERP system will break down a shipped line into multiple rows. In this case, this order had 21 lines, and for whatever reason, Line 20 got broken down into multiple rows (the parent row you cannot see says Line 20). All of the ship dates are the same, but I suspect at different hours:minutes (which we don't use in our Power Bi reporting).
In Power Bi, this Order, on this particular ship date, will show 6 lines....when it should only show 1 (Line 20).
I've tried countrows, countdistinct, etc and none of them end up working correctly in one way or another. This does not happen on most orders, but it happens on some and it throws my total line count of shipped orders off because it adds lines where it shouldn't and what I really need is for Line 20 to be properly summed up (inclusive of all the qty shipped).
I beleive the issue needs to fixed at the source, or perhaps in the dataflow, but I am curious if there is a formulaic way to correct this ( I do not control the source data or the dataflow).
Hi @Anonymous, why not just use a "group by" step in Power Query?
https://docs.microsoft.com/en-us/power-query/group-by
User | Count |
---|---|
84 | |
77 | |
69 | |
46 | |
41 |
User | Count |
---|---|
106 | |
50 | |
49 | |
40 | |
39 |