Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

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])
)
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Well, Here your Answer

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



vairag99_0-1645160277447.png

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Well, Here your Answer

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



vairag99_0-1645160277447.png

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.