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
I have a inconvenent to obtein one calculated column doing two operations, one of sum and other of division as I show in this image:
Resulted must be agregated to one table of visualization type matriz.
In the before picture the operation is for each row:
Row 1) 41 * 18 / 253 = 3 (value is round)
Row 2) 100 * 18 / 253 = 7
Row 3) 103 * 18 / 253 = 7
Row 4) 9 * 18 / 253 = 1
Note: Column CxIndex and #Pac Fallecidos are obteined with a messure for each one.
Solved! Go to Solution.
Place this measure in the table visual you show above
Measure =
VAR aux1_ = CALCULATE ( [CxIndex], ALL ( Table1[Grupo_Etario] ) )
VAR aux2_ = CALCULATE ( [Pac Fallecidos], ALL ( Table1[Grupo_Etario] ) )
RETURN
SUMX (
DISTINCT ( Table1[Grupo_Etario] ),
ROUND ( DIVIDE ( [CxIndex] * aux2_, aux1_ ), 0 )
)
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Place this measure in the table visual you show above
Measure =
VAR aux1_ = CALCULATE ( [CxIndex], ALL ( Table1[Grupo_Etario] ) )
VAR aux2_ = CALCULATE ( [Pac Fallecidos], ALL ( Table1[Grupo_Etario] ) )
RETURN
SUMX (
DISTINCT ( Table1[Grupo_Etario] ),
ROUND ( DIVIDE ( [CxIndex] * aux2_, aux1_ ), 0 )
)
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
127 | |
85 | |
69 | |
53 | |
44 |
User | Count |
---|---|
202 | |
106 | |
100 | |
64 | |
56 |