The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
82 | |
82 | |
37 | |
34 | |
32 |
User | Count |
---|---|
92 | |
79 | |
61 | |
51 | |
51 |