Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I want to create a column changes the outcome of all the rows with the same value based on the outcome of one of the values. Example if 123 occurs 3 times once with the value "pass" then with value "on the edge" third time with the value "fail" then all three occurrences should be made "fail".
The priority should be
1)fail
2)on the edge
Please help its urgent. Thank you
3)pass
Solved! Go to Solution.
Hi,
Assuming there can only be Pass, Fail and Over the Edge in the Individual result column, write this calculated column formula
=if(CALCULATE(COUNTROWS(Data),FILTER(Data,Data[ID]=EARLIER(Data[ID])&&Data[Individual result]="fail"))>0,"Fail",if(CALCULATE(COUNTROWS(Data),FILTER(Data,Data[ID]=EARLIER(Data[ID])&&Data[Individual result]="on the edge"))>0,"On the Edge","Pass"))
Hope this helps.
Hi,
Assuming there can only be Pass, Fail and Over the Edge in the Individual result column, write this calculated column formula
=if(CALCULATE(COUNTROWS(Data),FILTER(Data,Data[ID]=EARLIER(Data[ID])&&Data[Individual result]="fail"))>0,"Fail",if(CALCULATE(COUNTROWS(Data),FILTER(Data,Data[ID]=EARLIER(Data[ID])&&Data[Individual result]="on the edge"))>0,"On the Edge","Pass"))
Hope this helps.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |