Forum Discussion
extract single value
Hi,
in the attached sheet, C4 extracts the unique values from C3 with conditions
C1-A && C2-P1in C4 - 500, If C2 is duplicated single value should consider in C4.
Hence the reuired Column is C4 based on C1 & C2
https://drive.google.com/file/d/1l0bGaAX4p8uLjUXupxa2LZRpnvcvQj5R/view?usp=sharing
10 Replies
- edhansCommunity Champion
It returns the following table in Power Query:
It does it by inserting an Index column first, then getting the previous row by referencing the index value - 1.
- AnonymousNot applicable
Thanks, the result is rigth, ist possible to share the Pbix file to understnad better.
- v-lionel-msftCommunity Support
Hi Anonymous ,
Or you could do like this:
First, create a [Index] column in "Edit Queries";
Second, create a calculated column:
Column = VAR x = MOD([Index], 2) RETURN IF( x = 0, BLANK(), [C3] )Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Could you please share the file