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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ItSupportElm
Helper III
Helper III

If different value to same reference then false for all

Hello everyone,

 

Hope you good, i need your help please about an issue :

 

2021-04-07_10h32_30.png

 

I have the same "IdRetour" for different reference, and i want if one of "PriseEnGarantie" is False all the reference return False, the three IdRetour "107" is false.

 

Thank for the futur answer, and sorry if my english is not that good.

Good Day

2 REPLIES 2
amitchandak
Super User
Super User

@ItSupportElm , Create a new column as

new column =
var _cnt = countx(filter(Table, [IdRetour] = earlier([IdRetour]) && [PriseEnGarantie]=false()),[PriseEnGarantie])+0
return
if(_cnt >0, false(), true())

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for ansering o quickly @amitchandak  , i try your formula but it didnt work im in direct query i dont know if it change anything.

 

here the error : 

2021-04-07_13h14_54.png

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors