Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 64 | |
| 31 | |
| 29 | |
| 24 |