March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all,
I have issues with two of my current formulas:
1) Co2 from electricity = Electricity (mwh) x market based factor
The market factor is based on the country, therefore the value different per plant. For example, for Q1 it should be 891 x 0.4 = 356.4 , but instead it is taking the sum of 0.4 (1.19) and multiplying (to then equal 1058.51), when I need the market factor to remain a fixed value when multiplying.
Currently I have the following measures:
2) Co2 from combustion = Total combustion x Factor Natural Gas
The same issue here, except the factor needs to always remain the same. Should be 811 x 0.2 = 162.2 (but instead the answer is coming out as 491.22).
Currently I have the following measure:
I would appreciate any help or advice, thanks in advance!
Solved! Go to Solution.
@Anonymous Not sure I completely understand this. It looks like you have a table visual with the correct numbers in it. Where do those come from? Can you not just use those in your formula? If the second and third columns are columns, just use the same aggregation for those as in the table visual. For example, if they are default Sum aggregation, use SUM([Market based FACTOR]) or if they are Max, use MAX([Market based FACTOR])
@Greg_Deckler thanks so much, your advice worked! I needed to use "max" in place of "sum" for the factors and they reamined at a fixed value.
@Anonymous Not sure I completely understand this. It looks like you have a table visual with the correct numbers in it. Where do those come from? Can you not just use those in your formula? If the second and third columns are columns, just use the same aggregation for those as in the table visual. For example, if they are default Sum aggregation, use SUM([Market based FACTOR]) or if they are Max, use MAX([Market based FACTOR])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |