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.
¿Cómo puedo convertir la siguiente medida SQL en DAX?
if [A]=[B] then 'TRUE'
ELSEIF [B]='All' then 'TRUE' END
Solved! Go to Solution.
Hola @armughan , usted puede conseguir esto por
IF([A] = [B],TRUE(),IF([B] = 'All',TRUE(),BLANK()))
Hay @armughan,
Si desea crear una nueva columna , puede usar el siguiente dax:
Column = IF('Table'[A]='Table'[B]||'Table'[B]="All",TRUE(),BLANK())
Y si desea crear una medida, puede probar el siguiente dax:
Measure = IF(MAX('Table'[A])=MAX('Table'[B])||MAX('Table'[B])="All",TRUE(),BLANK())
Final obtendrá :
Deseo que sea útil para usted!
Saludos
Lucien
Hola @armughan , usted puede conseguir esto por
IF([A] = [B],TRUE(),IF([B] = 'All',TRUE(),BLANK()))
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.