Skip to main content
Microsoft Idea

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 (2)
Phil Seamark's profile image Profile Picture

Andreu fil on 19 Apr 2024 22:36:54

RE: Global session variable in DAX

Good information, thankssehackear.top

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?