March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
IF(AND(A1<0,B2<>""),"SMU",IF(AND(A1>0,B2<>""),"SMU","MUJ"))
Dear Friends, I am struggling in converting the above excel function into a dax in Power Bi. Can anyone please help me in writing the dax query from the function above. It would be a great help and learning for me. Thanks in advance.
hi @murugesh_c ,
kindly provide a sample input and sample output.
for now. assuming table name is "Table" and columns are "ColumnA" and "ColumnB"
the measure :
test =
IF(
AND( 'Table'[ColumnA] < 0 , 'Table'[ColumnA] <>"" ),
"SMU",
IF(
AND( 'Table'[ColumnA] > 0 , 'Table'[ColumnA] <>"" ),
"SMU",
"MUJ"
)
)
rought this would be it.
Hi Avinash,
Thank you for your time.
I have attached a spreadsheet containing sample data and the calculation that I want to incorporate in Power Bi. I have the same dataset in Power Bi and I want to replicate the calculation in Column E in Power Bi. Kindly check and let me know if you can help with a dax.
https://docs.google.com/spreadsheets/d/1zTDLvGKpB36nuXg4BK9JMCQWTCFqmr5B/edit?usp=sharing&ouid=11350...
Can anyone please help me with the dax calculation? I have attached a spreadsheet containing sample data and the calculation that I want to incorporate in Power Bi. I have the same dataset in Power Bi and I want to replicate the calculation in Column E in Power Bi. Kindly check and let me know if you can help with a dax.
https://docs.google.com/spreadsheets/d/1zTDLvGKpB36nuXg4BK9JMCQWTCFqmr5B/edit?usp=sharing&ouid=11350...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
14 | |
11 | |
8 | |
5 |
User | Count |
---|---|
26 | |
21 | |
20 | |
14 | |
10 |