Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
How to get first occurrence from duplicate based on multi conditions.
Regards,
Chandrashekar B
Hi,
I do not know what is your expected outcome and how your data model looks like, but I tried to create a sample like below.
Please check the below picture and the attahced pbix file.
It is for creating a new column.
First occurrence flag CC =
IF (
Data[Index]
= MINX (
FILTER ( Data, Data[Category] = EARLIER ( Data[Category] ) ),
Data[Index]
),
"FLAG"
)
Hello,
Thanks for the solution. However I need based on mutli condition(Attached)
File: Sample Data
Regards,
Chandrashekar B
Hello,
I want to add one more condition i.e. field(2nd Condition) = 1 to existing dax.
May I know how to do it.
Regards,
Chandrashekar B
Hello,
Can I add one more condition in Dax formula. i.e. field(2nd Condition) = 1
First occurrence flag CC = IF ( Data[Index] = MINX ( FILTER ( Data, Data[Category] = EARLIER ( Data[Category] ) ), Data[Index] ), "FLAG" )
Regards,
Chandrashekar B
Hello,
Any solution?
Regards,
Chandrashekar B
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |