Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 34 | |
| 31 | |
| 30 |