The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
expected :
IdRetour | Reference | PriseEnGarantie |
107 | 8716774182 | False |
107 | 87167728690 | False |
107 | 8716774182 | False |
I'am in Direct Query , someone can show me the path to the solution please ?
Thank you
@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] ))
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |