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 September 15. Request your voucher.
Hi and thx for reading this.
I have a table below and i want to make a Measure that calculates the SUM of each Item divided by the count if The item and show it on Month.
ex.
Item A sum = 25 , it is 2 items, 25 /2 = 12,5
Item B sum = 40, it is 3 items, 40 /3 =13,3
item C Sum = 45, it is 2 items, 45/2 =22,5
The mesure should show.
202310 25,8
202311 22,5
/Thanks for any help.
Solved! Go to Solution.
@Wresen
Use this measrue:
MaeasureName =
SUMX(
ADDCOLUMNS(
SUMMARIZE( table , table[month] , talble[item] ),
"Avg" ,
CALCULATE( AVERAGE( table[value ) )
),
[Avg]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Wresen
Use this measrue:
MaeasureName =
SUMX(
ADDCOLUMNS(
SUMMARIZE( table , table[month] , talble[item] ),
"Avg" ,
CALCULATE( AVERAGE( table[value ) )
),
[Avg]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
User | Count |
---|---|
56 | |
54 | |
54 | |
49 | |
30 |
User | Count |
---|---|
173 | |
89 | |
70 | |
46 | |
45 |