We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
Hello everyone.
So I have the following DAX expression for a measure:
Solved! Go to Solution.
Please have a look at the documentation first.
There are also examples of how to use this function -> LASTNONBLANK – DAX Guide
Assuming that certain conditions are met by your design, this might do the job:
[Measure] =
LASTNONBLANK(
FACTCooperativa[Year],
// You need a context transition here.
CALCULATE(
SELECTEDVALUE( FACTCooperativa[Ratio9PACA] )
)
)
Please have a look at the documentation first.
There are also examples of how to use this function -> LASTNONBLANK – DAX Guide
Assuming that certain conditions are met by your design, this might do the job:
[Measure] =
LASTNONBLANK(
FACTCooperativa[Year],
// You need a context transition here.
CALCULATE(
SELECTEDVALUE( FACTCooperativa[Ratio9PACA] )
)
)
Thank you very much that worked perfectly. I dont really understand why with CALCULATE does work but it does.
Please learn about context transition. Then you'll understand. Start here: Understanding context transition in DAX - SQLBI
User | Count |
---|---|
13 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
28 | |
19 | |
13 | |
11 | |
7 |