Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi !
I'm creating a calculated column. For each calculated row of the column, I need the value of another column of the table, on the same row.
I called this value _weight and I calculated like this :
Solved! Go to Solution.
Hi @Anonymous ,
You can just use
var _weight = ShipDetails[NET_WEIGHT_LBS]
You can have a look at this video to understand more on Context Transition.
https://www.youtube.com/watch?v=03E0f-RyRn4
Regards,
Harsh Nathani
Hi @Anonymous ,
You have to use an aggregation function in your DAX like SUM, AVERAGE, etc.
Something like this:
VAR _weight = CALCULATE(SUM(ShipDetails[NET_WEIGHT_LBS]))
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
Hi @Anonymous ,
You can just use
var _weight = ShipDetails[NET_WEIGHT_LBS]
You can have a look at this video to understand more on Context Transition.
https://www.youtube.com/watch?v=03E0f-RyRn4
Regards,
Harsh Nathani
User | Count |
---|---|
93 | |
85 | |
78 | |
67 | |
63 |
User | Count |
---|---|
113 | |
99 | |
97 | |
64 | |
59 |