Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
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,
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
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 |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 10 | |
| 5 | |
| 5 |