Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
In PowerBI, I was able to just create the Loss Ratio measure for my matrix visual as it was just doing division of Ult Loss/Ult Premium with the simple quick measure function:
However, when calculating a relativity, which in this case is dividing a loss ratio for a specific year by the overall loss ratio. I wasn't sure how to do this in PowerBI:
In Excel you kinda have to brute force it with the cell locking and stuff. In PowerBI I wasn't sure how to go about it. 'Year' is not the only variable I'm slicing my data by (and creating matrix visuals for) so the measure would have to be flexible where you can just drag and drop regardless.
Can anyone help me out here? Thanks!
Solved! Go to Solution.
@Anonymous
Give this measure a try, see if it give you what you are lookin for.
Reltativity =
VAR _Overall = CALCULATE ( [Ult Loss Ratio], ALL ( 'Version4' ) )
RETURN
DIVIDE ( [Ult Loss Ratio], _Overall )
@Anonymous
Give this measure a try, see if it give you what you are lookin for.
Reltativity =
VAR _Overall = CALCULATE ( [Ult Loss Ratio], ALL ( 'Version4' ) )
RETURN
DIVIDE ( [Ult Loss Ratio], _Overall )
User | Count |
---|---|
93 | |
85 | |
76 | |
66 | |
62 |
User | Count |
---|---|
110 | |
96 | |
95 | |
64 | |
57 |