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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Currency Format

Hi everyone, I wrote this code as a measure:

Moneda Seleccionada =
VAR CAMBIO = SELECTEDVALUE(Hoja4[SIGLAS])
RETURN
IF(CAMBIO="USD",
FORMAT([TOTAL USD],"$ #.##"),
IF(CAMBIO="PE",
"S/" & " " & FORMAT ( [TOTAL SOLES], "#.##" ),
FORMAT([TOTAL REALES],"R$ #,##")))
 
 

And I am trying yo see this information in a matrix but I cant get them line up to the right. As it is shown the total is on the left.
community 2.PNG

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@AlekseiNexa,set the array formatting options as shown below:

DataInsights_1-1598396958393.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
DataInsights
Super User
Super User

@AlekseiNexa,set the array formatting options as shown below:

DataInsights_1-1598396958393.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
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.