Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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()))
Check out the May 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.