Showing results for 
Search instead for 
Did you mean: 
spud Frequent Visitor
Frequent Visitor

first product ordered

 I would like your help:


short hypothetical example


a vendor sells the following items:

cherries code 283

apples   code 282

oranges code 111


A customer orders cherries and apples all of the time


Suddenly the customer orders oranges- how could you set something up to find if a customer ordered a new item such as oranges


Super User
Super User

Re: first product ordered

@spud I assumed there is order date in the data, add following column to identify when product was ordered first time.


Is this first order = 
VAR __itemsOrders = CALCULATETABLE( VALUES( Table3[Product] ), FILTER( ALL( Table3 ), Table3[OrderDate] < EARLIER( Table3[OrderDate] ) ) )
IF( NOT Table3[Product]  IN __itemsOrders, "Yes" )

Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos Smiley Happy
Feel free to email me with any of your BI needs.

Helpful resources

Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 113 members 1,994 guests
Please welcome our newest community members: