Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I was trying to convert this dax column in to measure which I'm failing, Can anyone of you help me on this?
Customer Adjusted = IF ( OR ( 'Table A'[Creation Date] = BLANK (), 'Table A'[Customer] = BLANK () ), BLANK (), 'Table A'[Customer] & " - " & MONTH ( 'Table A'[Creation Date] ) & " - " & YEAR ( 'Table A'[Creation Date] ) ).
TIA
Solved! Go to Solution.
hi, @vally57
you need to wrap your column refrence in min(),max() or sum() as you need
like below
Customer Adjusted =
IF (
OR ( min('Table A'[Creation Date]) = BLANK (), min('Table A'[Customer]) = BLANK () ),
BLANK (),
min('Table A'[Customer]) & " - " & MONTH ( min('Table A'[Creation Date]) ) & " - " & YEAR (
min('Table A'[Creation Date]) )
)
hi, @vally57
you need to wrap your column refrence in min(),max() or sum() as you need
like below
Customer Adjusted =
IF (
OR ( min('Table A'[Creation Date]) = BLANK (), min('Table A'[Customer]) = BLANK () ),
BLANK (),
min('Table A'[Customer]) & " - " & MONTH ( min('Table A'[Creation Date]) ) & " - " & YEAR (
min('Table A'[Creation Date]) )
)
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
6 |