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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! 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())

Share with Power BI Enthusiasts: 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.