Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi All
I have below workig fine expression from @pranit828 which recode the field GROUP_TYPE into only those value label i want to see :-
Solved! Go to Solution.
@admin11 , Try like this as we are using a function that works on *value*, it means G16 should come before G1
GROUP_TYPE_CO =
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE('Group TYPE'[GROUP_TYPE_C],
"G16","AO"),
"G2","AP"),
"G3","SL"),
"G4","CL"),
"G5","RW"),
"G1","GT")
@admin11 , Try like this as we are using a function that works on *value*, it means G16 should come before G1
GROUP_TYPE_CO =
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE('Group TYPE'[GROUP_TYPE_C],
"G16","AO"),
"G2","AP"),
"G3","SL"),
"G4","CL"),
"G5","RW"),
"G1","GT")