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,
When I convert an excel formula to a DAX Code, it does not give me the correct % and I cannot figure out why. See below
Excel Formula: =((C28*40+E28*40+G28*10+I28*10))+(K26+M26+O26)
Solved! Go to Solution.
hi @Courtb86 ,
Kindly provide a sample input and output, masking any sensitive data.
If you are off, it's probably due to Order of Operations. I would recommend adding parenthesis to double check this :
(
(C28*40)+
(E28*40)+
(G28*10)+
(I28*10)
)+
(K26+M26+O26)
With the sample input, I will be able to provide the relevant dax formula.
Hi @Courtb86
You can share the sample input and expected output for better undertsating.
It seems you are taking a cell value of 28th row and 26th row. better if you can share input and output you want.
hi @Courtb86 ,
Kindly provide a sample input and output, masking any sensitive data.
If you are off, it's probably due to Order of Operations. I would recommend adding parenthesis to double check this :
(
(C28*40)+
(E28*40)+
(G28*10)+
(I28*10)
)+
(K26+M26+O26)
With the sample input, I will be able to provide the relevant dax formula.
FINAL= if(((([Measure 1]*10)+
([Measure 2]*40)+
([Measure 3]*10)+
([Measure 4]*40))-
[Measure 5]-
([Measure 6])-
([Measure 7]*5))/100<0,0,
((([Measure 1]*10)+
([Measure 2]*40)+
([Measure 3]*10)+
([Measure 4]*40))-
([Measure 5])-
([Measure 6])-
([Measure 7])*5)/100)
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 |
|---|---|
| 50 | |
| 44 | |
| 41 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 68 | |
| 32 | |
| 32 | |
| 32 |