Forum Discussion
Tarek78210
2 years agoFrequent Visitor
First creation date per customer
Hi All, I have one simple table with two columns: - one column for the customergroup name -one column showing when that customer group was created A customer group can have multiple cust...
Jihwan_Kim
2 years agoSuper User
Hi,
Please check the below picture and the attached pbix file.
It is for creating a new column.
INDEX function (DAX) - DAX | Microsoft Learn
First Date CC =
SELECTCOLUMNS (
INDEX (
1,
SUMMARIZE ( Data, Data[CustomerGroup], Data[CreationDate] ),
ORDERBY ( Data[CreationDate], ASC ),
,
PARTITIONBY ( Data[CustomerGroup] ),
MATCHBY ( Data[CustomerGroup], Data[CreationDate] )
),
Data[CreationDate]
)
Tarek78210
2 years agoFrequent Visitor
Thanks. For your information, I am on Power Pivot, not Power BI. For some reasons, all the formulas don't appear in the predictive text. For example: Selectedcolumns appear but not the Index function.
Is your formula working with the Power Pivot environment?