Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

ConcatenteX Formula Error

Hi Experts

 

i am trying to get the following result as shown in the table below but can figure out how to use the max value with the concatenateX function..

 

Here is the previous question - which might help Solved: Re: ConcenateX new measure - cannot get the date t... - Microsoft Power BI Community

 

PeriodHitResult
Q111
Q2001
Q30001
Q400001

 

Sample Date

PeriodHitLast char of PeriodIndex
Q1011
Q1012
Q1013
Q1114
Q2025
Q2026
Q2027
Q2028
Q3039
Q30310
Q30311
Q30312
Q40413
Q40414
Q40415
Q40416

 

Measure

M =
LEFT(CONCATENATEX ( ALL ( '12 | Targets Table (2)' ), MAX('12 | Targets Table (2)'[Hit]),"") ,
SELECTEDVALUE ('12 | Targets Table (2)'[Last Characters])
)
  • Anonymous's avatar
    Anonymous
    4 years ago

    Well, Here your Answer

    rank =
    LEFT (
    CONCATENATEX(ALL('Table (9)'),'Table (9)'[Hit]," ",'Table (9)'[Index]),
    SELECTEDVALUE ( 'Table (9)'[Index] ) * 2
    )



    If You got Answer Mark it as Solution and give Kudos.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Well, Here your Answer

    rank =
    LEFT (
    CONCATENATEX(ALL('Table (9)'),'Table (9)'[Hit]," ",'Table (9)'[Index]),
    SELECTEDVALUE ( 'Table (9)'[Index] ) * 2
    )



    If You got Answer Mark it as Solution and give Kudos.