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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
ItSupportElm
Helper III
Helper III

Same ID with different reference , if one of them are false then all false

Hello,

 

I trie to display data who have same IdRetour but different reference , the reference Guaranty is false or true, i want to the same IdGroup if one of the reference of the IdRetour then all become False.

 

2021-04-07_10h32_30.png

expected : 

 

IdRetourReferencePriseEnGarantie
1078716774182False
10787167728690False
1078716774182False

 

I'am in Direct Query , someone can show me the path to the solution please ?

 

Thank you

1 REPLY 1
amitchandak
Super User
Super User

@ItSupportElm , Create a new measure and try

 

PriseEnGarantie measure =
var _cnt = countx(filter(allselcted(table), Table[IdRetour] = max(Table[IdRetour]) && [PriseEnGarantie] = false()),[IdRetour])
return
if(not(isblank(_cnt)), false(), max( table[[PriseEnGarantie] ))

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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