Forum Discussion
Anonymous
7 years agoNot applicable
total doesnt work
Hi, I have a PBI report (SQL Service Analysis direct connection) with a table showing number of surgeries by room, and slicer for RoomFilter. table example: SurgeryRoom NumOfSurgeries ...
themistoklis
7 years agoCommunity Champion
Anonymous
Try this formula:
Measure = SUMX (
VALUES ( Table[SurgeryRoom] );
CALCULATE ( SUM ( Table[NumofSurgeries] ) )
)Anonymous
7 years agoNot applicable
thank you for you answer :)
where?
the total is automatic with the table..
where?
the total is automatic with the table..
- themistoklis7 years agoCommunity Champion
Anonymous
Createa new Measure and add the formula.
Right click on the table on the left hadn side --> New Measure
- Anonymous7 years agoNot applicableIt doesnt exists in analysis connection ..
- v-yuta-msft7 years agoCommunity Support
Anonymous,
It doesnt exists in analysis connection ..So you are using power bi live connection mode to connect to SSAS, right? If you are, you can create measure using SUM in SSAS side.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.