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.
Hi,
is there a way to fix this currently i need to combine this measure into 1
the correct out put is Measure which is 64.9
currently im using variable to call the Measure
Solved! Go to Solution.
@Easley08
You cannot use a variable (ans) inside an interation as the variable once assigned behaves like a constant.
Use this meaure:
Finished Lead Cost ULAB1 =
AVERAGEX (
VALUES ( 'Calendar Table'[Date] ),
CALCULATE (
DIVIDE ( [ULAB Buying PHP/kg], AVERAGE ( pb_percent[pb_ulab] ), 0 )
+ SUM ( raw_mats[ulab_php_conversion_cost_kg] ) - [Plastic Savings / kg]
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Easley08
You cannot use a variable (ans) inside an interation as the variable once assigned behaves like a constant.
Use this meaure:
Finished Lead Cost ULAB1 =
AVERAGEX (
VALUES ( 'Calendar Table'[Date] ),
CALCULATE (
DIVIDE ( [ULAB Buying PHP/kg], AVERAGE ( pb_percent[pb_ulab] ), 0 )
+ SUM ( raw_mats[ulab_php_conversion_cost_kg] ) - [Plastic Savings / kg]
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
thanks it works i used this measure also but without the calculate thats why im getting the wrong total.
@Easley08
Yes, you need the CALCUALTE here to do the context-transition.
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
8 |
User | Count |
---|---|
22 | |
13 | |
11 | |
10 | |
10 |