Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
hugo_barbara
Helper I
Helper I

Creating a calculated column that brings the first value that appears according to other lines

Guys,
All good?

Is there a way to create a calculated column that brings the first time such a condition appears in another column.

For example, I have a table that shows the week by week evolution of a project, I would need to get the first time we reached 100%.

follow the example

hugo_barbara_0-1677782091392.png


In the column appears a "YES" and the others remain blank?

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @hugo_barbara 

Please try

Flag =
IF (
MINX (
FILTER (
CALCULATETABLE ( 'Table', ALLEXCEPT ( 'Table', 'Table'[UNIDADE] ) ),
'Table'[Progresso] = 1
),
'Table'[DATA]
) = 'Table'[DATA],
"True"
)

View solution in original post

2 REPLIES 2
hugo_barbara
Helper I
Helper I

Tksss!!!!!!!

tamerj1
Super User
Super User

Hi @hugo_barbara 

Please try

Flag =
IF (
MINX (
FILTER (
CALCULATETABLE ( 'Table', ALLEXCEPT ( 'Table', 'Table'[UNIDADE] ) ),
'Table'[Progresso] = 1
),
'Table'[DATA]
) = 'Table'[DATA],
"True"
)

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.