March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
How to get first instance based on multi criteria. I have shared excel formula to get and for reference.
Sample Data: Sample Data
Regards,
Chandrashekar B
Solved! Go to Solution.
@Chandrashekar
Please refer to attached sample file. You need to addindex column using power query.
Result =
VAR CurrentIndex = 'Table'[Index]
VAR CurrentTable = CALCULATETABLE ( 'Table', ALL ( 'Table'[Index] ) )
VAR FilteredTable = FILTER ( CurrentTable, 'Table'[Index] <= CurrentIndex )
RETURN
IF ( COUNTROWS ( FilteredTable ) = 1, 1, 0 )
@Chandrashekar
Please refer to attached sample file. You need to addindex column using power query.
Result =
VAR CurrentIndex = 'Table'[Index]
VAR CurrentTable = CALCULATETABLE ( 'Table', ALL ( 'Table'[Index] ) )
VAR FilteredTable = FILTER ( CurrentTable, 'Table'[Index] <= CurrentIndex )
RETURN
IF ( COUNTROWS ( FilteredTable ) = 1, 1, 0 )
Thanks for the solution.
Hi @Chandrashekar
Can you attach a screenshot of the excel sheet along with the formula?
Hello,
Please find attached excel data with Formula.
Sample Excel Data: Excel Sample Data
Regards,
Chandrashekar B
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
16 | |
15 | |
7 | |
6 |
User | Count |
---|---|
33 | |
29 | |
16 | |
13 | |
12 |