Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi Experts,
What's wrong with my statement? Why is throwing me an error?
Anyone, Please help
Solved! Go to Solution.
Its working Now
if [CIR_WT_TYPE]= "SL" then ([ANF_WT]-[CIR_WT])/1000 else if[CIR_WT_TYPE]= "OL" then ([MANF_WT]+[CIR_WT])/1000
else if[CIR_WT_TYPE]= "SP" then ([MANF_WT]+[CIR_WT])/1000
else [MANF_WT]/1000)
Its working Now
if [CIR_WT_TYPE]= "SL" then ([ANF_WT]-[CIR_WT])/1000 else if[CIR_WT_TYPE]= "OL" then ([MANF_WT]+[CIR_WT])/1000
else if[CIR_WT_TYPE]= "SP" then ([MANF_WT]+[CIR_WT])/1000
else [MANF_WT]/1000)
Hi @ryan_mayu ,
I am still facing the same error, I need to do this only in Power Query. I have attached the PBIX file in the link, Below is my requirement. Please help me if Possible!
Add Custom Column on the below criteria
if(CIR_WT_TYPE='SL',(MANF_WT-CIR_WT)/1000,
if(CIR_WT_TYPE='OL',(MANF_WT+CIR_WT)/1000,
if(CIR_WT_TYPE='SP',(MANF_WT+CIR_WT)/1000,MANF_WT/1000))) as Total_Tonnage
Link to Download PBIX : https://1drv.ms/u/s!AsE8HLBpjnjdpm0wxg5IZqh4F4Yb
@Anonymous
pls see the screenshot below
Proud to be a Super User!
@Anonymous
pls try
if ... then ...else if....
Proud to be a Super User!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
92 | |
83 | |
71 | |
49 |
User | Count |
---|---|
143 | |
120 | |
110 | |
59 | |
57 |