Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I need to count de sequence a batch number and a description repeats except if description = "OK", here es my current table:
Here is what I'm looking for:
Thank you
Solved! Go to Solution.
Hi @ratercero,
I have the March Update and have built a very simple version which I have uploaded here. Please download and see if it works for you.
Hi @ratercero,
Please try this slightly modified column.
Sequence Count = COUNTROWS( FILTER( 'Table', 'Table'[BATCH_NUMBER_1]=EARLIER('Table'[BATCH_NUMBER_1]) && 'Table'[DESCRIPTION]<>"ok" && 'Table'[DESCRIPTION] = EARLIER('Table'[DESCRIPTION]) && 'Table'[c_FinishedDT] <= EARLIER('Table'[c_FinishedDT] ) ))
Hi @ratercero
How close is this to your requirements?
Sequence Count = COUNTROWS( FILTER( 'Table', 'Table'[BATCH_NUMBER_1]=EARLIER('Table'[BATCH_NUMBER_1]) && 'Table'[DESCRIPTION]="ok" && EARLIER('Table'[DESCRIPTION]) <> "ok" ) )
Hi @ratercero,
I have the March Update and have built a very simple version which I have uploaded here. Please download and see if it works for you.
This is very close to whagt im looking for, but notice on batch "005326" Description "RP" , is twice, so it should count as 2 the second time it shows.
Hi @ratercero,
Please try this slightly modified column.
Sequence Count = COUNTROWS( FILTER( 'Table', 'Table'[BATCH_NUMBER_1]=EARLIER('Table'[BATCH_NUMBER_1]) && 'Table'[DESCRIPTION]<>"ok" && 'Table'[DESCRIPTION] = EARLIER('Table'[DESCRIPTION]) && 'Table'[c_FinishedDT] <= EARLIER('Table'[c_FinishedDT] ) ))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
78 | |
65 | |
60 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |