Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Revenue =
Var CODFees = IF(
AND(deliveries[sender._id] = "UiMNuYTbVmn",deliveries[cod.amount]>0),deliveries[pricing.priceBeforeVat]+7
,deliveries[pricing.priceBeforeVat]
)
RETURN
IF(
deliveries[sender._id] = "UiMNuYTbVmn",
CODFees,
deliveries[pricing.priceBeforeVat] - deliveries[pricing.expediteFee.amount]
)
Give me error :
DAX comparison operations do not support comparing values of type Text with values of type Integer. Consider using the VALUE or FORMAT function to convert one of the values.
Can anyone support urgently
Solved! Go to Solution.
Hi @AliBiktash99
The "cod. amount" / other variable is a text...
Please check the data types and change them to numbers :
Hi @AliBiktash99
The "cod. amount" / other variable is a text...
Please check the data types and change them to numbers :
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
77 | |
63 | |
51 | |
47 |
User | Count |
---|---|
212 | |
82 | |
61 | |
60 | |
57 |