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
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
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.