Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have this data:
And I get the wrong value, I aim to get (50*1 + 35*1,4) just once; that is 99 and not 148...
My last measure is
Solved! Go to Solution.
Hi @ovonel ,
Check the formula.
Measure =
VAR _AVG1 = AVERAGEX(ALLEXCEPT(Sheet1,Sheet1[LCSP],Sheet1[CUST]),[MDMxSize])
VAR _COUNT = CALCULATE(COUNT(Sheet1[CUST]),ALLEXCEPT(Sheet1,Sheet1[LCSP],Sheet1[CUST]))
VAR _AVG2 = _AVG1/_COUNT
RETURN
_AVG2
Measure 2 = SUMX(ALLEXCEPT(Sheet1,Sheet1[LCSP]),[Measure])
Best Regards,
Jay
Hi @ovonel ,
Check the formula.
Measure =
VAR _AVG1 = AVERAGEX(ALLEXCEPT(Sheet1,Sheet1[LCSP],Sheet1[CUST]),[MDMxSize])
VAR _COUNT = CALCULATE(COUNT(Sheet1[CUST]),ALLEXCEPT(Sheet1,Sheet1[LCSP],Sheet1[CUST]))
VAR _AVG2 = _AVG1/_COUNT
RETURN
_AVG2
Measure 2 = SUMX(ALLEXCEPT(Sheet1,Sheet1[LCSP]),[Measure])
Best Regards,
Jay
@ovonel , Try like
MDMxSizePerLCSP =
calculate(SUMX(values(Sheet1[cust]) ,[MDMxSize]),ALLEXCEPT(Sheet1,Sheet1[LCSP]))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
146 | |
110 | |
107 | |
86 | |
63 |