Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Experts,
Below is the DAX for Calculated Column, I would like to convert the same as DAX Measure. Can anyone Help me Please!!!
Thank you
Solved! Go to Solution.
I'd probably rewrite it something like this:
AUMBAND =
VAR CurrentPortfolio =
VALUES ( 'Financial Overview'[Portfolio] )
VAR CurrentFinPort =
FILTER (
'Financial Overview',
'Financial Overview'[Portfolio] IN CurrentPortfolio
)
RETURN
IF (
SELECTEDVALUE ( 'Financial Overview'[FinOverFinLevel1] ) = "Assets Under Management",
SUMX ( CurrentFinPort, 'Financial Overview'[Balance] )
)
@Anonymous If you post it as text, sure.
Hi Greg,
AUMBAND =
VAR CurrentPortfolio = 'Financial Overview'[Portfolio]
VAR CurrentFinPort =
FILTER('Financial Overview','Financial Overview'[Portfolio] = CurrentPortfolio)
Return
IF('Financial Overview'[FinOverFinLevel1] = "Assets Under Management",
SUMX(CurrentFinPort,'Financial Overview'[Balance]))
I'd probably rewrite it something like this:
AUMBAND =
VAR CurrentPortfolio =
VALUES ( 'Financial Overview'[Portfolio] )
VAR CurrentFinPort =
FILTER (
'Financial Overview',
'Financial Overview'[Portfolio] IN CurrentPortfolio
)
RETURN
IF (
SELECTEDVALUE ( 'Financial Overview'[FinOverFinLevel1] ) = "Assets Under Management",
SUMX ( CurrentFinPort, 'Financial Overview'[Balance] )
)
@Anonymous Wrap your column references in an aggregation like MAX or SUM, etc.
Hi Greg,
Thank you for your quick reply. Could I trouble to convert it as a measure, Please!!
User | Count |
---|---|
84 | |
80 | |
70 | |
47 | |
43 |
User | Count |
---|---|
108 | |
54 | |
50 | |
40 | |
40 |