Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi Team,
I am trying to use multiple statements from Excel and convert to either a dax formula or a calculated column:
=IF(AB2="YES",SUM(X2/AC2),"0.00")
the Columns are all within the same table.
I tried a calculate with and If and Sum.... Iferror with a Sumx ..... If , sum, filter..... No luck
Your advice and expertise, greatly appreciated
🙂
Solved! Go to Solution.
Hi,
You have not specified whether you need a calculated column or a measure. If you need a calculated column formula, then try this
=if(Data[Reply]="Yes",divide(Data[column1],Data[column2]),0)
Data[Reply] is column AB
Data[column1] is X2
Data[column2] is AC2
Hope this helps.
Hi,
You have not specified whether you need a calculated column or a measure. If you need a calculated column formula, then try this
=if(Data[Reply]="Yes",divide(Data[column1],Data[column2]),0)
Data[Reply] is column AB
Data[column1] is X2
Data[column2] is AC2
Hope this helps.
@Ashish_Mathur THANK YOU
Lesson learnt- dont overthink the formula- Worked perfectly!
You are welcome.
User | Count |
---|---|
139 | |
113 | |
104 | |
77 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |