Forum Discussion
Problems with switch
- 6 years ago
Hi carolinapm ,
If the two column values are in the same table and put into a table visual, you can use the following measure:
= SWITCH ( TRUE (); SELECTEDVALUE ( '252'[Id_bo] ) = SELECTEDVALUE ( '252'[Id_WebAgendas] ); 1; 0 )OR
= IF ( SELECTEDVALUE ( '252'[Id_bo] ) = SELECTEDVALUE ( '252'[Id_WebAgendas] ); 1; 0 )
If it doesn't meet your requirement, kindly share your sample data and expected result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi carolinapm ,
If the two column values are in the same table and put into a table visual, you can use the following measure:
=
SWITCH (
TRUE ();
SELECTEDVALUE ( '252'[Id_bo] ) = SELECTEDVALUE ( '252'[Id_WebAgendas] ); 1;
0
)OR
=
IF (
SELECTEDVALUE ( '252'[Id_bo] ) = SELECTEDVALUE ( '252'[Id_WebAgendas] );
1;
0
)
If it doesn't meet your requirement, kindly share your sample data and expected result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.