Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Matej
Helper I
Helper I

Return only specific data combination in grouped table

Hello, 

I'm trying to write a measure that would return very specific combination of data - and count it. 

The case is as following: I have columns "Collection Number", "Original Shipping Date", "Post Code Prefix", "Name", "SOB Status". Now, what I'm trying to achieve is to group data based on date, post code and customer (name) and then return only those clients (name) and orders (collection number) that have both status "High" and "Low" for a specific day (Original Shipping Date). 

Matej_0-1681977752263.pngMatej_1-1681977819111.png

 



In short my goal is to identify Low value orders that have been shipped alongside the High value orders in the same day for a same customer so we know that the shipping cost have not been spent solemnly on the Low value order. 
On the second screenshot I would like to be able to count the those three SOBs (High, High, Low) as 1 - One combined order. 

Hope this explanation make sense, I've been struggling with it for some time so might have overcomplicated it. 
Any advices would be masively appreciated. 

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.