Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hey guys and gals,
I have a query that contains two columns, [Sales Order Number] (..which is unique) and [Services].
For each Sales Order Number there is a combination of words in Services
| 111 | Parcel |
| 112 | Parcel, Parcel |
| 113 | Parcel, Parcel, Parcel |
| 114 | Parcel, Parcel, Parcel, Truck |
| 115 | Parcel, Parcel, Truck |
| 116 | Parcel, Truck |
| 117 | Truck |
| 118 | Truck, Truck |
| 119 | Truck, Truck,Truck |
| 121 | Truck, Truck, Parcel |
I need a way to count orders where:
Min. 1 Truck + 1 Parcel = Parcel Split
Min. 2 Truck = Truck Split
Min. 2 Truck + 1 Parcel = Both Parcel Split and Truck Split
And I need a measure that counts all "Truck" and a measure that counts all "Parcel"
Explaination:
I'm trying to do a calculation on the split percentage of orders. So I need to know how many orders where considered a Parcel Split and how many a Truck Split and then divide it by the total amount of orders.
I hope it makes sense and thanks in advance, for the support,
Bassehave
Solved! Go to Solution.
@Bassehave Based on my understanding of the problem , I suggest we should create first these two measures to count the Number of times Parcel occurs in a text column and number of times Truck occurs , below can be used
-------------------------------------------------------------------------------------------------------------------------------
Good day, amigo! Have I provided the solution? If so, please let me know by adding the lovely, sweet "solution" tag to my post. And hey, if you're feeling very kind, give me a Kudos; after all, who doesn't enjoy a little digital gratitude?
@Bassehave Based on my understanding of the problem , I suggest we should create first these two measures to count the Number of times Parcel occurs in a text column and number of times Truck occurs , below can be used
-------------------------------------------------------------------------------------------------------------------------------
Good day, amigo! Have I provided the solution? If so, please let me know by adding the lovely, sweet "solution" tag to my post. And hey, if you're feeling very kind, give me a Kudos; after all, who doesn't enjoy a little digital gratitude?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 11 | |
| 8 | |
| 8 | |
| 8 |