The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, i have a Meassure called " CXI Material MN" this is generad from the division of the 2 colums of a table. What I require is the sum of that messure but what results is an average.
The result shoul be $0.171 and not $0.043
Greetings
Solved! Go to Solution.
Hi,
I am not sure how your datamodel looks like, but please check the below picture and the attached pbix file.
Piecio Material MIN =
SUMX (
VALUES ( Data[Description] ),
CALCULATE ( MIN ( Data[Precio Material] ) )
)
Yield SUM =
SUM( Data[Yield] )
CXI material MIN =
SUMX (
VALUES ( Data[Description] ),
DIVIDE ( [Piecio Material MIN], [Yield SUM] )
)
Hi,
I am not sure how your datamodel looks like, but please check the below picture and the attached pbix file.
Piecio Material MIN =
SUMX (
VALUES ( Data[Description] ),
CALCULATE ( MIN ( Data[Precio Material] ) )
)
Yield SUM =
SUM( Data[Yield] )
CXI material MIN =
SUMX (
VALUES ( Data[Description] ),
DIVIDE ( [Piecio Material MIN], [Yield SUM] )
)
User | Count |
---|---|
15 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
23 | |
14 | |
13 | |
8 | |
8 |