Skip to main content

Power BI

Needs Votes

Global session variable in DAX

Vote (18) Share
Phil Seamark's profile image

Phil Seamark on 19 May 2018 06:31:39

Create a DAX variable that only exists for the user session that can be updated though actions such as clicking buttons. These variables would only be in scope for the current user and would differ from a calculated measure in that they could increment (or decrement) based on a action. These global variables could then be used in other calculations (similar to What If) but not the same.

Comments (1)
Phil Seamark's profile image Profile Picture

Power BI User on 05 Jul 2020 23:29:35

RE: Global session variable in DAX

Is that option existing today? If yes can you please show me how to use it?