Forum Discussion
irenelitw629
4 years agoHelper II
DAX - VAR Measure help
Hi all, I want to create a calculate measurement with VAR. Whenever account and BU workflow filters are selected, the measure will display corresponding closed amount. Issue: when BU workflow...
- 4 years ago
Hi,
Please check the attached file.
If no-select, then it is blank.
Jihwan_Kim
4 years agoSuper User
Hi,
I am not sure if I understood your question correctly, but please try the below measure.
Measure: =
VAR _acct =
MAXX ( Sheet1, Sheet1[Account Name] & 'Sheet1'[BU Workflow FY22] )
RETURN
IF (
ISFILTERED ( Sheet1[BU Workflow FY22] ),
CALCULATE (
SUM ( Sheet1[USD Closed] ),
FILTER (
ALL ( Sheet1 ),
Sheet1[Account Name] & 'Sheet1'[BU Workflow FY22] = _acct
)
)
)
- irenelitw6294 years agoHelper II
Hi Kim,
Thanks! but it seems not working
Can you check the file? maybe it will help you to understnad the issue. https://drive.google.com/file/d/1HEpm7gaq7O4t_4bBNPE5yYFRXIo-T_jh/view?usp=sharing
Thanks!
- Jihwan_Kim4 years agoSuper User
Hi,
Please check the attached file.
If no-select, then it is blank.
- irenelitw6294 years agoHelper II
Amazing. It works!! Thank you so much Kim!!