Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Please help with below output , if there is even one Yes related to specific id need Yes in all the rows thank you in advance
ID | Col | Output |
701 | Yes | Yes |
701 | No | Yes |
702 | No | Yes |
703 | No | No |
702 | Yes | Yes |
701 | No | Yes |
Solved! Go to Solution.
Hi,
This calculated column works
=if(CALCULATE(COUNTROWS(Data),FILTER(Data,Data[ID]=EARLIER(Data[ID])&&Data[Col]="Yes"))>0,"Yes","No")
Hope this helps.
@Anonymous , Try a new column like
if(countx(filter(Table,[ID]= earlier([ID]) && [Col] ="Yes"),[Col])>0,"Yes","No")
Hi,
This calculated column works
=if(CALCULATE(COUNTROWS(Data),FILTER(Data,Data[ID]=EARLIER(Data[ID])&&Data[Col]="Yes"))>0,"Yes","No")
Hope this helps.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
96 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |