Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
¿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 November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |